cvx switches your Convex account as you cd into each project, and every terminal keeps its own.
Can you spot her? She hides on one of four accounts.
brew install rafay99-epic/apps/cvx
ISpecimen
Other mascots watch your cursor. Vex watches your working directory. Each field mark is a feature.
I. CASQUEHolds the vault: one token per account in ~/.convex-switch, mode 600.
II. TURRET EYEWatches your working directory. The shell hook asks her on every cd.
III. REFLEXcd to switch in about 23 ms. No network on the way.
IV. FEETGrip one branch: a linked folder. Nested folders inherit the grip.
V. SKINThe active account's color, the same one your terminal shows.
VI. TAIL, THE @One session. Each terminal holds its own token, so parallel terminals never fight.
Chamaeleo convexus, adult, perched. Plate I.
IIHabitat
Your projects are twigs on one branch. Wherever she grips, she takes that folder's account. On an unlinked twig she asks which one.
← drag me →
~/code/webpersonal
~/code/billingwork
~/clients/atlasclient
~/scratchnot linked
cd ~/code/web → personal. This terminal now exports its own token.
IIIColony
One Vex per terminal, each on her own branch, all at once. Without cvx they share one global login. Tap the glass and each looks for herself.
tty1personal ✓
tty2work ✓
tty3client ✓
tty4acme ✓
With cvx: every terminal holds its own account, at the same time. Each tail is its own session token.
IVMoods, observed
Six moods, each one a real line from the CLI. Hover or focus a specimen to read it.
happy09:02, after cd into billing
⇄ convex account → work
wink09:40, doctor finds nothing wrong
Everything looks good. ~ Vex approves (◕‿<)~@ ~
?
curious10:15, an unlinked folder
This directory isn't linked to an account.
!
alarm11:03, deployment owned by another team
▲ team mismatch: this project's deployment belongs to acme-labs
z
sleepy13:30, the vault is locked
⚿ vault locked: run cvx vault unlock to switch to work
sad17:55, an account removed
✓ Removed account work · cvx undo restores it
A note on the casque. The default file vault keeps tokens in plaintext, readable only by you (mode 600). For encryption, use the OS keychain (cvx keychain enable) or the passphrase vault (cvx vault encrypt).
VAdopt
Type your account names and meet your Vexes. Colors are handed out in order, so your first eight accounts never share one.
personalC. convexus var. personalansi 45 · #00d7ff
workC. convexus var. workansi 141 · #af87ff
clientC. convexus var. clientansi 214 · #ffaf00
acmeC. convexus var. acmeansi 213 · #ff87ff
cvx login personal
cvx login work
cvx login client
cvx login acme