package cmdtui

  1. Overview
  2. Docs
Interactive command completion and execution for building REPLs

Install

Dune 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.

Published: 07 Aug 2017

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

Conflicts

None

OCaml

Innovation. Community. Security.