Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Functions handling the "opam config" subcommand
val env :
'a OpamStateTypes.global_state ->
OpamTypes.switch ->
?set_opamroot:bool ->
?set_opamswitch:bool ->
csh:bool ->
sexp:bool ->
fish:bool ->
inplace_path:bool ->
unit
Display the current environment. Booleans csh, sexp and fish set an alternative output (unspecified if more than one is true, sh-style by default). inplace_path
changes how the PATH variable is updated when there is already an opam entry: either at the same rank, or pushed in front.
Like env
but allows to specify the precise env to print rather than compute it from a switch state
Display the content of all available variables; global summary if the list is empty, package name "-" is understood as global configuration
Display the content of a given variable
Prints expansion of variables in string
Sets or unsets global config variables