Class: Bosh::Gen::Generators::BoshCliPluginGenerator

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/bosh/gen/generators/bosh_cli_plugin_generator.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



11
12
13
# File 'lib/bosh/gen/generators/bosh_cli_plugin_generator.rb', line 11

def self.source_root
  File.join(File.dirname(__FILE__), "bosh_cli_plugin_generator", "templates")
end

Instance Method Details

#install_pluginObject



15
16
17
# File 'lib/bosh/gen/generators/bosh_cli_plugin_generator.rb', line 15

def install_plugin
  directory "lib"
end