diff options
author | Julian T <julian@jtle.dk> | 2021-04-25 20:12:25 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-04-25 20:12:25 +0200 |
commit | 7e93444f28a6790ab66fbdd8cc7eed9ca8970d48 (patch) | |
tree | fec5eb7eb328948d5c30d2e1d56e4c570d5dcc4c /apply/__main__.py | |
parent | 0c24ead1cb0126a1847c2ed971649e9ee25e920e (diff) |
Add kind of working delete command
Diffstat (limited to 'apply/__main__.py')
-rw-r--r-- | apply/__main__.py | 7 |
1 files changed, 4 insertions, 3 deletions
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, |