@nicholasxdavis/playhouse-cli
v0.3.3
Published
Local QA CLI — security, functional, performance, agent handoff
Maintainers
Readme
@nicholasxdavis/playhouse-cli
npm installer and launcher for the Playhouse Rust CLI. postinstall downloads the native binary from GitHub Releases for your OS and CPU.
Current version: 0.1.2 (release tag v0.1.2)
Install
npm install -g @nicholasxdavis/playhouse-cli
playhouse install --full
playhouse initProject dev dependency:
pnpm add -D @nicholasxdavis/playhouse-cli
npx playhouse doctorRequires Node.js 18+. Rust is not required for end users.
Environment
| Variable | Purpose |
|----------|---------|
| PLAYHOUSE_BIN | Use a specific binary (skip bundled vendor/) |
| PLAYHOUSE_SKIP_DOWNLOAD | Skip postinstall download (1 or true) |
| PLAYHOUSE_VERSION | Pin release version (default: package version) |
| PLAYHOUSE_GITHUB_REPO | Override GitHub repo (owner/repo) |
Local development
From repo root:
cargo build --release
cd packages/playhouse
npm run link-local
node bin/playhouse.js --versionPublish (maintainers)
- Sync version in
Cargo.tomlandpackage.json(node scripts/check-version-sync.js). - Tag and push:
git tag v0.1.2thengit push origin v0.1.2(GitHub Actions uploads binaries). cd packages/playhouse && npm publish --access public
The playhouse command name is unchanged after install (see bin in package.json).
