Sha256: 611ff039c5e334fdf04b3ea760373bd79d4056adfb73de110491c781da0c7bbf

Contents?: true

Size: 273 Bytes

Versions: 6

Compression:

Stored size: 273 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shhh-1.7.0 lib/shhh/app/commands/show_version.rb
shhh-1.6.5 lib/shhh/app/commands/show_version.rb
shhh-1.6.4 lib/shhh/app/commands/show_version.rb
shhh-1.6.3 lib/shhh/app/commands/show_version.rb
shhh-1.6.2 lib/shhh/app/commands/show_version.rb
shhh-1.6.1 lib/shhh/app/commands/show_version.rb