package cmdliner

Build not yet checked
  1. Overview
  2. No Docs
Declarative definition of command line interfaces for OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cmdliner-2.1.2.tbz
sha512=6cc3c116d748d3f97f9a0b2f06ee645df9c09d2042b73d8f8114a5cb030ce99a2149acda6cc0886e0a3f7776152b50f49337fdf5603a387acb2b6a85b8c5bccf

Description

Cmdliner allows the declarative definition of command line interfaces for OCaml.

It provides a simple and compositional mechanism to convert command line arguments to OCaml values and pass them to your functions. The module automatically handles command line completion, syntax errors, help messages and UNIX man page generation. It supports programs with single or multiple commands and respects most of the POSIX and GNU conventions.

Cmdliner has no dependencies and is distributed under the ISC license.

Homepage: http://erratique.ch/software/cmdliner

Tags

cli system declarative org:erratique

Added to opam-repository:

Dependencies (1)

  1. ocaml >= "4.08.0"

Dev Dependencies

None

Optional Dependencies

None

  1. abella >= "2.0.8"
  2. acgtk >= "2.1.0"
  3. albatross >= "1.4.3"
  4. alcobar
  5. alcotest >= "1.9.1"
  6. alcotest-async
  7. alcotest-js
  8. alcotest-lwt
  9. alcotest-mirage
  10. alt-ergo >= "2.6.3"
  11. altgr-ergo >= "2.4.2"
  12. api-watch
  13. arc >= "0.0.2"
  14. areas-and-adversaries
  15. asak
  16. atd >= "2.13.0"
  17. atdcpp
  18. atdd
  19. atdml
  20. atdpy
  21. atdts
  22. awa >= "0.2.0"
  23. aws-s3
  24. b0
  25. bancos
  26. bap-beagle < "2.3.0"
  27. bap-byteweight-frontend
  28. bap-callsites
  29. bap-demangle < "2.5.0"
  30. bap-fsi-benchmark
  31. bap-phoenix
  32. bap-piqi
  33. bap-std
  34. bap-taint-propagator
  35. bap-trace
  36. bap-warn-unused
  37. bcfg
  38. bibfmt
  39. bisect_ppx_ng
  40. boltzgen >= "0.9.5"
  41. boulangerie
  42. builder
  43. builder-web >= "0.2.0"
  44. ca-certs-nss >= "3.77"
  45. cabal_workflow_runner
  46. caisar >= "0.2" & < "6.0"
  47. camels >= "1.0.0"
  48. camyll >= "0.4.1"
  49. capnp-rpc-unix >= "2.1.1"
  50. caqti >= "1.8.0"
  51. caqti-async >= "1.8.0"
  52. caqti-driver-mariadb >= "1.8.0"
  53. caqti-driver-postgresql >= "1.8.0"
  54. caqti-driver-sqlite3 >= "1.8.0"
  55. caqti-dynload = "2.0.1"
  56. caqti-eio
  57. caqti-lwt >= "1.8.0"
  58. caqti-miou
  59. carton = "0.7.2"
  60. carton-miou
  61. carton-miou-unix
  62. cascade
  63. catala >= "0.7.0"
  64. catala-format >= "0.2.0"
  65. chamelon-unix
  66. charrua-unix >= "1.6.0"
  67. checkseum = "0.0.2" | >= "0.0.9" & < "0.2.0"
  68. ciao_lwt
  69. clim-ppx
  70. cmdlang-cmdliner-err-runner
  71. cmdlang-to-cmdliner
  72. cmdliner-stdlib
  73. cmdtui-lambda-term
  74. cohttp-curl-lwt >= "6.2.1"
  75. cohttp-lwt-unix >= "6.0.0~beta2" & < "6.2.2"
  76. cohttp-lwt-unix-bin
  77. colibri2 >= "0.6"
  78. colibrics >= "0.6"
  79. commons >= "1.8.0"
  80. compsort
  81. conex >= "1.0.0"
  82. conex-mirage-crypto
  83. confero
  84. console
  85. console-eio
  86. coq-lsp
  87. coq-serapi < "8.13.0+0.13.0" | >= "8.15.0+0.15.2"
  88. crockford
  89. crowbar >= "0.2.1"
  90. crunch >= "4.0.0"
  91. cucumber
  92. current
  93. current-albatross-deployer
  94. current_examples
  95. current_github
  96. current_gitlab
  97. current_web
  98. decompress >= "1.4.3"
  99. dedukti >= "2.7"
  100. deepseek
  101. diffast-git-cli >= "0.3.5.1"
  102. dkim
  103. dkim-bin
  104. dkml-install-installer
  105. dns-cli >= "10.1.0"
  106. docfd >= "13.0.0"
  107. dockerfile-cmd
  108. dockerfile-opam < "8.2.7"
  109. docteur >= "0.0.4"
  110. doctor
  111. doi2bib >= "0.7.6"
  112. dolmen_bin >= "0.11"
  113. dream-cli >= "0.2.0"
  114. dscheck >= "0.2.0"
  115. dune-deps >= "1.4.0"
  116. dune-release >= "2.2.0"
  117. dune_deps_extra
  118. earlybird != "1.1.0"
  119. eio-fs
  120. eio-trace
  121. eio_linux >= "0.3"
  122. elpi >= "3.7.3"
  123. extism
  124. ez_cmdliner >= "0.5.0"
  125. facteur
  126. fat-filesystem < "0.13.0" | >= "0.15.1"
  127. fit >= "1.0.3"
  128. forester >= "5.0"
  129. functoria-runtime >= "4.0.0"
  130. git >= "3.2.0"
  131. git-unix >= "3.15.0"
  132. github-unix >= "4.5.0"
  133. gitlab-unix >= "0.1.3"
  134. gospel >= "0.3.1"
  135. happy-eyeballs-lwt >= "0.6.0"
  136. happy-eyeballs-miou-unix
  137. hegel >= "0.26.6"
  138. hlarp < "0.0.3"
  139. http-lwt-client >= "0.3.2"
  140. hurl >= "0.0.1~beta2"
  141. hvsock >= "3.0.1"
  142. hxd >= "0.3.5"
  143. index >= "1.7.0"
  144. index-bench >= "1.6.1"
  145. irmin-bench
  146. irmin-cli
  147. irmin-pack != "2.10.2" & != "3.10.0"
  148. irmin-pack-tools
  149. irmin-server
  150. irmin-test >= "3.11.0"
  151. irmin-tezos
  152. irmin-unix
  153. jasmin >= "2023.06.0"
  154. js_of_ocaml-compiler >= "4.1.0"
  155. jsonschema2atd
  156. k7
  157. kaun-board
  158. ke >= "0.5"
  159. kmt
  160. lab >= "0.1.4"
  161. learn-ocaml
  162. learn-ocaml-client
  163. ledes
  164. letsencrypt-app
  165. locswijch
  166. MlFront_Cli < "2.3.1"
  167. MlFront_Logs
  168. MlFront_Tools
  169. markdown_monolith
  170. mastodon-archive-viewer >= "0.2"
  171. mcrunch
  172. mdx >= "2.5.1"
  173. mel
  174. melange
  175. meldep
  176. menhirformat
  177. merge-fmt >= "0.3"
  178. mfat
  179. mfetch
  180. miaou-serve
  181. migra
  182. mirage >= "4.10.2"
  183. mirage-block-ccm
  184. mirage-logs
  185. mirage-monitoring >= "0.0.8"
  186. mirage-runtime >= "4.9.0"
  187. mirage-seal
  188. mkaudio >= "1.1.4"
  189. mlgpx
  190. mnet-cli
  191. mnet-dns >= "0.0.5"
  192. mnet-happy-eyeballs >= "0.0.5"
  193. mrmime >= "0.6.0"
  194. mtbox
  195. named-pipe < "0.4.0"
  196. nbd < "4.0.3"
  197. niru
  198. nix-syntax
  199. nuscr >= "2.1.0"
  200. object
  201. obuilder >= "0.4"
  202. ocaml-sbom
  203. ocamlformat >= "0.25.1"
  204. ocamlformat-lib >= "0.28.1"
  205. ocamlformat-mlx
  206. ocamlformat-mlx-lib >= "0.28.1.1"
  207. ocamlgrep
  208. ocamlmig >= "5.3-20250429"
  209. ocgtk < "0.1~preview2"
  210. ochre-cli
  211. ocluster >= "0.2"
  212. ocp-browser >= "1.2.1"
  213. ocp-indent >= "1.9.0"
  214. ocp-indent-nlfork
  215. ocp-index >= "1.4.0"
  216. ocsigen-toolkit >= "4.3.0"
  217. odds >= "1.1"
  218. odep
  219. odig >= "0.1.0"
  220. odoc >= "3.1.0"
  221. odoc-driver
  222. odoc-md >= "3.1.0"
  223. olint
  224. omigrate >= "0.3.0"
  225. omod
  226. opam-0install >= "0.6.0"
  227. opam-0install-cudf < "0.4.1"
  228. opam-audit
  229. opam-build
  230. opam-bundle
  231. opam-dune-lint
  232. opam-ed >= "0.5"
  233. opam-graph
  234. opam-grep >= "0.4.0"
  235. opam-minver
  236. opam-package-upgrade
  237. opam-publish >= "3.0.0"
  238. opam-repomin
  239. opam-test
  240. opine
  241. oq
  242. orb
  243. ordma >= "0.0.5"
  244. ortac-core
  245. ortac-dune
  246. ortac-qcheck-stm
  247. ortac-wrapper
  248. osx-fsevents
  249. oui
  250. owee >= "0.8"
  251. owi >= "0.2"
  252. oxbow
  253. passage >= "0.3.2"
  254. pds >= "5.42"
  255. pg_query >= "0.9.8"
  256. pkcs11-cli
  257. plotkicadsch < "0.9.0"
  258. polly >= "0.4.1"
  259. pplumbing < "0.0.16"
  260. ppx_deriving_cmdliner < "0.6.0"
  261. ppx_subliner
  262. ppxlib-tools
  263. prelude < "0.5"
  264. prof_spacetime
  265. prometheus-app
  266. protocol-9p < "0.12.1"
  267. protocol-9p-tool < "0.12.0" | >= "2.1.0"
  268. protocol-9p-unix < "0.12.1"
  269. pyast >= "0.2.0"
  270. pyml_bindgen >= "0.4.1"
  271. pyre-ast >= "0.1.9"
  272. qcow < "0.12.1"
  273. qmp >= "0.20.0"
  274. queenshead
  275. query-json
  276. quickterface
  277. quill
  278. rake
  279. randii
  280. reason >= "3.17.0"
  281. reason-to-mlx
  282. rosetta < "0.2.0"
  283. rpclib
  284. runtime_events_tools >= "0.5.4"
  285. runtime_events_tools_bare >= "0.5.4"
  286. rust-staticlib-gen
  287. salto-analyzer
  288. scfg >= "0.4"
  289. shakuhachi
  290. shared-block-ring
  291. sherlodoc != "3.1.0"
  292. slack
  293. slipshow
  294. smtml >= "0.7.0"
  295. solo5-elftool
  296. sosie
  297. soteria
  298. spin = "0.6.0"
  299. starred_ml >= "0.0.4"
  300. stele
  301. stem
  302. sun
  303. tallgeese
  304. tcpip >= "8.0.0"
  305. tensorflow
  306. testo
  307. testo-lwt
  308. tidy_email_mailgun
  309. tidy_email_sendgrid
  310. tidy_email_smtp
  311. timmy
  312. tls = "0.15.4" | >= "1.0.4"
  313. tls-lwt
  314. toc
  315. topkg-care
  316. torch < "v0.16.0"
  317. transom
  318. tuntap
  319. tw
  320. unic
  321. uring
  322. uring-trace
  323. utcp
  324. vchan < "6.0.2"
  325. vchan-unix
  326. vendredi
  327. vif
  328. wasm_of_ocaml-compiler
  329. wax
  330. wax-lib >= "0.2.0"
  331. wayland >= "1.1"
  332. webauthn
  333. webbrowser >= "0.6.2"
  334. wol-eio
  335. xapi-inventory
  336. xdge
  337. xen-evtchn
  338. xen-evtchn-unix
  339. xen-gnt
  340. yuscii = "0.2.0"

Conflicts

None

Build status

Results of building cmdliner 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.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
2.1.1 good good good good good
  • 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