Generate a script to update the software binaries in the background and use local ones within a shell session
Syntax
trdl use REPO GROUP [CHANNEL] | REPO VERSION [options]
Examples
# Source script in a shell
$ . $(trdl use repo_name 1.2 ea)
# Pin an exact version (prefix it with "v"; a plain number like "1.2" is a GROUP)
$ . $(trdl use repo_name v1.2.3)
# Pin a semver constraint (resolves to the greatest matching release)
$ . $(trdl use repo_name '>=1.2.0')
# Force script generation for a Unix shell on Windows
$ trdl use repo_name 1.2 ea --shell unix
Options
--no-self-update=false
Do not perform self-update (default $TRDL_NO_SELF_UPDATE or false)
--shell='unix'
Select the shell for which to prepare the script.
Supports `pwsh` and `unix` shells (default $TRDL_SHELL, `pwsh` for Windows or `unix`)
Options inherited from parent commands
-d, --debug=false
Enable debug output (default $TRDL_DEBUG or false)
--home-dir='~/.trdl'
Set trdl home directory (default $TRDL_HOME_DIR or ~/.trdl)