Class: Inch::CLI::Command::Options::Suggest
- Defined in:
- lib/inch/cli/command/options/suggest.rb
Constant Summary collapse
- FORMAT_TEXT =
"text"
- FORMATS =
[FORMAT_TEXT] + %w(json yaml)
Constants included from API::Options::Suggest::DefaultAttributeValues
API::Options::Suggest::DefaultAttributeValues::DEFAULT_FILE_COUNT, API::Options::Suggest::DefaultAttributeValues::DEFAULT_GRADES_TO_DISPLAY, API::Options::Suggest::DefaultAttributeValues::DEFAULT_GRADE_WEIGHTS, API::Options::Suggest::DefaultAttributeValues::DEFAULT_OBJECT_COUNT, API::Options::Suggest::DefaultAttributeValues::DEFAULT_OBJECT_MAX_SCORE, API::Options::Suggest::DefaultAttributeValues::DEFAULT_OBJECT_MIN_PRIORITY, API::Options::Suggest::DefaultAttributeValues::DEFAULT_PROPER_GRADES
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from BaseList
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from BaseList
Methods inherited from Base
#description, #exit_status, #initialize, #name, register_command_as, run, #run, #usage
Methods included from TraceHelper
Constructor Details
This class inherits a constructor from Inch::CLI::Command::Base
Instance Method Details
#descriptions ⇒ Object
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/inch/cli/command/options/suggest.rb', line 31 def descriptions [ '', 'Suggests objects and files that can be improved regarding ' \ 'their documentation.', '', 'Example: ' + '$ inch suggest lib/**/*.rb --pedantic'.color(:cyan), '', description_hint_grades, description_hint_arrows ] end |
#set_options(opts) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/inch/cli/command/options/suggest.rb', line 23 def (opts) (opts) (opts) (opts) (opts) end |