Module InferModules.Buck

val buck_config : string list InferStdlib.IStd.Lazy.t
val parse_command_and_targets : filter_kind:[< `Yes | `No | `Auto ] -> dep_depth:int option option -> string list -> string * string list * string list
type flavored_arguments = {
command : string;
rev_not_targets : string list;
targets : string list;
}
val add_flavors_to_buck_arguments : filter_kind:[< `Yes | `No | `Auto ] -> dep_depth:int option option -> extra_flavors:string list -> string list -> flavored_arguments

Add infer flavors to the targets in the given buck arguments, depending on the infer analyzer. For instance, in capture mode, the buck command: build //foo/bar:baz#some,flavor becomes: build //foo/bar:baz#infer-capture-all,some,flavor

val store_args_in_file : string list -> string list

Given a list of arguments, stores them in a file if needed and returns the new command line

val filter_compatible : [> `Targets ] -> string list -> string list

keep only the options compatible with the given Buck subcommand