Skip to content

Grafanactl config use context

grafanactl config use-context🔗

Set the current context

Synopsis🔗

Set the current context and updates the configuration file.

grafanactl config use-context CONTEXT_NAME [flags]

Examples🔗

    grafanactl config use-context dev-instance

Options🔗

  -h, --help   help for use-context

Options inherited from parent commands🔗

      --config string    Path to the configuration file to use
      --context string   Name of the context to use
      --no-color         Disable color output
  -v, --verbose count    Verbose mode. Multiple -v options increase the verbosity (maximum: 3).

SEE ALSO🔗