mesheryctl registry init
Scaffold a model-source.yaml for a new model
Synopsis
Scaffold models/<model-name>/model-source.yaml, the canonical generation inputs for a model,
along with placeholder SVGs and an overrides/ directory, so a new model can be added by pull request.
Run it from the root of a meshery/meshery checkout so the model lands in models/.
mesheryctl registry init <model-name> [flags]
Examples
Scaffold a model whose source is an Artifact Hub package
mesheryctl registry init cert-manager --source https://artifacthub.io/packages/helm/cert-manager/cert-manager --category "Security & Compliance" --sub-category "Key Management" --description "Cloud native certificate management for Kubernetes."
Scaffold a model from a GitHub repository, with an explicit registrant
mesheryctl registry init my-operator --source git://github.com/example/my-operator/main/deploy/crds --registrant meshery --category Provisioning --sub-category "Automation & Configuration" --description "Operator for my workloads."
Overwrite an existing model-source.yaml (SVGs and overrides are kept)
mesheryctl registry init cert-manager --source https://artifacthub.io/packages/helm/cert-manager/cert-manager --category "Security & Compliance" --sub-category "Key Management" --description "Cloud native certificate management for Kubernetes." --force
Options
--category string (required) model category --description string (required) summary description of the model --display-name string human-readable model name (default: derived from the model name) --force overwrite an existing model-source.yaml (SVGs, overrides and version folders are never touched) -h, --help help for init -p, --path string directory the model folder is created under (default "models") --registrant string registrant of the model (default: derived from the source kind) -s, --source string (required) upstream URL of the model source: a GitHub repository, an Artifact Hub package, or an HTTP manifest or chart --source-kind string kind of source [github|artifacthub|http] (default: detected from --source) --sub-category string (required) model subcategory
Options inherited from parent commands
--config string path to config file (default "~/.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.