유시지(usage) 출력까지는 어떻게 구현 했다. 그런데 이건 쉬운 문제고, 도움말이 정말 어려운 문제인데…

optique <main?> $ deno run example.ts 
Usage: example.ts one [-a/--allow] -v/--value INTEGER ARG
       example.ts two [-f/--foo] -b/--bar VALUE
       example.ts three [-d/--deny] -t/--test INTEGER [-z/--baz] -q/--qux QUX
       example.ts nest foo [-a/--allow] -v/--value INTEGER ARG
       example.ts nest bar [-f/--foo] -b/--bar VALUE
Error: No parser matched.
2

If you have a fediverse account, you can reply to this note from your own instance. Search https://hackers.pub/ap/notes/0198b0fd-d353-7f70-96c1-3d9f5d1dccb5 on your instance and reply to it.

0
1