Skip to content

Commit

Permalink
Merge pull request #125 from rsteube/jsonschema-fix-description
Browse files Browse the repository at this point in the history
jsonschema: fix description
  • Loading branch information
rsteube authored Jan 20, 2023
2 parents c85085c + 9118442 commit 9be3677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ type Command struct {
PositionalAny []action `json:"positionalany,omitempty" jsonschema_description:"Positional completion for every other position"`
Dash [][]action `json:"dash,omitempty" jsonschema_description:"Dash completion"`
DashAny []action `json:"dashany,omitempty" jsonschema_description:"Dash completion of every other position"`
} `json:"completion,omitempty" jsonschema_description:"Subcommands of the command"`
Commands []Command `json:"commands,omitempty" jsonschema_description:"Completion definition"`
} `json:"completion,omitempty" jsonschema_description:"Completion definition"`
Commands []Command `json:"commands,omitempty" jsonschema_description:"Subcommands of the command"`
}

func (c *Command) ToCobra() *cobra.Command {
Expand Down

0 comments on commit 9be3677

Please sign in to comment.