mise plugins link
- 用法:
mise plugins link [-f --force] <NAME> [DIR] - 别名:
ln - 作用: 修改状态
- 源代码:
src/cli/plugins/link.rs
将本地插件目录链接到 mise 以进行开发
Edits in the source directory take effect without reinstalling the plugin. Pass a name and a directory, or only a directory to name the plugin after it without an asdf-, mise-, or vfox- prefix. Use the bare name, without a vfox: or package: prefix: mise detects the plugin type from the directory. This does not install a tool version.
Arguments
<NAME>— The plugin name, or the plugin directory when DIR is omitted[DIR]— The local path to the plugin, such as ./mise-my-tool
Flags
-f --force— Replace an existing plugin with the same name-h --help— Print help
示例
Link ./mise-my-tool as the plugin my-tool
mise plugins link my-tool ./mise-my-toolInfer the name my-tool from the directory
mise plugins link ./mise-my-tool通过链接的插件列出版本
mise ls-remote my-tool