Skip to content

v2.4.0 — Auto-switch by project directory

Choose a tag to compare

@goulartfs goulartfs released this 18 Mar 20:48
· 5 commits to master since this release

What's new

Auto-switch by directory

Bind a cloak to a project directory. Claude automatically uses the right account when launched from that directory.

cd ~/projects/company
cloak bind work

cd ~/projects/personal
cloak bind home

# From now on:
cd ~/projects/company && claude  # uses work account
cd ~/projects/personal && claude  # uses home account

Follows the .nvmrc / .node-version / .ruby-version convention.

New commands

  • cloak bind <name> — bind current directory to a cloak
  • cloak unbind — remove the binding

Stats

  • 121 tests across 14 suites

Full changelog: v2.3.2...v2.4.0