docs/content/en/reference/references/mesheryctl/connection/view.md
View a connection
View a connection by its ID or name.
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl connection view [flags] </div> </pre>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>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.