Skip to content

Commit

Permalink
🎨 Add Short and Long to aliases as well
Browse files Browse the repository at this point in the history
  • Loading branch information
wesen committed Apr 4, 2024
1 parent 1b67559 commit 94b2541
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cmds/alias/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ type Option func(*CommandAlias)
type CommandAlias struct {
Name string `yaml:"name"`
AliasFor string `yaml:"aliasFor"`
Short string `yaml:"short,omitempty"`
Long string `yaml:"long,omitempty"`
Flags map[string]string `yaml:"flags,omitempty"`
Arguments []string `yaml:"arguments,omitempty"`
Layout []*layout.Section `yaml:"layout,omitempty"`
Expand Down

0 comments on commit 94b2541

Please sign in to comment.