(ctx context.Context, cmd *Command)
| 48 | } |
| 49 | |
| 50 | func (bif *BoolWithInverseFlag) RunAction(ctx context.Context, cmd *Command) error { |
| 51 | if bif.Action != nil { |
| 52 | return bif.Action(ctx, cmd, bif.Get().(bool)) |
| 53 | } |
| 54 | |
| 55 | return nil |
| 56 | } |
| 57 | |
| 58 | func (bif *BoolWithInverseFlag) IsLocal() bool { |
| 59 | return bif.Local |