Saltar al contenido principal

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

Global flags​

Every command takes these.

FlagShortValueDescription
--config-stringpath to the lumen contexts file (default "~/.config/lumen/config.yaml")
--context-stringcontext to use instead of the current one
--org-stringorganization 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-stringLumen URL, overriding the context's (or set LUMEN_SERVER)
--token-stringbearer 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-wstringworkspace (your tenant's name), overriding the context's