Skip to content

Commit

Permalink
✨Added command line arguments for icon-map settings
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterdebruijn committed Feb 12, 2025
1 parent 2895c5b commit 0ae3f1f
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions zabbixci/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,22 @@ def read_args():
"--template-blacklist",
help="Comma separated list of templates to exclude",
)
zabbixci_group.add_argument(
"--image-whitelist",
help="Comma separated list of images to include",
)
zabbixci_group.add_argument(
"--image-blacklist",
help="Comma separated list of images to exclude",
)
zabbixci_group.add_argument(
"--icon-map-whitelist",
help="Comma separated list of icon maps to include",
)
zabbixci_group.add_argument(
"--icon-map-blacklist",
help="Comma separated list of icon maps to exclude",
)
zabbixci_group.add_argument(
"--cache-path",
help="Cache path for git repository, defaults to ./cache",
Expand Down Expand Up @@ -194,12 +210,13 @@ def read_args():
explicit=True,
)
zabbixci_group.add_argument(
"--image-whitelist",
help="Comma separated list of images to include",
)
zabbixci_group.add_argument(
"--image-blacklist",
help="Comma separated list of images to exclude",
"--sync-icon-maps",
help="Synchronize icon maps between Zabbix and git",
const=True,
default=None,
type=str2bool,
nargs="?",
explicit=True,
)
zabbixci_group.add_argument(
"--icon-sizes",
Expand Down

0 comments on commit 0ae3f1f

Please sign in to comment.