瀏覽代碼

mas: add `lucky`, `outdated` (#13465)

---------

Co-authored-by: spageektti <git@spageektti.cc>
Cornelius Roemer 6 月之前
父節點
當前提交
791fbb90f2
共有 1 個文件被更改,包括 14 次插入2 次删除
  1. 14 2
      pages/osx/mas.md

+ 14 - 2
pages/osx/mas.md

@@ -15,10 +15,22 @@
 
 `mas search "{{application}}" --price`
 
-- Install or update an application:
+- Install or update an application using exact numeric id:
 
-`mas install {{product_identifier}}`
+`mas install {{numeric_product_id}}`
+
+- Install the first application that would be returned by the respective search:
+
+`mas lucky "{{search_term}}"`
+
+- List all outdated apps with pending updates:
+
+`mas outdated`
 
 - Install all pending updates:
 
 `mas upgrade`
+
+- Upgrade a specific application:
+
+`mas upgrade "{{numeric_product_id}}"`