mesheryctl exp model init

Generates scaffolding for convenient model creation

Synopsis

Generates a folder structure and guides user on model creation Documentation for exp models init can be found at https://docs.meshery.io/reference/mesheryctl/exp/model/init

mesheryctl exp model init [flags]

Examples

generates a folder structure

mesheryctl exp model init [model-name]

generates a folder structure and sets up model version

mesheryctl exp model init [model-name] --version [version] (default is v0.1.0)

generates a folder structure under specified path

mesheryctl exp model init [model-name] --path [path-to-location] (default is current folder)

generate a folder structure in json format

mesheryctl exp model init [model-name] --output-format [json|yaml|csv] (default is json)

Options

-h, --help help for init -o, --output-format string (optional) format to display in [json|yaml] (default "json") -p, --path string (optional) target directory (default: current dir) (default ".") --version string (optional) model version (default: v0.1.0) (default "v0.1.0")

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.