Azion CLI global options
Azion CLI commands that can be run anywhere in the process.
version
azion --version
The -v
or --version
option informs which Azion version you’ve currently installed.
debug
azion --debug
The -d
or --debug
option displays logs at a debug level.
config
The -c
or --config
option sets the Azion configuration folder for the current command only, without changing persistent settings.
Standard config file, created by Azion:
Token = 'token'UUID = ''LastCheck = 2024-02-23T11:44:14-03:00LastVulcanVersion = "x.y.z\n"AuthorizeMetricsCollection = 1 // 0 - not answered, 1 - Yes, 2 - NoClientId = 'xxx'Email = 'xxxxx@gmail.com'
New config file created by the user:
Token = 'token'UUID = '' //uuid of the tokenLastCheck = 2024-02-23T11:44:14-03:00LastVulcanVersion = "x.y.z\n"AuthorizeMetricsCollection = 1 // 0 - not answered, 1 - Yes, 2 - NoClientId = 'xxx'Email = 'xxxx@gmail.com'
Usage:
azion --config ./new-config-file.toml
log-level
azion --log-level info
The -l
or --log-level
option informs the level of log to be output. The options are:
info
(default)error
debug
silent
azion --silent
The -s
or --silent
option silences logs completely. Usually, it’s used for automation purposes.
timeout
azion --timeout
The --timeout
option defines the timeout for CLI requests in seconds. The default value is 30
.
token
azion --token your-personal-token
The -t
or --token
option saves a given personal token locally to authorize CLI commands.
yes
azion --yes
The -y
or --yes
option answers all yes/no interactions automatically with yes.
help
The h
or --help
option displays more information about the azion
command.
no-color
The --no-color
option indicates the output to not use colors.
Contributors