Class: Inch::CLI::Command::Console
Instance Attribute Summary
Attributes inherited from BaseObject
#object
Attributes inherited from BaseList
#objects
Attributes inherited from Base
#codebase
Instance Method Summary
collapse
Methods inherited from BaseObject
#prepare_objects
Methods inherited from BaseList
#prepare_codebase
Methods inherited from Base
#initialize, #name, register_command_as, run
#ui
Instance Method Details
#description ⇒ Object
11
12
13
|
# File 'lib/inch/cli/command/console.rb', line 11
def description
'Shows a console'
end
|
#run(*args) ⇒ Object
19
20
21
22
|
# File 'lib/inch/cli/command/console.rb', line 19
def run(*args)
prepare_objects(*args)
Output::Console.new(@options, @object, @objects, codebase)
end
|
#usage ⇒ Object
15
16
17
|
# File 'lib/inch/cli/command/console.rb', line 15
def usage
'Usage: inch console [paths] [OBJECT_NAME] [options]'
end
|