Class: Makit::Cli::Base

Inherits:
Clamp::Command
  • Object
show all
Defined in:
lib/makit/cli/base.rb

Overview

Base class for CLI commands

Direct Known Subclasses

StrategyCommands, TimeoutCommands, TraceCommands

Class Method Summary collapse

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