Class: Bosh::Cli::Command::PluginGenerator
- Inherits:
-
Base
- Object
- Base
- Bosh::Cli::Command::PluginGenerator
- Includes:
- PluginGenerator::Helpers
- Defined in:
- lib/bosh/cli/commands/plugin_generator.rb
Instance Attribute Summary
Attributes included from PluginGenerator::Helpers
#commands_folder, #helpers_folder, #lib_folder, #plugin_folder, #plugin_name
Instance Method Summary collapse
Methods included from PluginGenerator::Helpers
#extract_options, #generate_files
Instance Method Details
#perform(plugin_name) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/bosh/cli/commands/plugin_generator.rb', line 15 def perform(plugin_name) (plugin_name) say "Generating BOSH CLI plugin...".make_green generate_files say "DONE. ".make_green say "The plugin is saved to #{File.join(Dir.pwd, plugin_name)}" end |