mesheryctl model export
export registered models
Synopsis
export the registered model to the specified output type
mesheryctl model export [flags]
Examples
Export a model by name
mesheryctl model export [model-name] -o [oci|tar] (default is oci)
mesheryctl model export [model-name] -t json (default is yaml)
mesheryctl model export [model-name] -l /home/meshery/
mesheryctl model export [model-name] --discard-components --discard-relationships
mesheryctl model export [model-name] --version v0.7.3
Options
-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 -t, --output-format string (optional) format to display in [json|yaml] (default = yaml) (default "yaml") -l, --output-location string (optional) output location (default = current directory) (default "./") -o, --output-type string (optional) format to display in [oci|tar] (default = oci) (default "oci") --version string (optional) model version to export (default = "")
Options inherited from parent commands
--config string path to config file (default "/home/runner/.meshery/config.yaml") -v, --verbose verbose output
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.