Class: Busser::Command::PluginCreate

Inherits:
Thor::BaseGroup show all
Defined in:
lib/busser/command/plugin_create.rb

Overview

Plugin create command.

Author:

Instance Method Summary collapse

Methods included from UI

banner, die, fatal, handle_command, info, run!, run_ruby_script!, status, warn

Methods included from Helpers

chef_apply, install_gem, root_path, suite_path, vendor_path

Instance Method Details

#createObject



40
41
42
43
44
45
46
47
# File 'lib/busser/command/plugin_create.rb', line 40

def create
  self.class.source_root(Busser.source_root.join("templates", "plugin"))

  create_core_files
  create_source_files
  create_features_files
  initialize_git
end