We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf7d1f2 commit 1b0fa23Copy full SHA for 1b0fa23
acmd.go
@@ -57,11 +57,11 @@ type Command struct {
57
58
// FlagSet is an optional field where you can provide command's flags.
59
// Is used for autocomplete. Works best with https://github.com/cristalhq/flagx
60
- FlagSet FlagSetter
+ FlagSet FlagsGetter
61
}
62
63
-// FlagSetter returns flags for the command. See examples.
64
-type FlagSetter interface {
+// FlagsGetter returns flags for the command. See examples.
+type FlagsGetter interface {
65
Flags() *flag.FlagSet
66
67
0 commit comments