From 7e93444f28a6790ab66fbdd8cc7eed9ca8970d48 Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 25 Apr 2021 20:12:25 +0200 Subject: Add kind of working delete command --- apply/__main__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'apply/__main__.py') diff --git a/apply/__main__.py b/apply/__main__.py index 4f7f6a4..c725fb5 100644 --- a/apply/__main__.py +++ b/apply/__main__.py @@ -1,8 +1,9 @@ import argparse import yaml -from . import apply as apply_cmd -from . import status +from . import apply_cmd +from . import status_cmd +from . import remove_cmd def parse_config(path): @@ -13,7 +14,7 @@ def parse_config(path): return config -sub_cmds = {"apply": apply_cmd, "status": status} +sub_cmds = {"apply": apply_cmd, "status": status_cmd, "remove": remove_cmd} parser = argparse.ArgumentParser() parser.add_argument("--apply-dir", "-a", default=None, -- cgit v1.2.3