Cliffy 1.3.0 is here!
- Lazy subcommands
- Environment-backed options
- Negatable environment variables
- A new @cliffy/upgrade package
- Many bug fixes
- And more
Cliffy now has a blog.
It includes release notes for 1.1 and 1.2, plus a longer look at Cliffy 1.0: typed command declarations, generated help and completions, and the path from Deno-only to Deno, Node.js and Bun.
Environment variables should be first-class CLI inputs.
In Cliffy, an environment variable has a name, type, description and validation. It can stand on its own and gets its own section in the generated help.
Cliffy started as a Deno-only CLI framework. Its command module has been shaped over several years.
One command declaration drives typed options and arguments, validation, generated help and shell completions.
Today it runs on Deno, Node.js and Bun.
This account has been quiet for a while.
I’m going to use it to share more of the work behind Cliffy, TypeScript CLI design, release notes and more.
Cliffy is at 1.2.1 now, with 1.3.0 coming soon.