34 points · by weaksauce · 1y ago · 6 comments
Nowadays, a lot of CLI libraries actually generate the help from the code of the cli (like picocli in Java or argparse in python, etc.).
CLI specifications and framework tooling | --usage
Build a typed Rust CLI or describe an existing tool in KDL. Generate shell completions, help, reference docs, man pages, and SDKs from one definition.
--usage