Class: Bashly::Commands::Add
- Defined in:
- lib/bashly/commands/add.rb
Instance Method Summary collapse
- #colors_command ⇒ Object
- #config_command ⇒ Object
- #lib_command ⇒ Object
- #strings_command ⇒ Object
- #yaml_command ⇒ Object
Methods included from AssetHelper
Instance Method Details
#colors_command ⇒ Object
35 36 37 |
# File 'lib/bashly/commands/add.rb', line 35 def colors_command safe_copy_lib "colors.sh" end |
#config_command ⇒ Object
31 32 33 |
# File 'lib/bashly/commands/add.rb', line 31 def config_command safe_copy_lib "config.sh" end |
#lib_command ⇒ Object
27 28 29 |
# File 'lib/bashly/commands/add.rb', line 27 def lib_command safe_copy_lib "sample_function.sh" end |
#strings_command ⇒ Object
23 24 25 |
# File 'lib/bashly/commands/add.rb', line 23 def strings_command safe_copy asset("templates/strings.yml"), "#{Settings.source_dir}/bashly-strings.yml" end |
#yaml_command ⇒ Object
39 40 41 |
# File 'lib/bashly/commands/add.rb', line 39 def yaml_command safe_copy_lib "yaml.sh" end |