package cmdtui

Not available on OCaml 5.5
  1. Overview
  2. Docs
Interactive command completion and execution for building REPLs

Install

dune-project
 Dependency

Authors

Maintainers

Sources

cmdtui-0.4.3.tbz
sha256=62047731081fd212af1d85903eda1faa9a072f237e087dd561a169b9a307ead8
md5=8a792d806efab956df37f2d9316f569f

Description

cmdtui is a module for declaring commands with completions and actions. It can return a dynamically generated list of completions based on partial user input. The base module doesn't depend on a particular terminal control library, and support for lambda-term based REPLs is provided in the cmdtui.lambda-term subpackage.

cmdtui is distributed under the ISC license.

Added to opam-repository:

README

cmdtui — interactive command completion and execution for building REPLs

v0.4.3

cmdtui is a module for declaring commands with completions and actions. It can return a dynamically generated list of completions based on partial user input. The base module doesn't depend on a particular terminal control library, and support for lambda-term based REPLs is provided in the cmdtui.lambda-term subpackage.

cmdtui is distributed under the ISC license.

Homepage: https://gitlab.com/edwintorok/cmdtui

Installation

cmdtui can be installed with opam:

opam install cmdtui

If you don't use opam consult the opam file for build instructions.

Documentation

The documentation and API reference is automatically generated by from the source interfaces. It can be consulted online or via odig doc cmdtui.

Sample programs

If you installed cmdtui with opam sample programs are located in the directory opam config var cmdtui:doc.

In the distribution sample programs and tests are located in the test directory of the distribution. They can be built and run with:

topkg build --tests true && topkg test 

Dependencies (4)

  1. astring >= "0.8.3"
  2. jbuilder >= "1.0+beta7"
  3. ocamlfind build
  4. ocaml >= "4.02.3"

Dev Dependencies

None

Optional Dependencies

None

Conflicts

None

Build status

Results of building cmdtui with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. 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.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.4.3 (this version) good good n/a n/a n/a
  • 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