Helps use multiple accounts on Heroku.
$ heroku plugins:install @heroku-cli/heroku-accounts
To add accounts:
$ heroku accounts:add personal
Enter your Heroku credentials.
Email: [email protected]
Password: ******
To add single sign-on (SSO) accounts:
$ heroku accounts:add work --sso
Enter your organization name: my-company-name
Opening browser for login... done
Enter your access token (typing will be hidden): **********************************
To switch to a different account:
$ heroku accounts:set personal
To list accounts:
$ heroku accounts
* personal
work
To find current account:
$ heroku accounts:current
personal
To remove an account:
$ heroku accounts:remove personal
Account removed: personal