Sha256: f73a2ebf1969b1ab8c598ffc04e10e83285d7b43f45cfc81acff21744493e07a

Contents?: true

Size: 524 Bytes

Versions: 39

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

39 entries across 39 versions & 1 rubygems

Version Path
inch-0.9.0.rc1 lib/inch/cli/command/show.rb
inch-0.8.0 lib/inch/cli/command/show.rb
inch-0.8.0.rc2 lib/inch/cli/command/show.rb
inch-0.8.0.rc1 lib/inch/cli/command/show.rb
inch-0.7.1 lib/inch/cli/command/show.rb
inch-0.7.0 lib/inch/cli/command/show.rb
inch-0.6.4 lib/inch/cli/command/show.rb
inch-0.6.3 lib/inch/cli/command/show.rb
inch-0.6.2 lib/inch/cli/command/show.rb
inch-0.6.1 lib/inch/cli/command/show.rb
inch-0.6.0 lib/inch/cli/command/show.rb
inch-0.6.0.rc6 lib/inch/cli/command/show.rb
inch-0.6.0.rc5 lib/inch/cli/command/show.rb
inch-0.6.0.rc4 lib/inch/cli/command/show.rb
inch-0.6.0.rc3 lib/inch/cli/command/show.rb
inch-0.6.0.rc2 lib/inch/cli/command/show.rb
inch-0.6.0.rc1 lib/inch/cli/command/show.rb
inch-0.5.10 lib/inch/cli/command/show.rb
inch-0.5.9 lib/inch/cli/command/show.rb
inch-0.5.8 lib/inch/cli/command/show.rb