Class: Inch::CLI::Command::Console
Instance Attribute Summary
Attributes inherited from BaseObject
#object, #objects
Attributes inherited from Base
#source_parser
Instance Method Summary
collapse
Methods inherited from BaseObject
#initialize, #prepare_objects
Methods inherited from Base
#initialize, #name, run
#debug, #trace, #trace_header
Instance Method Details
#description ⇒ Object
7
8
9
|
# File 'lib/inch/cli/command/console.rb', line 7
def description
'Shows a console'
end
|
#run(*args) ⇒ Object
15
16
17
18
|
# File 'lib/inch/cli/command/console.rb', line 15
def run(*args)
prepare_objects(*args)
Output::Console.new(@options, @object, @objects, source_parser)
end
|
#usage ⇒ Object
11
12
13
|
# File 'lib/inch/cli/command/console.rb', line 11
def usage
'Usage: inch console [paths] [OBJECT_NAME] [options]'
end
|