package ppx_subliner
Build not checkedInstall
dune-project
Dependency
Authors
Maintainers
Sources
md5=fa1660f136d716d98739e22e91ee6086
sha512=7bde3cbf0f659a3c1d94a91eb2733397a86b712960b1a805acf8194f6155bb6e20e5bfa024fa0119c5e89220f71bdf442068c4ae1b11b226aed3ad6a9a035d5a
Description
[@@deriving] plugin to generate Cmdliner terms and sub-command groups and ppx rewriter to generate Cmdliner evaluations.
Added to opam-repository:
README
[@@deriving subliner] and [%%subliner]
[@@deriving] plugin to generate Cmdliner sub-command groups, and ppx rewriter to generate Cmdliner evaluations.
Installation
ppx_subliner can be installed via OCaml Package Manager.
$ opam install ppx_sublinerUsage
Please see the documentation.
Example
type foo = { my_arg : string } [@@deriving subliner]
type params = Foo of foo | Bar | Foobar of { my_arg : string }
[@@deriving subliner]
let handle = function
| Foo { my_arg } -> print_endline ("Foo " ^ my_arg)
| Bar -> print_endline "Bar"
| Foobar { my_arg } -> print_endline ("Foobar" ^ my_arg)
[%%subliner.cmds
eval.params <- handle]
(** Some docs *)
Dev Dependencies (5)
-
odoc
with-doc -
bisect_ppx
with-test -
ppx_show
with-test -
ppx_deriving_cmdliner
with-test -
alcotest
with-test
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building ppx_subliner with each compiler on check.ci.ocaml.org, run of against opam-repository 8d8d144. All results for this package.
Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.
This version is not in the latest run; the versions below are.
- good Package successfully built
- partial One of the dependencies failed to build
- bad Package failed to build
- n/a Package is not available in this environment
- internal Internal failure