snapdir defaults

Print default settings and arguments.

defaults prints the effective configuration: the resolved default settings plus every SNAPDIR_* environment variable currently in your environment. It is the quickest way to see what values the CLI will use before running a command.

Usage

snapdir defaults [OPTIONS]

Options

defaults takes no positional arguments. It accepts the global options, so you can preview how a particular flag or environment variable resolves.

Examples

Print the effective defaults:

snapdir defaults

See how an environment override resolves:

SNAPDIR_CACHE_DIR=/var/snapdir/cache snapdir defaults

See also