Sha256: 1becf8a8bb6a8b098c0a24d896884f138f5ec2c1df01d68f1dda108c0d9021ad

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 Bytes

Contents

module I18n::Tasks
  module Command
    module Commands
      module EqBase
        include Command::Collection

        cmd :eq_base,
            args: '[locale ...]',
            desc: I18n.t('i18n_tasks.cmd.desc.eq_base'),
            opt:  cmd_opts(:locales, :out_format)

        def eq_base(opt = {})
          opt_locales! opt
          opt_output_format! opt
          print_forest i18n.eq_base_keys(opt), opt, :eq_base_keys
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
i18n-tasks-0.7.1 lib/i18n/tasks/command/commands/eq_base.rb
i18n-tasks-0.7.0 lib/i18n/tasks/command/commands/eq_base.rb