diff --git a/main.py b/main.py index 3dc4229..5730ca8 100644 --- a/main.py +++ b/main.py @@ -103,7 +103,7 @@ def mod_vps(ctx, entity: str, password: str | None = None, api: str | None = Non @cli.option("-g", "--group", type=str, default="ungrouped", help="Provide group name given host(s) fall under") @cli.pass_context # @TODO rewrite below command function, using 'ctx' parameter for values shared with sibling commands -def mod_host(group, hostname): +def mod_host(ctx, group, hostname): with Config(entity, AnsibleScope.INVENTORY.name) as config: raise NotImplementedError