Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions acmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ type Command struct {

// FlagSet is an optional field where you can provide command's flags.
// Is used for autocomplete. Works best with https://github.com/cristalhq/flagx
FlagSet FlagSetter
FlagSet FlagsGetter
}

// FlagSetter returns flags for the command. See examples.
type FlagSetter interface {
// FlagsGetter returns flags for the command. See examples.
type FlagsGetter interface {
Flags() *flag.FlagSet
}

Expand Down