-
Notifications
You must be signed in to change notification settings - Fork 3
Usage
Jordan Moore edited this page Aug 14, 2024
·
1 revision
usage: git2kandji [-h] [--script-dir SCRIPT_DIR] [--script-ext SCRIPT_EXT]
[--profile-dir PROFILE_DIR] [--subdomain SUBDOMAIN]
[--region {us,eu}] [--token TOKEN] [--delete]
[--only-scripts] [--only-profiles] [--dryrun]
[--log-level {DEBUG,INFO,WARNING,ERROR}] [--version]
Git2Kandji - Sync Git Repo with Kandji.
options:
-h, --help show this help message and exit
--script-dir SCRIPT_DIR
directory containing script files (e.g. custom-
scripts)
--script-ext SCRIPT_EXT
space-separated list of file extensions to process
(e.g., .sh .py .zsh)
--profile-dir PROFILE_DIR
directory containing profile files (e.g. custom-
profiles)
--subdomain SUBDOMAIN
Kandji subdomain (overrides global environment
variable)
--region {us,eu} Kandji region (overrides global environment variable)
--token TOKEN Kandji API token (overrides global environment
variable)
--delete Delete Kandji library items not present in local
repository
--only-scripts Only run the Kandji script portion
--only-profiles Only run the Kandji profile portion
--dryrun Compares Kandji to local repository and outputs any
changes to be made
--log-level {DEBUG,INFO,WARNING,ERROR}
Set the logging level
--version show this script's version