provozni zaloha
This commit is contained in:
@@ -15,17 +15,13 @@ from tasks_common import (
|
||||
TASKS,
|
||||
build_task_content,
|
||||
build_task_filename,
|
||||
ensure_queue_dirs,
|
||||
load_preset_names,
|
||||
log,
|
||||
resolve_preset,
|
||||
)
|
||||
|
||||
|
||||
def ensure_queue_dirs() -> None:
|
||||
for name in ("new", "inbox", "running", "done", "failed"):
|
||||
(TASKS / name).mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
def main() -> int:
|
||||
parser = argparse.ArgumentParser(description="Create a detach task and drop it in inbox/")
|
||||
parser.add_argument("--goal", required=True, help="Self-contained goal restatement")
|
||||
|
||||
Reference in New Issue
Block a user