LocalizableBaseCommand constructor

LocalizableBaseCommand()

Implementation

LocalizableBaseCommand() {
  argParser
    ..addFlag(
      'json',
      help: 'Output in JSON format (recommended for LLMs and scripts) [Optional].',
      negatable: false,
    )
    ..addOption(
      'input-path',
      abbr: 'i',
      help: 'Override the base directory path [Optional, defaults to current directory].',
    )
    ..addOption(
      'user-config',
      help: 'Path to localizable_user.json config file [Optional].',
    )
    ..addOption(
      'user-key',
      help: 'Direct user account JWS authentication key [Optional].',
    )
    ..addOption(
      'project-config',
      help: 'Path to localizable_project.json config file [Optional].',
    )
    ..addOption(
      'project-key',
      help: 'Direct project JWS authentication key [Optional].',
    )
    ..addOption(
      'project-id',
      help:
          'Project ID [Optional, defaults to ID from localizable_project.json if available].',
    );
}