Remove duplicate DocGenerationFlag interface

introduced via merge
main
Dan Buch 2 years ago
parent 64facdbe2f
commit 96216756c2
Signed by: meatballhat
GPG Key ID: A12F782281063434

@ -135,21 +135,6 @@ type DocGenerationFlag interface {
GetEnvVars() []string
}
// DocGenerationFlag is an interface that allows documentation generation for the flag
type DocGenerationFlag interface {
Flag
// TakesValue returns true if the flag takes a value, otherwise false
TakesValue() bool
// GetValue returns the flags value as string representation and an empty
// string if the flag takes no value at all.
GetValue() string
// GetEnvVars returns the env vars for this flag
GetEnvVars() []string
}
// DocGenerationSliceFlag extends DocGenerationFlag for slice-based flags.
type DocGenerationSliceFlag interface {
DocGenerationFlag

Loading…
Cancel
Save