Configuration
The config command manages persistent enumctl settings stored locally on your machine.
Get the default project
Section titled “Get the default project”enumctl config get projectPrints the currently configured default project ID. This is the project used by all commands when --project-id is not specified.
Set the default project
Section titled “Set the default project”enumctl config set project <project-id>Sets the default project. All subsequent commands will use this project unless overridden with --project-id.
To find your project ID:
enumctl projects listUnset the default project
Section titled “Unset the default project”enumctl config unset projectRemoves the default project setting. After this, commands that require a project will need the --project-id flag.
Overriding the default project
Section titled “Overriding the default project”You can override the configured default on any command using the global --project-id flag:
enumctl kubernetes list --project-id <other-project-id>