Class: ATS::CLI::Command

Inherits:
Thor
  • Object
show all
Defined in:
lib/ats/cli/command.rb

Class Method Summary collapse

Class Method Details

.printable_commands(*args) ⇒ Object



7
8
9
10
11
12
# File 'lib/ats/cli/command.rb', line 7

def self.printable_commands(*args)
  super.map do |x|
    x[0] = x[0].gsub(/^ats/, "ats #{service_name.downcase}")
    x
  end
end