GetDefaultText returns the default text for this flag
()
| 219 | |
| 220 | // GetDefaultText returns the default text for this flag |
| 221 | func (bif *BoolWithInverseFlag) GetDefaultText() string { |
| 222 | if bif.Required { |
| 223 | return bif.DefaultText |
| 224 | } |
| 225 | return boolValue{}.ToString(bif.Value) |
| 226 | } |
| 227 | |
| 228 | // GetCategory returns the category of the flag |
| 229 | func (bif *BoolWithInverseFlag) GetCategory() string { |