Method: VMC::Cli::Command::Services#export_service
- Defined in:
- lib/cli/commands/services.rb
#export_service(service) ⇒ Object
97 98 99 100 101 102 103 104 105 106 |
# File 'lib/cli/commands/services.rb', line 97 def export_service(service) display "Exporting data from '#{service}': ", false export_info = client.export_service(service) if export_info display 'OK'.green puts export_info[:uri] else err "Export data from '#{service}': failed" end end |