Sha256: 0c87af45be767f5198b4d97fd7122f94327834f06f547b92bf28e97bfd1c907e

Contents?: true

Size: 340 Bytes

Versions: 12

Compression:

Stored size: 340 Bytes

Contents

# frozen_string_literal: true

module I18nJS
  class CLI
    class VersionCommand < Command
      command_name "version"
      description "Show package version"

      parse do |opts|
        opts.banner = "Usage: i18n #{name}"

        opts.on_tail do
          ui.exit_with("v#{I18nJS::VERSION}")
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
i18n-js-4.2.3 lib/i18n-js/cli/version_command.rb
i18n-js-4.2.2 lib/i18n-js/cli/version_command.rb
i18n-js-4.2.1 lib/i18n-js/cli/version_command.rb
i18n-js-4.2.0 lib/i18n-js/cli/version_command.rb
i18n-js-4.1.0 lib/i18n-js/cli/version_command.rb
i18n-js-4.0.1 lib/i18n-js/cli/version_command.rb
i18n-js-4.0.0 lib/i18n-js/cli/version_command.rb
i18n-js-4.0.0.alpha5 lib/i18n-js/cli/version_command.rb
i18n-js-4.0.0.alpha4 lib/i18n-js/cli/version_command.rb
i18n-js-4.0.0.alpha3 lib/i18n-js/cli/version_command.rb
i18n-js-4.0.0.alpha2 lib/i18n-js/cli/version_command.rb
i18n-js-4.0.0.alpha1 lib/i18n-js/cli/version_command.rb