feat: meals with id and better search

This commit is contained in:
2025-07-21 00:57:53 +02:00
parent 4b7866da03
commit 6278b773d0
5 changed files with 74 additions and 42 deletions

View File

@ -83,6 +83,7 @@ func getVerbs(ctx context.Context, config *AppConfig) (commands []*cobra.Command
Use: r.Name,
Aliases: r.Aliases,
Short: r.Description,
Args: cobra.MaximumNArgs(1),
Run: func(cmd *cobra.Command, args []string) {
// Configure log
var logLevel = slog.LevelWarn
@ -120,6 +121,7 @@ func getVerbs(ctx context.Context, config *AppConfig) (commands []*cobra.Command
param.Description,
)
}
verbCommand.AddCommand(resourceCommand)
}