InitCommand constructor

InitCommand()

Implementation

InitCommand() {
  argParser
    ..addOption(
      'path',
      abbr: 'p',
      help: 'Directory where LOCALIZABLE.md will be created [Optional, default: .].',
      defaultsTo: '.',
    )
    ..addOption(
      'filename',
      help: 'Filename for the markdown documentation [Optional, default: LOCALIZABLE.md].',
      defaultsTo: 'LOCALIZABLE.md',
    )
    ..addFlag(
      'force',
      abbr: 'f',
      help: 'Overwrite existing documentation file if present [Optional].',
      negatable: false,
    );
}