@prompt.warn'All those accounts are distinct accounts but only the most recently-created one is fully-functional.'
@prompt.warn'All those accounts are distinct accounts but only the most recently-created one is fully-functional.'
accounts.each_with_indexdo|account,idx|
accounts.each_with_indexdo|account,idx|
@prompt.say'%2d. %s: created at: %s; updated at: %s; last logged in at: %s; statuses: %5d; last status at: %s'%[idx,account.username,account.created_at,account.updated_at,account.user&.last_sign_in_at&.to_s||'N/A',account.account_stat&.statuses_count||0,account.account_stat&.last_status_at||'N/A']
@prompt.sayformat('%2d. %s: created at: %s; updated at: %s; last logged in at: %s; statuses: %5d; last status at: %s',idx,account.username,account.created_at,account.updated_at,account.user&.last_sign_in_at&.to_s||'N/A',account.account_stat&.statuses_count||0,account.account_stat&.last_status_at||'N/A')
end
end
@prompt.say'Please chose the one to keep unchanged, other ones will be automatically renamed.'
@prompt.say'Please chose the one to keep unchanged, other ones will be automatically renamed.'