CLI reference
Every command and flag of the lumen command line.
lumen talks to a Lumen API. Its resource commands are discovered from the server at runtime, so new kinds and fields appear without a CLI release.
Resource commands are unavailable: discovery: Get "http://127.0.0.1:9/api?timeout=32s": dial tcp 127.0.0.1:9: connect: connection refused
- lumen connect
Add a connection (a Connector) to the workspace.
- lumen license
Show the license of this Lumen installation
- lumen license show
Show the license this installation runs under: whether it is valid, in its grace period or expired, how many seats it allows and how many are used.
- lumen context
List, switch and edit contexts (server, workspace and who is signed in)
- lumen context current
Print the current context
- lumen context delete
Delete a context and its token
- lumen context list
List contexts
- lumen context set
Create or change a context (--server, --workspace, OIDC settings)
- lumen context use
Make a context current
- lumen login
Sign in through your browser, store the token, and make the context (server and workspace) current.
- lumen logout
Forget the current context's token
- lumen version
Print the CLI version
Global flags
Every command takes these.
| Flag | Short | Value | Description |
|---|---|---|---|
--config | - | string | path to the lumen contexts file (default "~/.config/lumen/config.yaml") |
--context | - | string | context to use instead of the current one |
--org | - | string | organization to sign in to, when you belong to several (default: asked) |
--refresh | - | - | re-read discovery and schemas from the server instead of the cache |
--server | - | string | Lumen URL, overriding the context's (or set LUMEN_SERVER) |
--token | - | string | bearer token, overriding the stored one (or set LUMEN_TOKEN) |
--verbose | - | - | show the server's own error text under a plain-language one |
--version | -v | - | version for lumen |
--workspace | -w | string | workspace (your tenant's name), overriding the context's |