Sha256: aa46c332a3ef1ef068ad3f51b6e59d64b11601112d1a942193cd5124266d9820

Contents?: true

Size: 524 Bytes

Versions: 15

Compression:

Stored size: 524 Bytes

Contents

require 'pry'
require_relative 'options/console'
require_relative '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

15 entries across 15 versions & 1 rubygems

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