Module Shell.Ansi


module Ansi: sig .. end
Colour printing on terminals

val is_color_tty : unit -> bool
type style = [ `Green | `Red | `Underline ] 
Shell scripting in OCaml.

This module contains basic blocks for shell scripting in OCaml. It tends to be much safer than just using Unix.system because it handles errors much more transparently. WARNING: it's undergoing some serious changes internally, then next public release of core should have the changes included

val printf : style ->
('a, Pervasives.out_channel, unit) Pervasives.format -> 'a
val eprintf : style ->
('a, Pervasives.out_channel, unit) Pervasives.format -> 'a