Sha256: 7b8f07930de141a4acc8ce24537aec1faea4a8e2468a275e321fefb8a7d892d7

Contents?: true

Size: 524 Bytes

Versions: 6

Compression:

Stored size: 524 Bytes

Contents

require "inch/cli/command/options/show"
require "inch/cli/command/output/show"

module Inch
  module CLI
    module Command
      class Show < BaseObject
        register_command_as :show

        def description
          "Shows an object with its results"
        end

        def usage
          "Usage: inch show [paths] OBJECT_NAME [[OBJECT_NAME2] ...] [options]"
        end

        def run(*args)
          prepare_objects(*args)
          Output::Show.new(@options, objects)
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
inch-0.5.0.rc5 lib/inch/cli/command/show.rb
inch-0.5.0.rc4 lib/inch/cli/command/show.rb
inch-0.4.10 lib/inch/cli/command/show.rb
inch-0.4.9 lib/inch/cli/command/show.rb
inch-0.4.8 lib/inch/cli/command/show.rb
inch-0.4.7 lib/inch/cli/command/show.rb