Sha256: 7845d9ef67d91cf957d0a5489a629b9c7af42cbda20fff6e8be8f9112c3843bf

Contents?: true

Size: 495 Bytes

Versions: 8

Compression:

Stored size: 495 Bytes

Contents

# frozen_string_literal: true

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

        cmd :eq_base,
            pos:  '[locale ...]',
            desc: t('i18n_tasks.cmd.desc.eq_base'),
            args: %i[locales out_format]

        def eq_base(opt = {})
          forest = i18n.eq_base_keys(opt)
          print_forest forest, opt, :eq_base_keys
          :exit_1 unless forest.empty?
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
i18n-tasks-0.9.33 lib/i18n/tasks/command/commands/eq_base.rb
i18n-tasks-0.9.32 lib/i18n/tasks/command/commands/eq_base.rb
i18n-tasks-0.9.31 lib/i18n/tasks/command/commands/eq_base.rb
i18n-tasks-0.9.30 lib/i18n/tasks/command/commands/eq_base.rb
i18n-tasks-0.9.29 lib/i18n/tasks/command/commands/eq_base.rb
i18n-tasks-0.9.28 lib/i18n/tasks/command/commands/eq_base.rb
i18n-tasks-0.9.27 lib/i18n/tasks/command/commands/eq_base.rb
i18n-tasks-0.9.26 lib/i18n/tasks/command/commands/eq_base.rb