Skip to main content

diagrid org use

Configure default organization

Description

Configure the default organization for subsequent subcommands in the CLI

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 [--prompt]

Options

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

SEE ALSO