3. showHelp(meta)
Displays a help message using a metadata object.
1const meta = {2 description: "Example CLI tool",3 args: [{ name: "input", type: "string", required: true }],4 named: [{ name: "verbose", type: "boolean" }]5};7showHelp(meta);
Output:
📘 Example CLI tool
Positional arguments:
input (required) <string> —
Named options:
--verbose <boolean> —
Use "--help" to show this message.