Py
% clamity py help
USAGE
clamity py { activate }
clamity py <python-command> <args>
ABSTRACT
Work with the clamity python virtual environment & run python scripts.
PY COMMANDS
activate - activate clamity's python virtual environment
DESCRIPTIONS
activate
Activates a session with the clamity python virtual environment. To
exit the session, type 'deactivate'.
COMMON OPTIONS
-d, --debug
Debug mode provides additional, lower-level output (CLAMITY_debug=1). Debug
messages are sent to stderr.
-n, --dryrun
Allows for execution of a script withot causing an underlying change to whatever
data the script affects. It is up to each script to determine what that means.
Some scripts do not support dryrun and will terminate immediately if it's enabled
(CLAMITY_dryrun=1).
-of, --output-format { json | text | csv }
Specifies format of output where applicable (CLAMITY_output_format). Defaults
to json.
-or, --output-redirection { none | log }
Sets up output redirection. 'none' leaves stdout and stderr untouched (this is
the default setting). 'log' captures both stdout and stderr to one log file and
sets CLAMITY_logfile to the full path and name of the logfile, using that value
if already set (CLAMITY_output_redirection="{none | log}").
-q, --quiet
Suppress (or minimize) all reporting except warnings and errors (CLAMITY_quiet=1).
-v, --verbose
Enable extra reporting (CLAMITY_verbose=1). Includes printing the commands being
run under the hood to stdout.
-y, --yes
Disables interactive mode in which commands that prompt for confirmation before
doing things will automatically get answered with 'yes' (CLAMITY_yes=1).