Setting a Project as Default

You can set a project as default using OKS CLI.

Setting a Project as Default Using OKS CLI

The project login command allows you to set a project as default:

Request sample
$ oks-cli project login \
  --project-name NAME_OF_PROJECT

This command contains the following option that you need to specify:

  • project-name: The name of the project you want to set as default.

The project you specified is set as default.

Result sample
Logged into project: NAME_OF_PROJECT

Related Pages