summaryrefslogtreecommitdiff
path: root/apply/__main__.py
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2021-04-24 20:28:44 +0200
committerJulian T <julian@jtle.dk>2021-04-24 20:32:37 +0200
commit0c24ead1cb0126a1847c2ed971649e9ee25e920e (patch)
tree20a9e5e791b72696f3784fa4580530a5f3d16810 /apply/__main__.py
parent62d63afb0783b42f9f6bdbecc81b701b9d629093 (diff)
Add status subcommand
Diffstat (limited to 'apply/__main__.py')
-rw-r--r--apply/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/apply/__main__.py b/apply/__main__.py
index 0612cdf..4f7f6a4 100644
--- a/apply/__main__.py
+++ b/apply/__main__.py
@@ -2,6 +2,7 @@ import argparse
import yaml
from . import apply as apply_cmd
+from . import status
def parse_config(path):
@@ -12,7 +13,7 @@ def parse_config(path):
return config
-sub_cmds = {"apply": apply_cmd}
+sub_cmds = {"apply": apply_cmd, "status": status}
parser = argparse.ArgumentParser()
parser.add_argument("--apply-dir", "-a", default=None,