module Dry
def self.CLI(registry_or_command = nil, &block)
- Since: - 0.4.0
Returns:
-
(Dry::CLI)
- the new instance
Parameters:
-
&block
(Block
) -- a configuration block for registry -
registry_or_command
(Dry::CLI::Registry, Dry::CLI::Command
) --
def self.CLI(registry_or_command = nil, &block) CLI.new(registry_or_command, &block) end