Clever TaglineC

Feature request: Account switching in CLI

Earlier this morning I found a thread where @lee was helping someone with a login-switching problem, and I'm glad I did. I've got both personal and work accounts on Convex, and it looks like I'll be using the solution that Lee shared (forcing the login:
npx convex login --force
) a lot as I'll be switching between these accounts very frequently on the same system, possibly multiple times a day.

Would it be possible to update the CLI tool to a) allow more than one authorized login on the same system, and b) add a login switching feature? Maybe something like
npx convex login --switch
to bring up a prompt showing all available options, or
npx convex login --use [nickname]
to immediately change. I feel this could be a really useful feature for many users.
Was this page helpful?