Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions cmd/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ var Categories = []Category{
DisplayNameEN: "AI / LLM",
NormalizedName: "ai-machine-learning",
},
{
DisplayNameEN: "DeepSeek",
NormalizedName: "deepseek",
},
{
DisplayNameEN: "Database",
NormalizedName: "database",
Expand Down Expand Up @@ -83,6 +79,10 @@ var Categories = []Category{
DisplayNameEN: "DevTools",
NormalizedName: "dev-tools",
},
{
DisplayNameEN: "Uncategorized",
NormalizedName: "uncategorized",
},
}

func getCategoryDisplayNames(categories []Category) []string {
Expand Down Expand Up @@ -120,7 +120,7 @@ Otherwise, interactive mode prompts for:
- From scratch (Standard/Frontend-only/Backend-only) or from existing Helm chart
- For app/simple: use --type with --from=<chart> to skip prompts`,
Args: cobra.ExactArgs(0),
RunE: o.run,
RunE: o.run,
}
cmd.Flags().StringVar(&o.from, "from", "", "application helm chart file path of application class")
cmd.Flags().StringVar(&o.typ, "type", "standard", "extension type: standard (default), app, or simple. app/simple require --from")
Expand Down Expand Up @@ -285,9 +285,9 @@ func (o *createOptions) run(c *cobra.Command, _ []string) error {
},
Category: Categories[categoryIdx].NormalizedName,
Keywords: []string{name, Categories[categoryIdx].NormalizedName},
Author: author,
Email: email,
URL: url,
Author: author,
Email: email,
URL: url,
},
Permissions: spec.PermDefault,
}
Expand Down
Loading