addForceFlag method
void
addForceFlag({})
Implementation
void addForceFlag({
String? help,
bool? defaultsTo = false,
bool negatable = true,
void Function(bool)? callback,
bool hide = false,
List<String> aliases = const [],
}) {
_force = true;
_parser.addFlag(
'force',
abbr: 'f',
help: help,
defaultsTo: defaultsTo,
negatable: negatable,
callback: callback,
hide: hide,
aliases: aliases,
);
}