Method: Semaph::Shells::Project::SaveCommand#execute
- Defined in:
- lib/semaph/shells/project/save_command.rb
#execute(_ignored) ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'lib/semaph/shells/project/save_command.rb', line 14 def execute(_ignored) config = { host: project.client.host, project: project.raw, } File.open(".semaph", "w") do |file| file.puts config.to_yaml end end |