Class: Bashly::Commands::Add

Inherits:
Base
  • Object
show all
Defined in:
lib/bashly/commands/add.rb

Instance Method Summary collapse

Methods included from AssetHelper

#asset

Instance Method Details

#colors_commandObject



33
34
35
# File 'lib/bashly/commands/add.rb', line 33

def colors_command
  safe_copy_lib "colors.sh"
end

#config_commandObject



29
30
31
# File 'lib/bashly/commands/add.rb', line 29

def config_command
  safe_copy_lib "config.sh"
end

#lib_commandObject



25
26
27
# File 'lib/bashly/commands/add.rb', line 25

def lib_command
  safe_copy_lib "sample_function.sh"
end

#strings_commandObject



21
22
23
# File 'lib/bashly/commands/add.rb', line 21

def strings_command
  safe_copy asset("templates/strings.yml"), "#{Settings.source_dir}/bashly-strings.yml"
end