Skip to main content
Context sets the configuration for your CLI session. It allows you to manage your authentication tokens and organisations.

Subcommands

SubcommandDescription
addAdd a new context to your config and selects it as the default. It requires you generate a JWT token from the Versori console. You can generate the JWT here https://ai.versori.com/account?content=keys
listList currently configured contexts. * denotes the active context.
rmRemove a configured context.
selectChanges the active context.

versori context add

versori context add --name <name> --organisation <organisation-id> --jwt <jwt> [flags]
Flags:
  • -h, --help: help for add
  • --jwt: JWT token to use with the context. If the value is -, it will be read from stdin.
  • --name: Name of the context
  • --organisation: Organisation ID to use with the context

versori context list

versori context list [flags]
Flags:
  • -h, --help: help for list

versori context rm

versori context rm [flags]
Flags:
  • -h, --help: help for rm

versori context select

versori context select <context-name> [flags]
Flags:
  • -h, --help: help for select