Class: HuginnAgent::CLI

Inherits:
Thor
  • Object
show all
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_rootObject



14
15
16
# File 'lib/huginn_agent/cli.rb', line 14

def self.source_root
  File.expand_path(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(options, name, self).run
end