mise tool-alias get
- 用法:
mise tool-alias get <TOOL> <ALIAS> - 效果: 只读
- 源代码:
src/cli/tool_alias/get.rs
Show the version a tool's version alias stands for
Reads [tool_alias.TOOL.versions] from every loaded config file and the aliases the tool's backend provides, such as node's lts-* aliases. It prints the stored request, which may itself be a prefix.
参数
<TOOL>— 要显示别名的工具<ALIAS>— 要显示的别名
标志
-h --help— 打印帮助
示例
Show the version node's lts alias stands for
mise tool-alias get node lts
24Read back an alias you set
mise tool-alias set node project 20
mise tool-alias get node project
20