okcode
v0.1.0
Published
CLI tool that grants Claude Code permission to operate in directories
Downloads
45
Readme
okcode
Grant Claude Code trust for directories from the command line.
Should probably just be a flag on claude CLI itself, but this is fine.
Installation
npm install -g okcodeOr run directly with npx (no install needed):
npx okcodeUsage
# Trust current directory
okcode
# Trust specific path
okcode /path/to/my-projectWhat It Does
Adds the directory to ~/.claude.json with trust enabled:
{
"projects": {
"/path/to/project": {
"hasTrustDialogAccepted": true
}
}
}License
MIT
