@pknx/waterfall-cli
v0.1.4
Published
CLI for waterfall-spec workflows: CR/story lifecycle, agent prompts, work-item sync, PDF export.
Maintainers
Readme
@pknx/waterfall-cli
Command-line tool for waterfall-spec workflows: change requests, stories, agent prompts (Cursor / Cline / Claude Code), sync with work trackers, and PDF export.
The executable name on your PATH is waterfall (not the last segment of the package name).
Unscoped name:
waterfall-clion npm is a different package. This project publishes as@pknx/waterfall-cli.
Requirements
- Node.js 20 or newer (22 recommended)
- Git (for branch workflows and
spec init)
Heavy features (diagrams, PDF) pull in optional tooling such as Puppeteer and Pandoc-related packages; first install may take a moment.
Install
npm install -g @pknx/waterfall-cliThen:
waterfall --helpOne-off run without a global install:
npx @pknx/waterfall-cli --helpQuick start
Inside or above your spec repo:
waterfall help
waterfall spec init --title "My product" ./my-specConfigure defaults with a .waterfall file in the project (see waterfall help and built-in comments when the file is created).
Release process (maintainers)
Releases are tag-driven and immutable via GitHub Actions (.github/workflows/publish-npm.yml).
Required setup
- Repository secret
NPM_TOKENwith publish rights for@pknx/waterfall-cli. - A pushed git tag in semver format:
vX.Y.Z(for examplev0.1.4).
How to release
Ensure
developis up to date and CI is green.Create and push a release tag:
git tag vX.Y.Z git push origin vX.Y.ZThe workflow then runs automatically and:
- validates tag format
- aligns
package.jsonversion in CI to the tag version - runs
npm test - publishes to npm (
@pknx/waterfall-cli) - creates a GitHub Release for that exact tag
After release
- On successful publish, a follow-up job updates
developto the next patch prerelease version:v0.1.4release ->developbecomes0.1.5-develop
- No manual
npm publishis needed for normal releases.
License
MIT — see LICENSE.
