OclifConf: Adaptive Intent-based CLI State Machines (from Netlify)

Опубликовано: 05 Июнь 2026
на канале: swyx
519
15

Oclif does a lot of nice things, like offering flag and argument parsing, help documentation, and pluggability. That's good for the CLI developer. But what about the CLI user? Instead of viewing our CLI's as simple harnesses for procedure calls, how can we add an intelligent layer to interpret to user intent and guide them down a pit of success? How can we make our CLI's improve using information gained over time?

links:
https://github.com/sw-yx/cli-cheatsheet
https://github.com/sw-yx/cli-state
https://github.com/sw-yx/cli-state-ma...

presented at the first OclifConf May 31st