From 5365b881343219f399eb0e2d07213745b6cc10b7 Mon Sep 17 00:00:00 2001 From: David GUENAULT Date: Sat, 7 Oct 2023 06:07:24 +0200 Subject: [PATCH] Add exclude tags option to inventory commands --- proxcli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxcli.py b/proxcli.py index c10743c..3314e45 100755 --- a/proxcli.py +++ b/proxcli.py @@ -487,6 +487,7 @@ def tasks_list( @inventory.command("save") def inventory_save( path: Annotated[str, typer.Option()] = "", + exclude_tag: Annotated[str, typer.Option()] = "", filter_name: Annotated[str, typer.Option()] = "", output_format: Annotated[str, typer.Option()] = "yaml" ): @@ -496,6 +497,7 @@ def inventory_save( sys.exit(2) p.inventory( save=path, + exclude_tag=exclude_tag, output_format=output_format, filter_name=filter_name )