Class: Dry::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/dry/cli/autocomplete/version.rb,
lib/dry/cli/autocomplete.rb,
lib/dry/cli/autocomplete/command.rb,
lib/dry/cli/autocomplete/emitters/zsh.rb,
lib/dry/cli/autocomplete/spec_builder.rb,
lib/dry/cli/autocomplete/emitters/bash.rb,
sig/dry/cli/autocomplete.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: Autocomplete