Skip to content

Commit

Permalink
Merge pull request #35 from david-guenault/feature/add_exclude_tags_t…
Browse files Browse the repository at this point in the history
…o_inventory_command

Add exclude tags option to inventory commands
  • Loading branch information
david-guenault authored Oct 7, 2023
2 parents b3d7d02 + 5365b88 commit 4369aff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions proxcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
):
Expand All @@ -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
)
Expand Down

0 comments on commit 4369aff

Please sign in to comment.