Sha256: 6ed4105024b81bcabb7b917ca3541b3d162ae335d9d59a46ed4caf69087b2685

Contents?: true

Size: 508 Bytes

Versions: 32

Compression:

Stored size: 508 Bytes

Contents

require_relative 'options/show'
require_relative '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

32 entries across 32 versions & 1 rubygems

Version Path
inch-0.4.4 lib/inch/cli/command/show.rb
inch-0.4.4.rc4 lib/inch/cli/command/show.rb
inch-0.4.4.rc3 lib/inch/cli/command/show.rb
inch-0.4.4.rc2 lib/inch/cli/command/show.rb
inch-0.4.4.rc1 lib/inch/cli/command/show.rb
inch-0.4.3 lib/inch/cli/command/show.rb
inch-0.4.3.rc2 lib/inch/cli/command/show.rb
inch-0.4.3.rc1 lib/inch/cli/command/show.rb
inch-0.4.2 lib/inch/cli/command/show.rb
inch-0.4.1 lib/inch/cli/command/show.rb
inch-0.4.0 lib/inch/cli/command/show.rb
inch-0.4.0.rc3 lib/inch/cli/command/show.rb
inch-0.4.0.rc2 lib/inch/cli/command/show.rb
inch-0.4.0.rc1 lib/inch/cli/command/show.rb
inch-0.3.4.rc1 lib/inch/cli/command/show.rb
inch-0.3.3 lib/inch/cli/command/show.rb
inch-0.3.3.rc1 lib/inch/cli/command/show.rb
inch-0.3.2 lib/inch/cli/command/show.rb
inch-0.3.2.rc2 lib/inch/cli/command/show.rb
inch-0.3.2.rc1 lib/inch/cli/command/show.rb