mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 04:22:01 +00:00
This PR adds a new utility for generating `help` output for CLI commands. Backed by a JSON data structure that represents the commands, this utility uses deterministic functions for generating the different output sections (such as `options` and `examples`). This change will let contributor easily add/modify command details. The data structure is also used by the CLI to generate the args parsing structure for the `deploy` command. Optimistically, this same data structure can be used to generate documentation output for `front` such that the online docs will match the `help` output. --------- Co-authored-by: Sean Massa <EndangeredMassa@gmail.com>