feat: add usage key in params and improve messages

This commit is contained in:
Justin Lin committed 2025-07-25 11:34:12 +10:00
1 parent 96f526ac99
commit 8f764548b9
4 files changed
+35 -13

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ func (meta TemplateMeta) OutputFile(ctx TemplateContext) (output string, err err
type ParamSpec struct {
Required bool `yaml:"required"`
Default string `yaml:"default"`
Usage string `yaml:"usage"`
}
type TemplateContext map[string]string