TranslationUpsertSubcommand constructor

TranslationUpsertSubcommand()

Implementation

TranslationUpsertSubcommand() {
  argParser
    ..addOption(
      'key',
      abbr: 'k',
      help: 'Translation key string in snake_case (e.g. app_title, button_submit). [Required]',
      mandatory: true,
    )
    ..addOption(
      'id',
      help: 'Translation ID [Optional, leave empty to create new key].',
    );
}