Sha256: 1351136ae10109348d5cdf96a6f69f170c44e39b12b9551dd5990727f784ed85

Contents?: true

Size: 545 Bytes

Versions: 6

Compression:

Stored size: 545 Bytes

Contents

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

module Inch
  module CLI
    module Command
      class Inspect < BaseObject
        register_command_as :inspect

        def description
          "Inspects an object"
        end

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

        def run(*args)
          prepare_objects(*args)
          Output::Inspect.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/inspect.rb
inch-0.5.0.rc4 lib/inch/cli/command/inspect.rb
inch-0.4.10 lib/inch/cli/command/inspect.rb
inch-0.4.9 lib/inch/cli/command/inspect.rb
inch-0.4.8 lib/inch/cli/command/inspect.rb
inch-0.4.7 lib/inch/cli/command/inspect.rb