Back to Meshery

mesheryctl-system-context-switch

docs/content/en/reference/references/mesheryctl/system/context/switch.md

1.0.431.3 KB
Original Source

mesheryctl system context switch

switch context

Synopsis

Configure mesheryctl to actively use one one context vs. another context.

<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl system context switch context-name [flags] </div> </pre>

Examples

Switch to context named "sample"

<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl system context switch sample </div> </pre>

Options

<pre class='codeblock-pre'> <div class='codeblock'> -h, --help help for switch </div> </pre>

Options inherited from parent commands

<pre class='codeblock-pre'> <div class='codeblock'> --config string path to config file (default "/home/runner/.meshery/config.yaml") -c, --context string (optional) temporarily change the current context. -v, --verbose verbose output -y, --yes (optional) assume yes for user interactive prompts. </div> </pre>

Screenshots

Usage of mesheryctl context switch

See Also

Go back to [command reference index]({{< ref "reference/references/mesheryctl/_index.md" >}}), if you want to add content manually to the CLI documentation, please refer to the [instruction]({{< ref "project/contributing/contributing-cli.md#preserving-manually-added-documentation" >}}) for guidance.