Class: Jobly::Commands::ConfigCmd
- Defined in:
- lib/jobly/commands/config.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/jobly/commands/config.rb', line 10 def run line 'custom config file', short_config_path, attention: !Jobly.custom_config? Jobly..each do |key, value| next unless value if key.to_s.end_with? '_path' line key, value, attention: !Dir.exist?(value) else line key, value end end end |