@todesktop/cli 1.4.3 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/build/commands/build.js +1 -1
- package/build/commands/build.js.map +1 -1
- package/build/commands/builds.js +6 -4
- package/build/commands/builds.js.map +1 -1
- package/build/commands/logout.js +1 -1
- package/build/commands/logout.js.map +1 -1
- package/build/commands/release.js +1 -1
- package/build/commands/release.js.map +1 -1
- package/build/commands/whoami.js +1 -1
- package/build/commands/whoami.js.map +1 -1
- package/build/commands.json +56 -40
- package/package.json +2 -1
package/build/commands.json
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": [
|
|
3
3
|
{
|
|
4
|
-
"description": "
|
|
5
|
-
"positionalArgs": [
|
|
4
|
+
"description": "View your builds",
|
|
5
|
+
"positionalArgs": [
|
|
6
|
+
"id"
|
|
7
|
+
],
|
|
6
8
|
"args": [
|
|
7
9
|
{
|
|
8
|
-
"key": "
|
|
10
|
+
"key": "id",
|
|
11
|
+
"type": "string",
|
|
12
|
+
"description": "View a specific build by ID",
|
|
13
|
+
"isRequired": false,
|
|
14
|
+
"aliases": [],
|
|
15
|
+
"positional": true
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"key": "latest",
|
|
9
19
|
"type": "boolean",
|
|
10
|
-
"description": "
|
|
20
|
+
"description": "View the latest build",
|
|
11
21
|
"isRequired": false,
|
|
12
22
|
"aliases": [],
|
|
13
23
|
"positional": false
|
|
@@ -19,31 +29,37 @@
|
|
|
19
29
|
"isRequired": false,
|
|
20
30
|
"aliases": [],
|
|
21
31
|
"positional": false
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "count",
|
|
35
|
+
"type": "number",
|
|
36
|
+
"description": "Number of builds to show initially",
|
|
37
|
+
"isRequired": false,
|
|
38
|
+
"aliases": [],
|
|
39
|
+
"positional": false
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"key": "format",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"description": "Format to output the build details in, can be `json` or `table`, defaults to `table`",
|
|
45
|
+
"isRequired": false,
|
|
46
|
+
"aliases": [],
|
|
47
|
+
"positional": false
|
|
22
48
|
}
|
|
23
49
|
],
|
|
24
50
|
"isIndex": false,
|
|
25
|
-
"name": "
|
|
26
|
-
"path": "
|
|
51
|
+
"name": "builds",
|
|
52
|
+
"path": "builds.js",
|
|
27
53
|
"subCommands": []
|
|
28
54
|
},
|
|
29
55
|
{
|
|
30
|
-
"description": "
|
|
31
|
-
"positionalArgs": [
|
|
32
|
-
"id"
|
|
33
|
-
],
|
|
56
|
+
"description": "Build an Electron app with native installers, code signing baked-in, etc. but without releasing it (existing users won't get an auto-update). For quicker builds, you can append `--code-sign=false` to disable code-signing and notarization.",
|
|
57
|
+
"positionalArgs": [],
|
|
34
58
|
"args": [
|
|
35
59
|
{
|
|
36
|
-
"key": "
|
|
37
|
-
"type": "string",
|
|
38
|
-
"description": "View a specific build by ID",
|
|
39
|
-
"isRequired": false,
|
|
40
|
-
"aliases": [],
|
|
41
|
-
"positional": true
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"key": "latest",
|
|
60
|
+
"key": "codeSign",
|
|
45
61
|
"type": "boolean",
|
|
46
|
-
"description": "
|
|
62
|
+
"description": "Whether or not code-signing and notarization should be performed. Disable this for quicker builds",
|
|
47
63
|
"isRequired": false,
|
|
48
64
|
"aliases": [],
|
|
49
65
|
"positional": false
|
|
@@ -58,8 +74,26 @@
|
|
|
58
74
|
}
|
|
59
75
|
],
|
|
60
76
|
"isIndex": false,
|
|
61
|
-
"name": "
|
|
62
|
-
"path": "
|
|
77
|
+
"name": "build",
|
|
78
|
+
"path": "build.js",
|
|
79
|
+
"subCommands": []
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"description": "",
|
|
83
|
+
"positionalArgs": [],
|
|
84
|
+
"args": [],
|
|
85
|
+
"isIndex": false,
|
|
86
|
+
"name": "whoami",
|
|
87
|
+
"path": "whoami.js",
|
|
88
|
+
"subCommands": []
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"description": "",
|
|
92
|
+
"positionalArgs": [],
|
|
93
|
+
"args": [],
|
|
94
|
+
"isIndex": false,
|
|
95
|
+
"name": "logout",
|
|
96
|
+
"path": "logout.js",
|
|
63
97
|
"subCommands": []
|
|
64
98
|
},
|
|
65
99
|
{
|
|
@@ -105,24 +139,6 @@
|
|
|
105
139
|
"name": "release",
|
|
106
140
|
"path": "release.js",
|
|
107
141
|
"subCommands": []
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"description": "",
|
|
111
|
-
"positionalArgs": [],
|
|
112
|
-
"args": [],
|
|
113
|
-
"isIndex": false,
|
|
114
|
-
"name": "logout",
|
|
115
|
-
"path": "logout.js",
|
|
116
|
-
"subCommands": []
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
"description": "",
|
|
120
|
-
"positionalArgs": [],
|
|
121
|
-
"args": [],
|
|
122
|
-
"isIndex": false,
|
|
123
|
-
"name": "whoami",
|
|
124
|
-
"path": "whoami.js",
|
|
125
|
-
"subCommands": []
|
|
126
142
|
}
|
|
127
143
|
]
|
|
128
144
|
}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"name": "@todesktop/cli",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.5.0",
|
|
8
8
|
"license": "MIT",
|
|
9
9
|
"author": "Dave Jeffery <dave@todesktop.com> (http://www.todesktop.com/)",
|
|
10
10
|
"homepage": "https://todesktop.com/cli",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"bunyan": "^1.8.14",
|
|
49
49
|
"camelcase-keys": "^5.2.0",
|
|
50
50
|
"chalk": "^4.1.0",
|
|
51
|
+
"cli-highlight": "^2.1.11",
|
|
51
52
|
"conf": "^7.1.2",
|
|
52
53
|
"date-fns": "^2.28.0",
|
|
53
54
|
"decamelize": "^1.2.0",
|