From cf62f410738a7489fe052d183bcf616ecf5f7067 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 8 Aug 2026 23:17:52 +0800 Subject: add addon search --- xmake/actions/addon/xmake.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xmake/actions/addon/xmake.lua') diff --git a/xmake/actions/addon/xmake.lua b/xmake/actions/addon/xmake.lua index 8394c110b..240fef5bf 100644 --- a/xmake/actions/addon/xmake.lua +++ b/xmake/actions/addon/xmake.lua @@ -26,7 +26,8 @@ task("addon") description = "Manage addons of xmake.", options = { {'i', "install", "k", nil, "Install addons."}, - {'r', "remove", "k", nil, "Remove the given installed addon."}, + {'r', "remove", "k", nil, "Remove the given installed addons."}, + {'s', "search", "k", nil, "Search the addons from the repositories."}, {'l', "list", "k", nil, "List all installed addons."}, {'c', "clear", "k", nil, "Clear all installed addons."}, {nil, "addons", "vs", nil, "The addon paths, urls or names.", @@ -38,6 +39,7 @@ task("addon") " $ xmake addon --install xmake-repo@serial-monitor", " $ xmake addon --install serial-monitor", " $ xmake addon --remove serial-monitor", + " $ xmake addon --search serial", " $ xmake addon --list"} } } -- cgit v1.3.1