package cmdtui

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

Install

Dune Dependency

Authors

Maintainers

Sources

cmdtui-0.3.0.tbz
sha256=1be279bf204f9a7ad97658082aa1b6dce241f2d169cc0fb029752578c450d539
md5=00ec10a7c55ac72f7b54aa64a62a702e

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: 26 Nov 2016

README

cmdtui — interactive command completion and execution for building REPLs

v0.3.0

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 (6)

  1. fmt >= "0.8.0"
  2. astring >= "0.8.3"
  3. topkg build & >= "0.7.8"
  4. ocamlbuild build
  5. ocamlfind build
  6. ocaml >= "4.02.3" & < "5.0.0"

Dev Dependencies

None

Conflicts

None

OCaml

Innovation. Community. Security.