Class: VHS::Config
- Inherits:
-
Thor
- Object
- Thor
- VHS::Config
- Includes:
- Thor::Actions
- Defined in:
- lib/vhs/cli/config.rb
Instance Method Summary collapse
Instance Method Details
#cli ⇒ Object
6 7 8 9 10 |
# File 'lib/vhs/cli/config.rb', line 6 def cli template 'vhs.yml', '.vhs.yml' append_to_file '.gitignore', '.vhs.yml' puts "VHS CLI configured" end |
#rspec ⇒ Object
14 15 16 17 18 |
# File 'lib/vhs/cli/config.rb', line 14 def rspec destination_path = [:destination_path] copy_file 'rspec.rb', destination_path puts "VHS configured for RSpec" end |