Class: Hyrb::Command
- Inherits:
-
Thor
- Object
- Thor
- Hyrb::Command
- Defined in:
- lib/hyrb/command.rb
Direct Known Subclasses
CLI, Hyrb::Commands::Ansible, Hyrb::Commands::Creds, Hyrb::Commands::Defaults, Hyrb::Commands::Developers, Hyrb::Commands::DigitalOcean, Hyrb::Commands::Environment, Hyrb::Commands::Github, Hyrb::Commands::Hipchat, Hyrb::Commands::Project, Hyrb::Commands::Provision, Hyrb::Commands::Rackspace
Class Method Summary collapse
Class Method Details
.subc(name, description) ⇒ Object
5 6 7 8 |
# File 'lib/hyrb/command.rb', line 5 def self.subc(name, description) desc name.to_sym, description subcommand name.to_s, "hyrb/commands/#{name}".camelcase.constantize end |