From 5b405d67475d2411cac66135afc17f66603e5f3f Mon Sep 17 00:00:00 2001 From: Roberto Hidalgo Date: Sat, 18 Mar 2023 19:50:46 -0600 Subject: [PATCH] serialize command.Path in lowercase --- pkg/command/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/command/command.go b/pkg/command/command.go index e5a7d7b..7495bae 100644 --- a/pkg/command/command.go +++ b/pkg/command/command.go @@ -17,7 +17,7 @@ type HelpFunc func(printLinks bool) string type Action func(cmd *Command) error type Command struct { - Path []string + Path []string `json:"path" yaml:"path"` // Summary is a short description of a command, on supported shells this is part of the autocomplete prompt Summary string `json:"summary" yaml:"summary" validate:"required"` // Description is a long form explanation of how a command works its magic. Markdown is supported