Skip to content

CLI

Auth and Context

Authenticate, inspect org/pod context, and pass environment-specific URLs safely.

Inspect context

lemma auth --help
lemma config --help
lemma ls

Connection options

OptionUse
--base-urlBackend API base URL
--auth-urlAuth frontend URL for browser login
--tokenBearer token, also read from LEMMA_TOKEN or config
--config-fileAlternate config path, default ~/.lemma/config.json
--no-verify-sslLocal/self-signed development only
--output jsonMachine-readable output for scripts and artifacts

Local backend note

If https://api.localhost returns SSL or proxy failures in local backend work, use explicit 127.0.0.1 base URLs before assuming the CLI command is broken.