Skip to main content

diagrid org use

Set the default organization

Description​

Set the default organization for subsequent commands.

diagrid org use <org-name|org-id> [flags]

Examples​


# Set default organization for use
diagrid orgs use <org-name|org-id>

# Set default organization for use by using an Interactive Prompt
diagrid orgs use [--interactive]

Options​

--api-key string Diagrid Cloud API key
-h, --help help for use
--interactive Select organization using an interactive prompt
-o, --output string Output format, supported [table, yaml, json] (default "table")

SEE ALSO​