r/javascript • • 9d ago

Optique 1.4.0: Default commands, Markdown references, and more focused help

https://github.com/dahlia/optique/discussions/1139
0 Upvotes

6 comments sorted by

3

u/boneskull 9d ago

I wrote something like this (@boneskull/bargs), but I doubt I did a better job. I’ll take a closer look

1

u/Spleeeee 9d ago

It’s pretty good. I was skeptical bc it’s all vibe coded but it’s good.

•

u/ava_896517 11h ago

What held up under a closer look: the command UX, Markdown references, or something else?

•

u/Spleeeee 11h ago

The combinator. The types. The fact that it’s just a parser if you want.

2

u/LukaRozman27 9d ago

When adding a new command, run `optique list` to see all current command names and avoid conflicts.

1

u/castrojames2808 6d ago

Seeing the full list helps; duplicate checks at registration could catch conflicts without a manual step.