package opam-client
Install
Dune Dependency
Authors
-
VVincent Bernardoff <vb@luminar.eu.org>
-
RRaja Boujbel <raja.boujbel@ocamlpro.com>
-
RRoberto Di Cosmo <roberto@dicosmo.org>
-
TThomas Gazagnaire <thomas@gazagnaire.org>
-
LLouis Gesbert <louis.gesbert@ocamlpro.com>
-
FFabrice Le Fessant <Fabrice.Le_fessant@inria.fr>
-
AAnil Madhavapeddy <anil@recoil.org>
-
GGuillem Rieu <guillem.rieu@ocamlpro.com>
-
RRalf Treinen <ralf.treinen@pps.jussieu.fr>
-
FFrederic Tuong <tuong@users.gforge.inria.fr>
Maintainers
Sources
md5=1e55c234fa09e678e8115a31f3ec2a05
sha512=d71c362d70a6b6cb9fe54cc43bfbea8079cca05d4721a7dda951196f543a1ff5af81399a246e0cd68bc590c7bdca388d96c7127217ed637261957047ce725516
doc/opam-client/OpamConfigCommand/index.html
Module OpamConfigCommand
Source
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
Substitute files
Prints expansion of variables in string
Sets or unsets switch config variables
Sets or unsets global config variables
val exec :
[< OpamStateTypes.unlocked ] OpamStateTypes.global_state ->
?set_opamroot:bool ->
?set_opamswitch:bool ->
inplace_path:bool ->
string list ->
unit
Execute a command in a subshell, after variable expansion