Skip to main content

First release of cmdlang

· 2 min read
Mathieu Barbin
Author & Maintainer of cmdlang

https://discuss.ocaml.org/t/first-release-of-cmdlang/15616

Hi everyone!

A little while ago, I posted about cmdlang, a library for creating command-line parsers in OCaml.

Today, I am happy to give you an update on this project with the announcement of an initial release of cmdlang packages to the opam-repository.

These are very early days for this project. I have started using the cmdlang+cmdliner combination in personal projects, and plan to experiment with climate in the near future. Please feel free to engage in issues/discussions, etc.

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!