Skip to content

Configuration

The config command manages persistent enumctl settings stored locally on your machine.

Terminal window
enumctl config get project

Prints the currently configured default project ID. This is the project used by all commands when --project-id is not specified.

Terminal window
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:

Terminal window
enumctl projects list
Terminal window
enumctl config unset project

Removes the default project setting. After this, commands that require a project will need the --project-id flag.

You can override the configured default on any command using the global --project-id flag:

Terminal window
enumctl kubernetes list --project-id <other-project-id>