A command-line tool to manage Robotmk environments.
After installing (see the 'Releases' section on the right side of the GitHub
repository page), run ./csm help for usage information.
There is a shell hook which can be installed to help integrate csm into your
shell. After csm is installed (ideally somewhere in your PATH), see
csm init for instructions on how to set up the hook.
You can optionally create a file, ~/.csmrc (%UserProfile%\.csmrc on Windows)
to override certain defaults. This is a YAML file with the following keys
available:
-
mamba_root_prefix- A string which sets where the Mamba environment(s) will be created on disk. By default, this is left up tomicromambaand its default root prefix is used. -
cache_dir- A string path which is used as the cache directory. Currently, this is used for storing themicromambabinary if it is downloaded bycsm(see next option). -
download_micromamba- A boolean, determines whether or notcsmshould try to downloadmicromambaif it was not found in$PATH. This is mostly useful for testing, but could be useful if you wish to ensurecsmnever downloadsmicromambaeven if the one in$PATHshould disappear. -
skip_longpaths_check- A boolean, which, if true, disables checking for LongPaths support on Windows. By default whencsm.exeruns, it will check for LongPaths support. If not already enabled, it will try to enable it. If this fails (for example, because the user runningcsm.exeis not an administrator),csm.exewill prompt for confirmation before continuing. Setting this configuration option to true, disables the check entirely. This option does nothing on non-Windows systems. -
env_createsection - for options affecting thecsm env createsubcommand.-
ssl_verify- A boolean, which, if true (default) enables SSL/TLS certificate verification. If false, verification is disabled when callingmicromambaand when usingpip. Setting this to false has the effect of setting the following environment variables whencsmcallsmicromamba:CURL_CA_BUNDLE=""PIP_CERT=""PIP_INDEX_URL="https://pypi.org/simple"PIP_TRUSTED_HOST="pypi.org files.pythonhosted.org pypi.pythonhosted.org"REQUESTS_CA_BUNDLE=""
This setting (and
ssl_bundlebelow) can be overridden with the--ssl-verifycommand-line argument tocsm env create. -
ssl_bundle- A string which configures the SSL/TLS certificate bundle to use when verifying certificates. Only taken into account whenssl_verifyis true. Setting this has the effect of setting the following environment variables whencsmcallsmicromamba:CURL_CA_BUNDLE="<value>"PIP_CERT="<value>"REQUESTS_CA_BUNDLE="<value>"
-
ssl_no_revoke- A boolean which instructsmicromambato not check SSL/TLS certificate revokation. Setting this has the effect of setting the following environment variable whencsmcallsmicromamba:MAMBA_SSL_NO_REVOKE="true"
This setting can be overridden with the
--ssl-no-revokecommand-line switch tocsm env create.
-