Class: Komonzu::Command::Base

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/komonzu/commands/base.rb

Direct Known Subclasses

VersionCommand

Class Method Summary collapse

Class Method Details

.register(usage, description, opts = nil) ⇒ Object



9
10
11
12
# File 'lib/komonzu/commands/base.rb', line 9

def self.register(usage, description, opts=nil)
				desc description
  CLI.register(self, extract_name_from_usage(usage), usage, desc, opts)
end