Binsec.CliFunctors for command-line parameters declarations
module type GENERIC = sig ... endmodule type CHECKABLE = sig ... endmodule type GENERIC_OPT = sig ... endmodule type INTEGER_SET = CHECKABLE with type t = Basic_types.Int.Set.tmodule type INTEGER_LIST = CHECKABLE with type t = int listmodule type INTEGER_OPT = GENERIC_OPT with type t = intmodule type FLOAT_SET = CHECKABLE with type t = Basic_types.Float.Set.tmodule type FLOAT_LIST = CHECKABLE with type t = float listmodule type FLOAT_OPT = GENERIC_OPT with type t = floatmodule type STRING_OPT = GENERIC_OPT with type t = stringmodule type STRING_SET = CHECKABLE with type t = Basic_types.String.Set.tmodule type STRING_LIST = CHECKABLE with type t = string listmodule type DECL = sig ... endmodule type CLI_DECL = sig ... endmodule type DEFAULTED_CLI_DECL = sig ... endmodule type DETAILED_CLI_DECL = sig ... endmodule type S = sig ... endmodule type Cli_sig = sig ... endCall Cli.Options instead if you just want to have dedicated options to a ** set of functionalities. ** ** The difference with Cli.Make is the absence of a dedicated command line ** switch for this set of options. ** ** For example Cli.Make(struct let name = "foo" ... end) will add a '-foo' ** global switch to the command line whereas Cli.Options(struct let name = ** "foo" ... end) will not. ** ** Also, using Cli.Options entails that there should not be any associated ** functions to be automatically run at startup (i.e., no Cli.Boot.enlist ** call from inside the functionality kernel associated with this set of ** command-line switches).
This module collects the functions to be executed at startup time.
module Boot : sig ... end