Module OpamClient.API

module API: sig .. end
OPAM API.

val init : OpamTypes.repository ->
OpamTypes.compiler ->
jobs:int ->
OpamTypes.shell -> OpamTypes.filename -> [ `ask | `no | `yes ] -> unit
Initialize the client a consistent state.
val list : print_short:bool ->
filter:[ `all | `installable | `installed | `roots ] ->
order:[ `depends | `normal ] ->
exact_name:bool -> case_sensitive:bool -> string list -> unit
Display all available packages that matches any of the regexps.
val info : fields:string list -> string list -> unit
Display a general summary of a collection of packages.
val install : OpamTypes.name_set -> bool option -> bool -> unit
Install the given set of packages. Second argument, if not None, specifies that given packages should be added or removed from the roots
val reinstall : OpamTypes.name_set -> unit
Reinstall the given set of packages.
val update : repos_only:bool -> OpamTypes.repository_name list -> unit
Refresh the available packages.
val upgrade : OpamTypes.name_set option -> unit
Find a consistent state where most of the installed packages are upgraded to their latest version. None means all the installed packages.
val remove : autoremove:bool -> force:bool -> OpamTypes.name_set -> unit
Remove the given set of packages.
module CONFIG: sig .. end
Config API.
module REPOSITORY: sig .. end
Repository API
module SWITCH: sig .. end
Switch API
module PIN: sig .. end
Pin API