module Inch module CLI module Command module Options class List < BaseList attribute :numbers, false def descriptions [ '', 'Lists objects that can be improved regarding their ' \ 'documentation ordered by their grade.', '', 'Example: ' + '$ inch list lib/**/*.rb --all'.color(:cyan), '', description_hint_grades, description_hint_arrows ] end def list_options(opts) super opts.on('--numbers', 'Show numbers instead of grades and arrows') do @numbers = true end end end end end end end