Configuration
The config command manages persistent enumctl settings stored locally on your machine.
Default organization
Section titled “Default organization”Get the default organization
Section titled “Get the default organization”enumctl config get organizationPrints the currently configured default organization ID. Project list and select use this as the default --org-id filter when you do not pass one.
Set the default organization
Section titled “Set the default organization”enumctl config set organization <org-id>Sets the default organization. You can also pick one interactively:
enumctl organizations selectenumctl init saves the organization you choose during setup.
Unset the default organization
Section titled “Unset the default organization”enumctl config unset organizationDefault project
Section titled “Default project”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 defaults
Section titled “Overriding defaults”You can override the configured defaults on any command:
enumctl kubernetes list --project-id <other-project-id>enumctl projects list --org-id <other-org-id>organization also accepts the alias org:
enumctl config set org <org-id>enumctl config get org