Exception: Dry::CLI::UnknownCommandError

Inherits:
Error
  • Object
show all
Defined in:
lib/dry/cli/errors.rb

Overview

Since:

  • 0.2.1

Instance Method Summary collapse

Constructor Details

#initialize(command_name) ⇒ UnknownCommandError

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of UnknownCommandError.

Since:

  • 0.2.1



16
17
18
# File 'lib/dry/cli/errors.rb', line 16

def initialize(command_name)
  super("unknown command: `#{command_name}'")
end