Skip to main content

set

set tokens

🔑 Set the API token for the current user.

Usage​

csph auth token set [flags]

Options​

Inherited​

--config <string>
config file (default is $HOME/.config/computesphere/configuration.yaml)
--debug
enable debug logging

-h, --help

show this help message

-i, --interactive

run interactively (prompts, pickers, table browser)
--log-level <string>
log level: [trace|debug|info|warn|error|fatal|panic|disabled||api]
--no-color
disable color output
--no-input
disable interactive mode

Examples​

# set the API token for the current user
> csph auth token set <token>

# start an interactive prompt to set the API token for the current user
> csph auth token set

See also​