From 0c24ead1cb0126a1847c2ed971649e9ee25e920e Mon Sep 17 00:00:00 2001 From: Julian T Date: Sat, 24 Apr 2021 20:28:44 +0200 Subject: Add status subcommand --- apply/__main__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apply/__main__.py') 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, -- cgit v1.2.3