diff options
| author | ruki <[email protected]> | 2026-08-08 23:17:52 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-08-09 18:28:59 +0800 |
| commit | cf62f410738a7489fe052d183bcf616ecf5f7067 (patch) | |
| tree | ea9d09e1d05c3a392e9f08688618a1a9663625b3 /xmake/actions/addon/xmake.lua | |
| parent | 8564ea66201d1398cb8ee5b91efc784a379c4a64 (diff) | |
add addon search
Diffstat (limited to 'xmake/actions/addon/xmake.lua')
| -rw-r--r-- | xmake/actions/addon/xmake.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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"} } } |
