Class: Makit::Cli::Base
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Makit::Cli::Base
- Defined in:
- lib/makit/cli/base.rb
Overview
Base class for CLI commands
Direct Known Subclasses
Class Method Summary collapse
-
.desc(command_name, description) ⇒ Object
Helper method to define command descriptions.
Class Method Details
.desc(command_name, description) ⇒ Object
Helper method to define command descriptions
12 13 14 |
# File 'lib/makit/cli/base.rb', line 12 def self.desc(command_name, description) self.description = "#{command_name} - #{description}" end |