8000 GitHub - NyuB/ocli at 0.1.0
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

NyuB/ocli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCaml CLI demo

  • Utility lib for tty control

    • Wrapper around OCaml Stdlib termios functions (tty/tty.ml)
    • Wrapper around ANSI terminal control sequences
  • Skeleton for a minimal interactive cli application (bin/tty_demo.ml)

    • Display, style, progress bar ...
    • "Elm like" architecture with terminal lines as view

Requirements

  • Linux
  • opam
  • terminal with termios support

Build

opam switch create .
dune build

Run

dune exec tty_demo

Run the test suite

dune test

About

Mini elm-inspired utilities for Ocaml CLI applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0