Module: Dry

Defined in:
lib/dry/cli.rb,
lib/dry/cli/usage.rb,
lib/dry/cli/banner.rb,
lib/dry/cli/errors.rb,
lib/dry/cli/inline.rb,
lib/dry/cli/option.rb,
lib/dry/cli/parser.rb,
lib/dry/cli/command.rb,
lib/dry/cli/version.rb,
lib/dry/cli/registry.rb,
lib/dry/cli/inflector.rb,
lib/dry/cli/program_name.rb,
lib/dry/cli/spell_checker.rb,
lib/dry/cli/command_registry.rb

Overview

Dry

Since:

  • 0.1.0

Defined Under Namespace

Classes: CLI

Class Method Summary collapse

Class Method Details

.CLI(registry_or_command = nil, &block) ⇒ Dry::CLI

Create a new instance

Parameters:

Returns:

Since:

  • 0.4.0



224
225
226
# File 'lib/dry/cli.rb', line 224

def self.CLI(registry_or_command = nil, &block)
  CLI.new(registry_or_command, &block)
end