Sha256: 4c037c783c678628d49c3ad2f1872078ea658015b3b39526ef91ff14a2bc4910

Contents?: true

Size: 540 Bytes

Versions: 6

Compression:

Stored size: 540 Bytes

Contents

require "pry"
require "inch/cli/command/options/console"
require "inch/cli/command/output/console"

module Inch
  module CLI
    module Command
      class Console < BaseObject
        register_command_as :console

        def description
          "Shows a console"
        end

        def usage
          "Usage: inch console [paths] [OBJECT_NAME] [options]"
        end

        def run(*args)
          prepare_objects(*args)
          Output::Console.new(@options, @object, @objects, codebase)
        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/console.rb
inch-0.5.0.rc4 lib/inch/cli/command/console.rb
inch-0.4.10 lib/inch/cli/command/console.rb
inch-0.4.9 lib/inch/cli/command/console.rb
inch-0.4.8 lib/inch/cli/command/console.rb
inch-0.4.7 lib/inch/cli/command/console.rb