mesheryctl model generate

Generate models from a file

Synopsis

Generate models by specifying the directory, file, or URL. You can also provide a template JSON file and registrant name.

mesheryctl model generate [flags]

Examples

Generate a model from a CSV file(s)

mesheryctl model generate --f [path-to-csv-drectory]

Generate a model from a Uri baesd on a JSON template

mesheryctl model generate --f [URL] -t [path-to-template.json]

Generate a model from a Uri baesd on a JSON template skipping registration

mesheryctl model generate --f [URL] -t [path-to-template.json] -r

Options

-f, --file string Specify path to the file or directory -h, --help help for generate -r, --register Skip registration of the model -t, --template string Specify path to the template JSON file

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.