multica-ai/multica · error
--name is required
Error message
--name is required
What it means
Error "--name is required" thrown in multica-ai/multica.
Source
Thrown at server/cmd/multica/cmd_property.go:310
return err
}
property, err := resolvePropertyRef(properties, args[0])
if err != nil {
return err
}
output, _ := cmd.Flags().GetString("output")
if output == "json" {
return cli.PrintJSON(os.Stdout, property)
}
printPropertyTable([]propertyDTO{property})
return nil
}
func runPropertyCreate(cmd *cobra.Command, _ []string) error {
name, _ := cmd.Flags().GetString("name")
propType, _ := cmd.Flags().GetString("type")
if name == "" {
return fmt.Errorf("--name is required")
}
if propType == "" {
return fmt.Errorf("--type is required")
}
description, _ := cmd.Flags().GetString("description")
icon, _ := cmd.Flags().GetString("icon")
optionFlags, _ := cmd.Flags().GetStringArray("option")
body := map[string]any{"name": name, "type": propType, "description": description, "icon": icon}
if len(optionFlags) > 0 {
body["config"] = map[string]any{"options": parseOptionFlags(optionFlags, nil)}
}
client, err := newAPIClient(cmd)
if err != nil {
return err
}
ctx, cancel := cli.APIContext(context.Background())View on GitHub (pinned to 2c0912b6ec)
Solutions
- Pass --name with the property name.
When it happens
Trigger: Thrown at server/cmd/multica/cmd_property.go:310 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of multica-ai/multica@2c0912b6ec (2026-08-15).
Data as JSON: /api/errors/895d53c6121ee13c.
Report an issue: GitHub.