Skip to content

Commit

Permalink
[Docs] Update mesheryctl docs
Browse files Browse the repository at this point in the history
Signed-off-by: l5io <[email protected]>
  • Loading branch information
humblenginr authored and l5io committed Aug 6, 2024
1 parent 35675a7 commit 86ceb47
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions docs/pages/reference/mesheryctl/mesheryctl-model-export.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,28 +29,21 @@ mesheryctl model export [flags]
Export a model by name
<pre class='codeblock-pre'>
<div class='codeblock'>
mesheryctl model export <modelname> -o json
mesheryctl model export [model-name] -o [oci/json/yaml] (default is oci)

</div>
</pre>

<pre class='codeblock-pre'>
<div class='codeblock'>
mesheryctl model export <modelname> -o yaml
mesheryctl model export [model-name] -l /home/meshery/

</div>
</pre>

<pre class='codeblock-pre'>
<div class='codeblock'>
mesheryctl model export <modelname> -l /home/meshery/

</div>
</pre>

<pre class='codeblock-pre'>
<div class='codeblock'>
mesheryctl model export <modelname> --include-components true --include-relationships true
mesheryctl model export [model-name] --discard-components --discard-relationships

</div>
</pre>
Expand All @@ -66,11 +59,11 @@ mesheryctl model export <modelname> --include-components true --include-relation

<pre class='codeblock-pre'>
<div class='codeblock'>
-c, --discard-components (optional) whether to discard components in the exported model definition (default = false)
-r, --discard-relationships (optional) whether to discard relationships in the exported model definition (default = false)
-h, --help help for export
-c, --include-components whether to include components in the model definition (default = false)
-r, --include-relationships whether to include components in the model definition (default = false)
-l, --output-location string (optional) output location (default = current directory) (default "./")
-o, --output-type string (optional) format to display in [json|yaml] (default = yaml) (default "yaml")
-o, --output-type string (optional) format to display in [oci|json|yaml] (default = oci) (default "oci")

</div>
</pre>
Expand Down

0 comments on commit 86ceb47

Please sign in to comment.