package opam-lib

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Config API.

val env : csh:bool -> sexp:bool -> fish:bool -> inplace_path:bool -> unit

Display environment.

val setup : OpamTypes.user_config option -> OpamTypes.global_config option -> unit

Global and user setup of OPAM.

val setup_list : OpamTypes.shell -> OpamTypes.filename -> unit

Display global and user informations about OPAM setup.

val exec : inplace_path:bool -> string list -> unit

Execute a command in a subshell with the right environment variables.

val list : OpamTypes.name list -> unit

Display variables and their contents.

val set : OpamTypes.full_variable -> string option -> unit

Sets or unsets a global switch variable

val expand : string -> unit

Prints the variable expansion of the given string

val variable : OpamTypes.full_variable -> unit

Display a given variable content.

val subst : OpamTypes.basename list -> unit

Substitute files.