piqilib

The Piqi library -- runtime support for multi-format Protobuf/JSON/XML/Piq data serialization and conversion
Library piqilib
Module Piqi_command
module C = Piqi_common
val odir : string ref
val ifile : string ref
val ofile : string ref
val flag_keep_tmp_files : bool ref
val ich : in_channel ref
val och : out_channel ref
val open_input : string -> in_channel
val open_output : string -> out_channel
val close_output : unit -> unit
val close_input : unit -> unit
val tmp_files : string list ref
val add_tmp_file : string -> unit
val delete_file : string -> unit
val cleanup : unit -> unit
val cleanup_on_error : unit -> unit
val chdir_output : string -> unit
val arg_count : int ref
val default_anon_fun : string -> unit
val anon_fun_wrapper : ( 'a -> 'b ) -> 'a -> 'b
val arg_I : string * Arg.spec * string
val arg_o : string * Arg.spec * string
val arg_C : string * Arg.spec * string
val arg__ : string * Arg.spec * string
val arg__keep_tmp_files : string * Arg.spec * string
val arg__no_warnings : string * Arg.spec * string
val arg__trace : string * Arg.spec * string
val arg__debug : string * Arg.spec * string
val arg__no_builtin_types : string * Arg.spec * string
val arg__strict : string * Arg.spec * string
val arg__include_extension : string * Arg.spec * string
val common_speclist : (string * Arg.spec * string) list
val parse_args : speclist:(Arg.key * Arg.spec * Arg.doc) list -> usage:Arg.usage_msg -> ?min_arg_count:int -> ?max_arg_count:int -> ?anon_fun:( string -> unit ) -> unit -> unit
val die : string -> 'a
val run_command : ( unit -> 'a ) -> unit