Skip to content

Releases: mbarbin/cmdlang

0.0.9

30 Nov 18:12
c9c2c17
Compare
Choose a tag to compare

CHANGES:

Added

  • Added an example of migration from core.command to climate (#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-cmdliner for cases such as ?. and .. (#19, @mbarbin).

Removed

  • Removed config option auto_add_short_aliases from to-base translation (not useful) (#20, @mbarbin).

0.0.8

14 Nov 10:02
4e10ab2
Compare
Choose a tag to compare

CHANGES:

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

Removed

  • Remove Param.assoc. We require now the to_string function found in Enums (#16, @mbarbin).

0.0.7

10 Nov 19:04
7d7b1ed
Compare
Choose a tag to compare

CHANGES:

Removed

  • Moved err, err-cli and cmdlang-cmdliner-runner to pp-log.

0.0.6

24 Oct 12:11
f6438fa
Compare
Choose a tag to compare

CHANGES:

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

17 Sep 18:48
a9dc9ed
Compare
Choose a tag to compare

CHANGES:

Added

  • Expose param & arg translators.
  • Increase test coverage.

Changed

  • Include >>| infix operator in Command.Std.
  • Separate the translation from the runner in 2 separate packages to keep dependencies isolated.

Fixed

  • Fix handling of docv when translating to core.command.

Removed

  • Removed most of applicative infix operators - keep only >>|.

0.0.4

07 Sep 12:37
527629d
Compare
Choose a tag to compare

CHANGES:

Changed

  • Rename project cmdlang.

0.0.3

03 Sep 20:54
4b2744b
Compare
Choose a tag to compare

CHANGES:

Changed

  • Refactor Err - undocumented changes while we're stabilizing.
  • Refactor the separation between Err and Err_handler. Keep only the cli part separate and rename it err-cli.

Fixed

  • Fix some unintended behavior related to raising and catching errors with err0 and erro-handler. Added tests to cover and characterize different use cases.

0.0.2

23 Aug 19:10
2ebf451
Compare
Choose a tag to compare

CHANGES:

Changed

  • Make commandlang-err and standalone library called err0 so it can be used more broadly. Split the handler part as a separated lib err0-handler.

0.0.1

22 Aug 09:56
d6c37e5
Compare
Choose a tag to compare

CHANGES:

Added

  • Added library Err establishing a standard for error handling in commandlang CLIs.

0.0.1~preview-0.1

19 Aug 14:30
fc92903
Compare
Choose a tag to compare

CHANGES:

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 cmdliner as target.
  • Update tutorial to include positional arguments.

Fixed

  • Translation to core.command requires (unit -> _) Command.t