Module: Rack::App::CLI::Command::Configurator

Extended by:
Configurator
Included in:
Configurator
Defined in:
lib/rack/app/cli/command/configurator.rb

Instance Method Summary collapse

Instance Method Details

#configure(command, name, options_parser) ⇒ Object



5
6
7
8
# File 'lib/rack/app/cli/command/configurator.rb', line 5

def configure(command, name, options_parser)
  attach_definitions(command, options_parser, command.class.__option_definitions__)
  update_banner(command, name, options_parser.banner)
end