Class: Inch::CLI::Command::Stats
- Inherits:
-
List
show all
- Defined in:
- lib/inch/cli/command/stats.rb
Instance Attribute Summary
Attributes inherited from Base
#source_parser
Instance Method Summary
collapse
Methods inherited from BaseList
#initialize, #prepare_list
Methods inherited from Base
#initialize, #name, run
#debug, #trace, #trace_header
Instance Method Details
#description ⇒ Object
5
6
7
|
# File 'lib/inch/cli/command/stats.rb', line 5
def description
'Lists all objects with their results'
end
|
#run(*args) ⇒ Object
13
14
15
16
|
# File 'lib/inch/cli/command/stats.rb', line 13
def run(*args)
prepare_list(*args)
Output::Stats.new(@options, objects, @ranges)
end
|
#usage ⇒ Object
9
10
11
|
# File 'lib/inch/cli/command/stats.rb', line 9
def usage
'Usage: inch stats [paths] [options]'
end
|