Skip to main content

Yet Another CLI Library (well, not really)

· 4 min read
Mathieu Barbin
Author & Maintainer of cmdlang

https://discuss.ocaml.org/t/cmdlang-yet-another-cli-library-well-not-really/15258

Greetings fellow camlers,

I hope you had a nice summer! Mine took an unexpected turn when, roughly at the same time, I wrote my first cmdliner subcommand and heard about climate for the first time. My experience with OCaml CLI so far had been centered around core.command.

When I read climate's terminology section and how it defines Terms, Arguments, and Parameters, something clicked. Seeing how climate's API managed to make positional and named arguments fit so nicely together, I thought: "Wow, for the first time, it seems I'll be able to write a CLI spec on a whiteboard without referring to some code I never seem to get right (I am looking at you, core.command's anonymous arguments)."

Hello

· One min read
Mathieu Barbin
Author & Maintainer of cmdlang

Hello! I've just launched a blog section within the cmdlang documentation, powered by Docusaurus. This new space is designed to keep you updated with all things related to cmdlang. Stay tuned for more updates and insights. Happy reading!