Azion CLI reset
Azion CLI command that returns the stored CLI settings to their defaults and deletes your personal token when it can.
The Azion CLI reset command returns the settings the CLI stores to their defaults and deletes your personal token when it can. Use it when the local configuration is inconsistent, or to start again from a clean configuration. The command affects only the CLI and does not change your projects. The options every command accepts, such as --config and -y, are on Global options.
Usage
azion reset empties the stored settings of the CLI configuration:
The command takes no flags of its own. With the global -c option, it resets the configuration in the folder that holds the .toml path you pass.
Examples
Each example shows the command and the output it prints.
Reset the CLI settings
This command returns the CLI settings to their defaults:
The command prints one line when the reset ends:
After the reset, every value in the CLI’s settings.toml file is empty or zero:
Check the configuration after a reset
This command shows which account the CLI uses:
After a reset, the CLI asks you to authorize anonymous metrics collection again. The command then fails, because no account is stored: