serialize command.Path in lowercase
This commit is contained in:
parent
776a49ba31
commit
5b405d6747
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user