
- do not use plain JSON rep for errors and use polymorphic variants instead - split formatting for human readable and JSON output - no more simple_errors simple_fails - much less result bindings used in stages
6 lines
328 B
OCaml
6 lines
328 B
OCaml
open Cmdliner
|
|
open Display
|
|
|
|
val toplevel : display_format:ex_display_format -> displayable -> (unit -> unit Term.ret) -> unit Term.ret
|
|
val returned_value : (_,_) Trace.result -> unit -> unit Term.ret
|
|
val return_result : display_format:ex_display_format -> 'value format -> ('value, Main_errors.Types.all) result -> unit Term.ret |