InitCommand constructor

InitCommand(
  1. Future<void> userMethod({
    1. bool force,
    2. String? type,
    })
)

Implementation

InitCommand(this.userMethod) {
  argParser
    ..addOption(
      'type',
      mandatory: false,
    )
    ..addFlag(
      'force',
      defaultsTo: false,
    );
}