feat: add presets
This commit is contained in:
@@ -2,7 +2,6 @@ import logging
|
||||
import os
|
||||
import sys
|
||||
from argparse import ArgumentParser
|
||||
from ast import arg
|
||||
from pathlib import Path
|
||||
|
||||
from project_manager.logging import CustomFormatter
|
||||
@@ -43,7 +42,7 @@ def run():
|
||||
|
||||
basepath = Path(args.path)
|
||||
manager = ProjectManager(basepath)
|
||||
result = manager.run_command(args.task)
|
||||
result = manager.run_task(args.task)
|
||||
if result["failed"] > 0:
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user