lib/shelly/cli/backup.rb in shelly-0.4.30 vs lib/shelly/cli/backup.rb in shelly-0.4.31
- old
+ new
@@ -48,9 +48,10 @@
app = multiple_clouds(options[:cloud], "backup get #{handler}")
backup = app.database_backup(handler)
bar = Shelly::DownloadProgressBar.new(backup.size)
backup.download(bar.progress_callback)
+ bar.finish
say_new_line
say "Backup file saved to #{backup.filename}", :green
rescue Client::NotFoundException => e
raise unless e.resource == :backup