CliCommand<R> constructor
CliCommand<R> ({
- required String name,
- required String description,
- required void configureArg(
- ArgParser parser
- List<
CliCommand> commands = const [],
Implementation
CliCommand({
required this.name,
required this.description,
required this.configureArg,
List<CliCommand> commands = const [],
}) : commands = {},
super() {
configureArg(argParser);
for (var value in commands) {
addCliCommand(value);
}
}