Sha256: ba01ef0f87c1e998764d4c54d6b05d254e243009838e065fcacb746b130a774a

Contents?: true

Size: 528 Bytes

Versions: 5

Compression:

Stored size: 528 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

5 entries across 5 versions & 1 rubygems

Version Path
inch-0.5.0.rc3 lib/inch/cli/command/inspect.rb
inch-0.5.0.rc2 lib/inch/cli/command/inspect.rb
inch-0.5.0.rc1 lib/inch/cli/command/inspect.rb
inch-0.4.6 lib/inch/cli/command/inspect.rb
inch-0.4.5 lib/inch/cli/command/inspect.rb