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 ->
installed_only:bool ->
installed_roots:bool ->
?name_only: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 -> unit
Install the given set of packages.
val reinstall : OpamTypes.name_set -> unit
Reinstall the given set of packages.
val update : 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 upload : OpamTypes.upload -> OpamTypes.repository_name -> unit
Upload a package to a remote repository.
val remove : autoremove: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