package cmdlang
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Declarative Command-line Parsing for OCaml
Install
dune-project
Dependency
Authors
Maintainers
Sources
cmdlang-0.0.11.tbz
sha256=818cf017d4889b49121f36edf6c77b955105c2b2a79405592c5a51495cfbae4b
sha512=1179129fd7c65cb1767db5b7e2d2069454be8e16c0e9f010754b41b8af25e6e361ef5f0c3204fe7ee94e605cfdc3b406c41680664705dea53b488a3f727bcc2e
doc/CHANGES.html
0.0.11 (2026-05-08)
Added
- Enabled OCaml 5.4 and 5.5 in CI (#56, 44fcd89, @mbarbin).
Changed
- Simplify type definition of
Nonempty_listto align it with other libs (#54, @mbarbin). - Upgrade
ocamlformatto0.29.0(@mbarbin). - Improve
headacheconfiguration (@mbarbin). - Upgrade
dunolintandcrsactions (#41, #42, #51, @mbarbin). - Improvement to CI (#34, #35, #44, #45, #46, #50, @mbarbin).
- Use and enforce SHA pins in GitHub actions (@mbarbin).
- Improve selection of packages to build in CIs (#43, @mbarbin).
- Improve project pkg directory structure (#40, @mbarbin).
Deprecated
- Deprecate
Param.createand migrate it tocreate_with_pp(#55, @mbarbin).
Fixed
- Fixes to satisfy the
unused-libsdune build target (#52, @mbarbin).
Removed
- Simplify and removed some unused or non-essential deps (#57, #58, @mbarbin).
0.0.10 (2025-09-19)
Added
- Test behavior when a group is called with an invalid subcommand (#26, @mbarbin).
Changed
- Add
Param.create'usingof_string/to_stringAPI for Param (#31, @mbarbin). - Change
Param.convinternal AST representation toof_string/to_string(#31, @mbarbin). - Upgrade to
climate.0.8.0(#28, @mbarbin). - More consistent cli commands and args doc strings (#27, @mbarbin).
- Upgrade
climateand now requires>= 0.5.0(#25, @mbarbin).
0.0.9 (2024-11-30)
Added
- Added an example of migration from
core.commandtoclimate(#20, @mbarbin). - Added migration utils (#20, @mbarbin).
- Improve code coverage, added tests (#20, @mbarbin).
Changed
- Document presence in stdlib-runner help (required, default, etc.) (#19, @mbarbin).
- Minor refactor in stdlib-runner (#19, @mbarbin).
- Upgrade to
climate.0.3.0(#19, @mbarbin).
Fixed
- Fix trailing dot additions in
to-cmdlinerfor cases such as?.and..(#19, @mbarbin).
Removed
- Removed config option
auto_add_short_aliasesfrom to-base translation (not useful) (#20, @mbarbin).
0.0.8 (2024-11-14)
Added
- Add more ci-checks: macOS, Windows, OCaml 4.14 (#17, @mbarbin).
- Add a new backend based on
stdlib.arg(#16, @mbarbin).
Changed
- Internal refactor to intermediate representations used in cmdlang-to-base (#16, @mbarbin).
Fixed
- Enable build with
ocaml.4.14(#17, @mbarbin).
Removed
- Remove
Param.assoc. We require now theto_stringfunction found inEnums(#16, @mbarbin).
0.0.7 (2024-11-10)
Removed
- Moved
err,err-cliandcmdlang-cmdliner-runnerto pp-log.
0.0.6 (2024-10-24)
Changed
- Prepare documentation for initial release.
- Upgrade to
climate.0.1.0. - Make opam files pass opam-repository linting rules.
- Upgrade Docusaurus.
0.0.5 (2024-09-17)
Added
- Expose
param&argtranslators. - Increase test coverage.
Changed
- Include
>>|infix operator inCommand.Std. - Separate the translation from the runner in 2 separate packages to keep dependencies isolated.
Fixed
- Fix handling of
docvwhen translating tocore.command.
Removed
- Removed most of applicative infix operators - keep only
>>|.
0.0.4 (2024-09-07)
Changed
- Rename project
cmdlang.
0.0.3 (2024-09-03)
Changed
- Refactor
Err- undocumented changes while we're stabilizing. - Refactor the separation between
ErrandErr_handler. Keep only the cli part separate and rename iterr-cli.
Fixed
- Fix some unintended behavior related to raising and catching errors with
err0anderro-handler. Added tests to cover and characterize different use cases.
0.0.2 (2024-08-23)
Changed
- Make
cmdlang-errand standalone library callederr0so it can be used more broadly. Split the handler part as a separated liberr0-handler.
0.0.1 (2024-08-22)
Added
- Added library
Errestablishing a standard for error handling in cmdlang CLIs.
0.0.1_preview-0.1 (2024-08-19)
Added
- Added basic support for
readme. - Added
Arg.named_multi. - Added param helpers:
stringable,validated strings,comma_separated. - Basic support for positional arguments.
- Enabled instrumentation.
- Adopted OCaml Code of Conduct.
- Added a FAQ page.
- Added test libraries.
Changed
- Internal changes to AST to make it more consistent.
- Improve generation of man pages when using
cmdlineras target. - Update tutorial to include positional arguments.
Fixed
- Translation to
core.commandrequires(unit -> _) Command.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page