docs/content/en/reference/mesheryctl/design/export.md
Export a design from Meshery
The 'export' command allows you to export a specific design from your Meshery server. You can specify the design by its name or ID and optionally define the type of design. The command also supports specifying an output directory where the exported design will be saved. By default, the exported design will be saved in the current directory. The different types of design type allowed are oci, original, and current. The default design type is current.
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl design export [pattern-name | ID] [flags] </div> </pre>Export a design with a specific ID
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl design export [pattern-name | ID] </div> </pre>Export a design with a specific ID and type
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl design export [pattern-name | ID] --type [design-type] </div> </pre>Export a design and save it to a specific directory
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl design export [pattern-name | ID] --output ./designs </div> </pre>Export a design with a specific type and save it to a directory
<pre class='codeblock-pre'> <div class='codeblock'> mesheryctl design export [pattern-name | ID] --type [design-type] --output ./exports </div> </pre>Go back to command reference index, if you want to add content manually to the CLI documentation, please refer to the instruction for guidance.