Class: Dry::CLI

Inherits:
Object
  • Object
show all
Includes:
Help::Integration::CLIMethods
Defined in:
lib/dry/cli/help/version.rb,
lib/dry/cli/help.rb,
lib/dry/cli/help/text.rb,
lib/dry/cli/help/colors.rb,
lib/dry/cli/help/terminal.rb,
lib/dry/cli/help/formatter.rb,
lib/dry/cli/help/integration.rb,
lib/dry/cli/help/screens/base.rb,
lib/dry/cli/help/configuration.rb,
lib/dry/cli/help/screens/command.rb,
lib/dry/cli/help/screens/listing.rb,
sig/dry/cli/help.rbs

Overview

Reopened rather than defined: dry-cli declares class CLI, not a module, and getting that wrong raises TypeError the moment both are loaded.

Declared here without requiring dry-cli, because the gemspec loads this file at build time when the dependency may not be installed. dry-cli's CLI inherits from Object, so an empty reopening is compatible either way.

Defined Under Namespace

Modules: Help

Constant Summary

Constants included from Help::Integration::CLIMethods

Help::Integration::CLIMethods::HELP_FLAGS