Class | Rudy::CLI::Routines |
In: |
lib/rudy/cli/routines.rb
|
Parent: | Rudy::CLI::CommandBase |
All unknown commands are sent here (using Drydock‘s trawler). By default, the generic passthrough routine is executed which does nothing other than execute the routine config block that matches +@alias+ (the name used on the command-line). Calling
$ rudy unknown
would end up here because it‘s an unknown command. Passthrough then looks for a routine config in the current environment and role called "unknown". If found, it‘s executed otherwise it‘ll raise an exception.