vela def init
Init a new definition
Options
Name | Description |
---|---|
--desc, -d <string> | Specify the description of the new definition |
--interactive, -i | Specify whether use interactive process to help generate definitions |
--git <string> | Specify which git repository the configuration(HCL) is stored in. Valid when --provider/-p is set |
--local <string> | Specify the local path of the configuration(HCL) file. Valid when --provider/-p is set |
--output, -o <string> | Specify the output path of the generated definition. If empty, the definition will be printed in the console |
--path <string> | Specify which path the configuration(HCL) is stored in the Git repository. Valid when --git is set |
--provider, -p <string> | Specify which provider the cloud resource definition belongs to. Only alibaba, `aws`, `azure` are supported |
--template-yaml, -f <path> | Specify the template yaml file that definition will use to build the schema. If empty, a default template for the given definition type will be used |
--type, -t <string> | Specify the type of the new definition. Valid types: scope, workflow-step, component, trait, policy, workload |