Setup the context for the command
cmd_wd(command, wd = NULL)cmd_envvar(command, ..., action = "replace", sep = NULL)
cmd_envpath(command, ..., action = "prefix", name = "PATH")
cmd_conda(command, ..., root = NULL, action = "prefix")
cmd_wd
: The command
object itself, with working directory updated.
cmd_envvar
: The command
object itself, with running environment
variable updated.
cmd_envpath
: The command
object itself, with running environment
variable specified in name
updated.
cmd_conda
: The command
object itself, with running environment
variable PATH
updated.
A command
object.
A string or NULL
define the working directory of the command.
<dynamic dots>:
cmd_envvar
: Named character define the environment variables.
cmd_envpath
: Unnamed character to define the PATH
-like environment
variables name
.
cmd_conda
: Unnamed character to specify the name of conda environment.
Should the new values "replace"
, "prefix"
or "suffix"
existing environment variables?
A string to separate new and old value when action
is "prefix"
or "suffix"
. By default, " "
will be used.
A string define the PATH environment variable name. You
can use this to define other PATH
-like environment variable such as
PYTHONPATH
.
A string specifying the path to the conda root prefix. By
default, it utilizes the environment variable
BLIT_CONDA_ROOT
or the option blit.conda.root
. If neither is set, the
root prefix of appmamba()
will be used.
cmd_wd()
: define the working directory.
cmd_envvar()
: define the environment variables.
cmd_envpath()
: define the PATH
-like environment variables.
cmd_conda()
: Set conda-like
path to the PATH
environment
variables.
cmd_run()
/cmd_help()
/cmd_background()
cmd_on_start()
/cmd_on_exit()
cmd_on_succeed()
/cmd_on_fail()
cmd_parallel()