Sha256: 762062ef6aea1e8f158cbd753d97b3e1a6c941e6dad569beefd59d35a96f3f69
Contents?: true
Size: 938 Bytes
Versions: 10
Compression:
Stored size: 938 Bytes
Contents
# frozen_string_literal: true require 'i18n/tasks/command/option_parsers/locale' module I18n::Tasks module Command module Options module Locales include Command::DSL arg :locales, '-l', '--locales en,es,ru', Array, t('i18n_tasks.cmd.args.desc.locales_filter'), parser: OptionParsers::Locale::ListParser, default: 'all', consume_positional: true arg :locale, '-l', '--locale en', t('i18n_tasks.cmd.args.desc.locale'), parser: OptionParsers::Locale::Parser, default: 'base' arg :locale_to_translate_from, '-f', '--from en', t('i18n_tasks.cmd.args.desc.locale_to_translate_from'), parser: OptionParsers::Locale::Parser, default: 'base' end end end end
Version data entries
10 entries across 10 versions & 1 rubygems