Module: Dry::CLI::Help::Integration::CLIMethods

Included in:
Dry::CLI
Defined in:
lib/dry/cli/help/integration.rb

Overview

Prepended to Dry::CLI. Overrides the two private methods dry-cli prints help from, and nothing else.

Both are @api private in dry-cli, which is why the suite asserts they exist: a dry-cli release that renames them fails this gem's specs rather than a host's help screen.

Constant Summary collapse

HELP_FLAGS =
%w[-h --help].freeze