Back to Meshery

mesheryctl-connection-view

docs/content/en/reference/mesheryctl/connection/view.md

1.0.191.6 KB
Original Source

mesheryctl connection view

View a connection

Synopsis

View a connection by its ID or name.

<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl connection view [flags] </div> </pre>

Examples

View details of a specific connection in default format (yaml)

<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl connection view [connection-name|connection-id] </div> </pre>

View details of a specific connection in JSON format

<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl connection view [connection-name|connection-id] --output-format json </div> </pre>

View details of a specific connection in json format and save it to a file

<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl connection view [connection-name|connection-id] --output-format json --save </div> </pre>

Options

<pre class='codeblock-pre'> <div class='codeblock'> -h, --help help for view -o, --output-format string (optional) format to display in [json|yaml] (default "yaml") -s, --save (optional) save output as a JSON/YAML file </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") -v, --verbose verbose output </div> </pre>

See Also

Go back to command reference index, if you want to add content manually to the CLI documentation, please refer to the instruction for guidance.