Class: Inch::CLI::Command::List
- Defined in:
- lib/inch/cli/command/list.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #description ⇒ Object
-
#run(*args) ⇒ void
Runs the commandline utility, parsing arguments and displaying a list of objects.
- #usage ⇒ Object
Methods inherited from BaseList
Methods inherited from Base
Methods included from TraceHelper
Constructor Details
This class inherits a constructor from Inch::CLI::Command::BaseList
Instance Method Details
#description ⇒ Object
5 6 7 |
# File 'lib/inch/cli/command/list.rb', line 5 def description 'Lists all objects with their results' end |
#run(*args) ⇒ void
This method returns an undefined value.
Runs the commandline utility, parsing arguments and displaying a list of objects
18 19 20 21 |
# File 'lib/inch/cli/command/list.rb', line 18 def run(*args) prepare_list(*args) Output::List.new(@options, objects, @ranges) end |
#usage ⇒ Object
9 10 11 |
# File 'lib/inch/cli/command/list.rb', line 9 def usage 'Usage: inch list [paths] [options]' end |