CLI reference
norcube configure
Create or change a profile
Not verified yet
Without a subcommand, asks for the selected profile's organization and where to keep its session (creating the profile if needed). Profiles use Norcube production; select one with --profile. Most people only ever use the default profile; extra profiles keep several accounts or organizations side by side.
configure set|get|unset <key> change single settings. Profile keys
apply to the selected profile:
environment production (default) | custom (self-hosted or proxied endpoints)
organization slug or id of the organization commands target
credential_store keyring | file | env (env reads NORCUBE_TOKEN)
output table | json | yaml | text
endpoints.<service> URL override; services: auth, web_app, snapdb, langsync, domainradar, billing, prompthubGlobal keys:
default_profile profile used when --profile and NORCUBE_PROFILE are unset
defaults.output table | json | yaml | text
defaults.pager true | false
defaults.max_attempts attempts per request (1 disables retries)
defaults.read_timeout seconds or a duration such as 90s
defaults.connect_timeout seconds or a duration such as 10sUsage
norcube configure
norcube configure <command> [flags]Examples
norcube configure
norcube configure --profile client-acme
norcube configure set organization acme
norcube configure set default_profile work
norcube configure set endpoints.langsync http://localhost:4600 --profile local
norcube configure get organization
norcube configure unset endpoints.langsync --profile localCommands
| Command | Description |
|---|---|
get | Print one setting as stored in the config file |
set | Set one setting (run norcube configure --help for the keys) |
unset | Remove one setting from the config file |
Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.
See also
norcube: Command-line interface for the Norcube platform