summaryrefslogtreecommitdiff
path: root/xmake/plugins/plugin/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/plugin/xmake.lua')
-rw-r--r--xmake/plugins/plugin/xmake.lua15
1 files changed, 11 insertions, 4 deletions
diff --git a/xmake/plugins/plugin/xmake.lua b/xmake/plugins/plugin/xmake.lua
index 05d9e3631..4aab3daa4 100644
--- a/xmake/plugins/plugin/xmake.lua
+++ b/xmake/plugins/plugin/xmake.lua
@@ -26,11 +26,18 @@ task("plugin")
description = "Manage plugins of xmake.",
options = {
{'i', "install", "k", nil, "Install plugins."},
- {'u', "update", "k", nil, "Update plugins."},
+ {'r', "remove", "k", nil, "Remove the given installed plugin."},
+ {'l', "list", "k", nil, "List all installed plugins."},
{'c', "clear", "k", nil, "Clear all installed plugins."},
- {nil, "plugins", "v", nil, "The plugins path or url.",
+ {nil, "plugins", "vs", nil, "The plugin paths, urls or names.",
"e.g.",
- " $ xmake plugin --install https://github.com/xmake-io/xmake-plugins",
- " $ xmake plugin --update"}
+ " $ xmake plugin --install https://github.com/myrepo/hello",
+ " $ xmake plugin --install github:myrepo/hello",
+ " $ xmake plugin --install github:myrepo/hello#dev",
+ " $ xmake plugin --install /tmp/my-plugin",
+ " $ xmake plugin --install xmake-repo@hello",
+ " $ xmake plugin --install hello",
+ " $ xmake plugin --remove hello",
+ " $ xmake plugin --list"}
}
}