Class: Ufo::CLI::New::BootHook
- Defined in:
- lib/ufo/cli/new/boot_hook.rb
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Utils::Logging
Class Method Details
.cli_options ⇒ Object
3 4 5 6 7 |
# File 'lib/ufo/cli/new/boot_hook.rb', line 3 def self. [ [:force, type: :boolean, desc: "Bypass overwrite are you sure prompt for existing files"], ] end |
Instance Method Details
#create_helper ⇒ Object
16 17 18 19 |
# File 'lib/ufo/cli/new/boot_hook.rb', line 16 def create_helper logger.info "=> Creating boot_hook" directory ".", "." end |
#set_source ⇒ Object
12 13 14 |
# File 'lib/ufo/cli/new/boot_hook.rb', line 12 def set_source set_template_source "boot_hook" end |