Module: CLI::Kit::CommandRegistry::ContextualResolver

Included in:
NullContextualResolver
Defined in:
lib/cli/kit/command_registry.rb

Instance Method Summary collapse

Instance Method Details

#aliasesObject

This method is abstract.

: -> Hash[String, String]

Raises:

  • (NotImplementedError)


26
27
28
# File 'lib/cli/kit/command_registry.rb', line 26

def aliases
  raise(NotImplementedError)
end

#command_class(_name) ⇒ Object

This method is abstract.

: (String) -> singleton(CLI::Kit::BaseCommand)

Raises:

  • (NotImplementedError)


32
33
34
# File 'lib/cli/kit/command_registry.rb', line 32

def command_class(_name)
  raise(NotImplementedError)
end

#command_namesObject

This method is abstract.

: -> Array

Raises:

  • (NotImplementedError)


20
21
22
# File 'lib/cli/kit/command_registry.rb', line 20

def command_names
  raise(NotImplementedError)
end