From 0230cb40748b1ec33d6ee29096f8fc3340e122eb Mon Sep 17 00:00:00 2001 From: Alex Tavarez Date: Sat, 3 Jan 2026 15:58:08 -0500 Subject: [PATCH] fix: added missing command context pass into function --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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