class Dry::CLI::CommandRegistry::LookupResult
Result of a registry lookup
@since 0.1.0 @api private
Attributes
arguments[R]
@since 0.1.0 @api private
names[R]
@since 0.1.0 @api private
Public Class Methods
new(node, arguments, names, found)
click to toggle source
@since 0.1.0 @api private
# File lib/dry/cli/command_registry.rb, line 184 def initialize(node, arguments, names, found) @node = node @arguments = arguments @names = names @found = found end
Public Instance Methods
after_callbacks()
click to toggle source
@since 0.2.0 @api private
# File lib/dry/cli/command_registry.rb, line 217 def after_callbacks @node.after_callbacks end
before_callbacks()
click to toggle source
@since 0.2.0 @api private
# File lib/dry/cli/command_registry.rb, line 211 def before_callbacks @node.before_callbacks end
children()
click to toggle source
@since 0.1.0 @api private
# File lib/dry/cli/command_registry.rb, line 199 def children @node.children end
command()
click to toggle source
@since 0.1.0 @api private
# File lib/dry/cli/command_registry.rb, line 205 def command @node.command end
found?()
click to toggle source
@since 0.1.0 @api private
# File lib/dry/cli/command_registry.rb, line 193 def found? @found end