Class: Dry::CLI::Help::Screens::Listing
- Defined in:
- lib/dry/cli/help/screens/listing.rb
Overview
The help printed for a registry level: mycli, mycli -h, and a group
such as mycli db whose node has no command of its own.
Constant Summary collapse
- SECTIONS =
%i[banner usage commands options epilogue].freeze
Constants inherited from Base
Base::HELP, Base::INDENT, Base::Row
Instance Method Summary collapse
-
#initialize(result:) ⇒ Listing
constructor
A new instance of Listing.
Methods inherited from Base
Constructor Details
#initialize(result:) ⇒ Listing
Returns a new instance of Listing.
13 14 15 16 |
# File 'lib/dry/cli/help/screens/listing.rb', line 13 def initialize(result:, **) super(**) @result = result end |