lib/imap/backup/cli/local.rb in imap-backup-4.0.5 vs lib/imap/backup/cli/local.rb in imap-backup-4.0.6
- old
+ new
@@ -4,10 +4,10 @@
include CLI::Helpers
desc "accounts", "List locally backed-up accounts"
def accounts
connections = Imap::Backup::Configuration::List.new
- connections.accounts.each { |a| Kernel.puts a[:username] }
+ connections.accounts.each { |a| Kernel.puts a.username }
end
desc "folders EMAIL", "List account folders"
def folders(email)
connection = connection(email)