Remove all flag interfaces
This commit is contained in:
@@ -2268,6 +2268,10 @@ func (c *customBoolFlag) GetEnvVars() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *customBoolFlag) GetDefaultText() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func TestCustomFlagsUnused(t *testing.T) {
|
||||
app := &App{
|
||||
Flags: []Flag{&customBoolFlag{"custom"}},
|
||||
|
Reference in New Issue
Block a user