Path
dflow context:use
Select a saved login, the default server for the next login, or org, project, and environment locally.
dflow context:use NAME
dflow context:use --api URL
dflow context:use --workspace ORG --project PROJECT --environment ENVIRONMENTFlags
--api sets the server used by dflow login and dflow auth:register when --api is omitted. --workspace, --project, --environment. A name, --api, or one scope flag is required. Globals.
What you see
The terminal prints a name or --api prints context, api, and default_api. Scope flags print org, project, and environment. An empty value prints -. Each provided value matches the name pattern. This command does not call the API and does not check that the names exist.
When it fails
Exit 1 when no selector is passed or a name is illegal. Exit 1 on a symlink config path.
How is this guide?
Last updated on