Sha256: d1ed5f4e7c25479b6bfc542b23f15b0808b2630d548a6e4d322c015c1ea89ef1

Contents?: true

Size: 269 Bytes

Versions: 4

Compression:

Stored size: 269 Bytes

Contents

require_relative 'command'
module Shhh
  module App
    module Commands
      class ShowVersion < Command
        required_options :version
        try_after :show_help
        def run
          "shhh (version #{Shhh::VERSION})"
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
shhh-1.5.4 lib/shhh/app/commands/show_version.rb
shhh-1.4.1 lib/shhh/app/commands/show_version.rb
shhh-1.4.0 lib/shhh/app/commands/show_version.rb
shhh-1.3.0 lib/shhh/app/commands/show_version.rb