Class: HuginnAgent::CLI
- Inherits:
-
Thor
- Object
- Thor
- HuginnAgent::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/huginn_agent/cli.rb
Defined Under Namespace
Classes: New
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.source_root ⇒ Object
14 15 16 |
# File 'lib/huginn_agent/cli.rb', line 14 def self.source_root File.(File.join(File.dirname(__FILE__), 'templates')) end |
Instance Method Details
#new(name) ⇒ Object
9 10 11 12 |
# File 'lib/huginn_agent/cli.rb', line 9 def new(name) require 'huginn_agent/cli/new' New.new(, name, self).run end |