module Dry
@since 0.1.0
Public Class Methods
CLI(registry_or_command = nil, &block)
click to toggle source
Create a new instance
@param registry_or_command [Dry::CLI::Registry, Dry::CLI::Command]
a registry or singular command
@param &block [Block] a configuration block for registry
@return [Dry::CLI] the new instance @since 0.4.0
# File lib/dry/cli.rb, line 221 def self.CLI(registry_or_command = nil, &block) CLI.new(registry_or_command, &block) end