Method: CommandKit::Commands#on_unknown_command

Defined in:
lib/command_kit/commands.rb

#on_unknown_command(name, argv = []) ⇒ Object

This method is abstract.

Place-holder method that is called when the subcommand is not known.

Parameters:

  • name (String)

    The given sub-command name.

  • argv (Array<String>) (defaults to: [])

    Additional argv.

See Also:



291
292
293
# File 'lib/command_kit/commands.rb', line 291

def on_unknown_command(name,argv=[])
  command_not_found(name)
end