-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
/
Copy pathmas.ts
112 lines (112 loc) · 2.75 KB
/
mas.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
const completionSpec: Fig.Spec = {
name: "mas",
description: "A simple command line interface for the Mac App Store",
subcommands: [
{
name: "account",
description: "Prints the primary account Apple ID",
},
{
name: "help",
description: "Display general or command-specific help",
},
{
name: "home",
description: "Opens MAS Preview app page in a browser",
},
{
name: "info",
description: "Display app information from the Mac App Store",
args: {
name: "Application",
description: "The application you want to show info",
},
},
{
name: "install",
description: "Install an application",
args: {
name: "Application",
description: "The application you want to Install",
},
},
{
name: "list",
description:
"Lists apps from the Mac App Store which are currently installed",
},
{
name: "lucky",
description: "Install the first result from the Mac App Store",
args: {
name: "Application",
description: "The application you want to Install",
},
},
{
name: "open",
description: "Opens app page in AppStore.app",
args: {
name: "Application",
description: "The application you want to Open",
},
},
{
name: "outdated",
description: "Lists pending updates from the Mac App Store",
},
{
name: "purchase",
description: "Purchase and download free apps from the Mac App Store",
args: {
name: "Application",
description: "The application you want to purchase",
},
},
{
name: "reset",
description: "Resets the Mac App Store",
},
{
name: "search",
description: "Search for apps from the Mac App Store",
args: {
name: "Application",
description: "The application you want to Search",
},
},
{
name: "signin",
description: "Sign in to the Mac App Store",
},
{
name: "signout",
description: "Sign out of the Mac App Store",
},
{
name: "uninstall",
description: "Uninstall app installed from the Mac App Store",
args: {
name: "Application",
description: "The application you want to uninstall",
},
},
{
name: "upgrade",
description: "Upgrade outdated apps from the Mac App Store",
},
{
name: "vendor",
description: "Opens vendor's app page in a browser",
args: {
name: "App ID",
description: "The application you want to open vendor's app",
},
},
{
name: "version",
description: "Print version number",
},
],
};
export default completionSpec;