Class: Wemux::Pair::Commands::CreateSampleConfig
- Defined in:
- lib/wemux/pair/commands/create_sample_config.rb
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Wemux::Pair::Commands::Command
Instance Method Details
#execute ⇒ Object
9 10 11 12 13 |
# File 'lib/wemux/pair/commands/create_sample_config.rb', line 9 def execute return warn_config_exists if config_exist? copy_file(config_template, config_path) puts "Generated file at #{config_path}" end |