config
Client configuration
neuro config [OPTIONS] COMMAND [ARGS]...
Client configuration.
Commands:
Usage | Description |
---|---|
List available command aliases | |
Configure local docker client | |
List available clusters/org pairs | |
Log into Neuro Platform | |
Log into Neuro Platform in non-GUI environ | |
Log into Neuro Platform with token | |
Log out | |
Print current settings | |
Print current authorization token | |
Switch the active cluster | |
Switch the active organization | |
Switch the active project |
List available command aliases
neuro config aliases [OPTIONS]
List available command aliases.
Name | Description |
---|---|
--help | Show this message and exit. |
Configure local docker client
neuro config docker [OPTIONS]
Configure local docker client
This command configures local docker client to use Neuro Platform's docker registry.
Name | Description |
---|---|
--help | Show this message and exit. |
--docker-config PATH | Specifies the location of the Docker client configuration files |
List available clusters/org pairs
neuro config get-clusters [OPTIONS]
List available clusters/org pairs.
This command re-fetches cluster list and then displays each cluster with available orgs.
Name | Description |
---|---|
--help | Show this message and exit. |
Log into Neuro Platform
neuro config login [OPTIONS] [URL]
Log into Neuro Platform.
URL
is a platform entrypoint URL
.Name | Description |
---|---|
--help | Show this message and exit. |
Log into Neuro Platform in non-GUI environ
neuro config login-headless [OPTIONS] [URL]
Log into Neuro Platform in non
-GUI
environURL
is a platform entrypoint URL
.The command works similar to "neuro login" but instead of opening a browser for performing OAuth registration prints an
URL
that should be open on guest host.Then user inputs a code displayed in a browser after successful login back in neuro command to finish the login process.
Name | Description |
---|---|
--help | Show this message and exit. |
Log into Neuro Platform with token
neuro config login-with-token [OPTIONS] TOKEN [URL]
Log into Neuro Platform with token.
TOKEN
is authentication token provided by administration team. URL
is a platform entrypoint URL
.Name | Description |
---|---|
--help | Show this message and exit. |
Log out
neuro config logout [OPTIONS]
Log out.
Name | Description |
---|---|
--help | Show this message and exit. |
Print current settings
neuro config show [OPTIONS]
Print current settings.
Name | Description |
---|---|
--help | Show this message and exit. |
--energy | Including cluster energy consumption and CO2 emissions information |
Print current authorization token
neuro config show-token [OPTIONS]
Print current authorization token.
Name | Description |
---|---|
--help | Show this message and exit. |
Switch the active cluster
neuro config switch-cluster [OPTIONS] [CLUSTER_NAME]
Switch the active cluster.
CLUSTER
_NAME
is the cluster name to select. The interactive prompt is used if the name is omitted (default).Name | Description |
---|---|
--help | Show this message and exit. |
Switch the active organization
neuro config switch-org [OPTIONS] ORG_NAME
Switch the active organization.
ORG
NAME
is the organization name to select. Use literal "NOORG
" to switch to using current cluster directly instead of on behalf of some org.Name | Description |
---|---|
--help | Show this message and exit. |
Switch the active project
neuro config switch-project [OPTIONS] [PROJECT_NAME]
Switch the active project.
PROJECT
_NAME
is the project name to select. The interactive prompt is used if the name is omitted (default).Name | Description |
---|---|
--help | Show this message and exit. |
Last modified 7mo ago