Cloudify CLI Commands
Server Maintenance Commands
Cloudify CLI Commands for Server Maintenance
Orchestration Commands
Cloudify CLI Commands for Orchestration
Prerequisites
The simplest way to get the Cloudify command line utility is through the Cloudify docker image. See this guide to learn more on this option.
To install the cloudify command line utility directly on your Linux, Windows or Mac environment refer to the CLI installation guide.
Common options
These options are supported by all Cloudify CLI Commands. They can be passed as
either an argument to the command itself, eg. cfy blueprints list -v
, or as
an argument to cfy
itself, eg. cfy -v blueprints list
, which has the same
effect as the previous call.
-q, --quiet
- Show only critical logs--format [plain|json]
- Choose the output format-v, --verbose
- Show verbose output. You can supply this up to three times (i.e. -vvv)--json
- Force JSON output
Verbose Output
The -v/--verbose
flag is available for all commands. It sets the command verbosity level. There are five verbosity levels:
- Running a command with the
--quiet
flag limits the log output to critical logs only. - Running a command without the verbose flag. (The default).
- Running a command with
-v
prints tracebacks where relevant, in addition to the normal output. - Running a command with
-vv
in addition to the tracebacks, displays theDEBUG
log statements of local/remote execution events. - Running a command with
-vvv
in addition to the tracebacks and debug log statements, sets all loggers declared in theconfig <https://github.com/cloudify-cosmo/cloudify-cli/blob/3.4/cloudify_cli/resources/config.yaml>
_ file to debug mode.
--debug
is equivalent to -vvv