ConfigInitCommand constructor

ConfigInitCommand({
  1. String? workingDirectory,
})

Implementation

ConfigInitCommand({this.workingDirectory}) {
  argParser.addFlag(
    'force',
    abbr: 'f',
    help: 'Overwrite an existing rekeens.yaml.',
    defaultsTo: false,
  );
  argParser.addFlag(
    'dry-run',
    abbr: 'n',
    help: 'Print the planned action without writing the file.',
    defaultsTo: false,
    negatable: false,
  );
}