Class: Artoo::Commands::Commands
- Inherits:
-
Thor
- Object
- Thor
- Artoo::Commands::Commands
- Includes:
- Utility, Thor::Actions
- Defined in:
- lib/artoo/commands/commands.rb
Class Method Summary collapse
Methods included from Utility
#classify, #constantize, #current_class, #current_instance, #os, #random_string, #underscore
Class Method Details
.banner(command, namespace = nil, subcommand = false) ⇒ Object
10 11 12 |
# File 'lib/artoo/commands/commands.rb', line 10 def self.(command, namespace = nil, subcommand = false) "#{basename} #{@package_name} #{command.usage}" end |