Page
Library
Module
Module type
Parameter
Class
Class type
Source
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
cmdtui can be installed with opam:
opam install cmdtuiIf you don't use opam consult the opam file for build instructions.
The documentation and API reference is automatically generated by from the source interfaces. It can be consulted online or via odig doc cmdtui.
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