CLICommand referencecontext

context

Commands, arguments, and options for openship context.

See the workflow guide for examples. Global flags such as --json go before the command; see global options.

openship context

Manage connection contexts (list/use/add/rm)

openship context|ctx [options] [command]
SubcommandPurpose
list|lsList configured contexts
use <name>Switch the active context
add [options] <name>Create or update a context's endpoints/token
rm|remove <name>Remove a context (cannot remove the active one)

openship context add

Create or update a context's endpoints/token

openship context add [options] <name>
ArgumentMeaning
nameContext name
OptionMeaning
--api-url <url>API base URL
--dashboard-url <url>Dashboard base URL
--token <token>Personal Access Token to store
--useSwitch to this context after adding

openship context list

List configured contexts

openship context list|ls [options]

openship context rm

Remove a context (cannot remove the active one)

openship context rm|remove [options] <name>
ArgumentMeaning
nameContext name

openship context use

Switch the active context

openship context use [options] <name>
ArgumentMeaning
nameContext name

On this page