Class: Sumcli::Commands::Add
- Inherits:
-
Thor
- Object
- Thor
- Sumcli::Commands::Add
- Defined in:
- lib/sumcli/commands/add.rb,
lib/sumcli/commands/add/service.rb
Defined Under Namespace
Classes: Service
Instance Method Summary collapse
Instance Method Details
#service(name) ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/sumcli/commands/add.rb', line 14 def service(name) if [:help] invoke :help, ['service'] else require_relative 'add/service' Sumcli::Commands::Add::Service.new(name, ).execute end end |