Skip to main content

Global Flags

Global flags are flags that are available for any of the supported commands.


-h (--help)

Prints helpful infomation about:

  • Root CLI - cipr -h or cipr --help
  • Any supported provider command - cipr aws -h or cipr aws --help

See all supported providers here: Supported Providers

--version

cipr uses Semantic Versioning. cipr --version prints it on the CLI.

-v (--verbose)

Full verbosity mode. Equivalent to --verbose-mode=full.

--verbose-mode

Can be used without -v (--verbose) flag. When used with -v (--verbose) flag, --verbose-mode overrides it.

Default: none.

Options:

  • --verbose-mode none
  • --verbose-mode mini
  • --verbose-mode full

For more info on verbosity levels, check Data Formats.

--source

Sets custom source of IP ranges by temporary overriding default sources. Default sources can be found in the cipr config.

For more info about config, please visit - cipr Config

Supports local or hosted sources.

Hosted sources: value passed to the --source flag must contain https://.

Local source: you can use relative or full system path.

Default: hosted (use the endpoints from the config file).

--no-cache

Bypass the on-disk cache for this run. Skips both reading the cached response and writing a fresh one — the next call without --no-cache will refetch.

Only affects the default --source=hosted path. Custom URLs and local files passed via --source never touch the cache to begin with.

Default: false.

For more info about how caching works and how to tune the per-provider TTL, see cipr Config.