CLI · CommandsAuthentication & context

Authentication & context

login, logout, whoami, ctx.

eqs login

Authenticates via device flow. Use --api <url> for on-premise.

--api <url>API endpoint (default: SaaS)
shell
eqs login --api https://api.suaempresa.com
eqs logout

Ends the session and revokes the current context's token.

shell
eqs logout
eqs whoami

Shows the active user, workspace and space.

shell
eqs whoami
eqs ctx list

Lists the configured contexts.

shell
eqs ctx list
eqs ctx use <nome>

Sets the active context.

shell
eqs ctx use producao
eqs ctx add <nome>

Adds a context (apiUrl, token, workspace, space).

shell
eqs ctx add staging --api https://api.staging.acme.com
eqs status

Shows the health of the current context's platform.

shell
eqs status
eqs version

Prints the CLI version.

shell
eqs version