legispro-cli 1.0.7 → 1.0.9
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 +43 -17
- package/bin/dev.cmd +1 -1
- package/bin/dev.js +5 -0
- package/bin/run.js +5 -0
- package/dist/commands/backup/create.js +13 -16
- package/dist/commands/backup/list.js +15 -18
- package/dist/commands/collection/add.d.ts +3 -3
- package/dist/commands/collection/add.js +31 -34
- package/dist/commands/collection/create.d.ts +5 -5
- package/dist/commands/collection/create.js +40 -43
- package/dist/commands/collection/delete.d.ts +1 -1
- package/dist/commands/collection/delete.js +20 -23
- package/dist/commands/collection/download.d.ts +2 -2
- package/dist/commands/collection/download.js +28 -31
- package/dist/commands/collection/get.d.ts +1 -1
- package/dist/commands/collection/get.js +21 -24
- package/dist/commands/collection/list.js +13 -16
- package/dist/commands/collection/perms.d.ts +3 -3
- package/dist/commands/collection/perms.js +29 -32
- package/dist/commands/collection/update.d.ts +7 -7
- package/dist/commands/collection/update.js +50 -54
- package/dist/commands/collection/upload.d.ts +3 -3
- package/dist/commands/collection/upload.js +39 -42
- package/dist/commands/config/get.d.ts +5 -1
- package/dist/commands/config/get.js +7 -10
- package/dist/commands/config/set.d.ts +5 -1
- package/dist/commands/config/set.js +41 -24
- package/dist/commands/db/init.js +18 -21
- package/dist/commands/db/memory.js +10 -12
- package/dist/commands/db/uptime.js +8 -10
- package/dist/commands/db/version.js +8 -10
- package/dist/commands/deploy/index.d.ts +10 -0
- package/dist/commands/deploy/index.js +130 -0
- package/dist/commands/document/copy.js +15 -18
- package/dist/commands/document/list.js +15 -18
- package/dist/commands/group/create.d.ts +5 -5
- package/dist/commands/group/create.js +36 -39
- package/dist/commands/group/delete.d.ts +1 -1
- package/dist/commands/group/delete.js +19 -22
- package/dist/commands/group/get.d.ts +1 -1
- package/dist/commands/group/get.js +20 -23
- package/dist/commands/group/list.js +8 -10
- package/dist/commands/group/update.d.ts +5 -5
- package/dist/commands/group/update.js +36 -39
- package/dist/commands/locks/add.js +16 -18
- package/dist/commands/locks/clear.js +11 -13
- package/dist/commands/services/health.js +11 -14
- package/dist/commands/user/create.d.ts +17 -17
- package/dist/commands/user/create.js +104 -107
- package/dist/commands/user/delete.d.ts +1 -1
- package/dist/commands/user/delete.js +24 -27
- package/dist/commands/user/get.d.ts +1 -1
- package/dist/commands/user/get.js +20 -23
- package/dist/commands/user/list.js +10 -13
- package/dist/commands/user/login.d.ts +2 -2
- package/dist/commands/user/login.js +30 -33
- package/dist/commands/user/update.d.ts +16 -16
- package/dist/commands/user/update.js +108 -111
- package/dist/index.js +1 -5
- package/dist/lib/fusiondb-client.d.ts +2 -1
- package/dist/lib/fusiondb-client.js +19 -18
- package/dist/lib/gh.d.ts +26 -0
- package/dist/lib/gh.js +37 -0
- package/dist/lib/rclone-client.js +12 -15
- package/dist/lib/shell.d.ts +24 -0
- package/dist/lib/shell.js +76 -0
- package/dist/lib/types.js +1 -2
- package/dist/lib/utils.d.ts +2 -2
- package/dist/lib/utils.js +4 -7
- package/dist/lib/xml-templates.js +6 -10
- package/oclif.manifest.json +972 -533
- package/package.json +51 -47
- package/bin/dev +0 -17
- package/bin/run +0 -5
- package/dist/commands/locks/list.d.ts +0 -7
- package/dist/commands/locks/list.js +0 -86
package/oclif.manifest.json
CHANGED
|
@@ -1,1063 +1,1502 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.7",
|
|
3
2
|
"commands": {
|
|
4
3
|
"backup:create": {
|
|
5
|
-
"id": "backup:create",
|
|
6
|
-
"description": "Create a database backup",
|
|
7
|
-
"strict": true,
|
|
8
|
-
"pluginName": "legispro-cli",
|
|
9
|
-
"pluginAlias": "legispro-cli",
|
|
10
|
-
"pluginType": "core",
|
|
11
4
|
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"description": "Create a database backup",
|
|
12
7
|
"examples": [
|
|
13
8
|
"$ legispro backup:create"
|
|
14
9
|
],
|
|
15
10
|
"flags": {},
|
|
16
|
-
"
|
|
11
|
+
"hasDynamicHelp": false,
|
|
12
|
+
"hiddenAliases": [],
|
|
13
|
+
"id": "backup:create",
|
|
14
|
+
"pluginAlias": "legispro-cli",
|
|
15
|
+
"pluginName": "legispro-cli",
|
|
16
|
+
"pluginType": "core",
|
|
17
|
+
"strict": true,
|
|
18
|
+
"enableJsonFlag": false,
|
|
19
|
+
"isESM": true,
|
|
20
|
+
"relativePath": [
|
|
21
|
+
"dist",
|
|
22
|
+
"commands",
|
|
23
|
+
"backup",
|
|
24
|
+
"create.js"
|
|
25
|
+
]
|
|
17
26
|
},
|
|
18
27
|
"backup:list": {
|
|
19
|
-
"
|
|
28
|
+
"aliases": [],
|
|
29
|
+
"args": {},
|
|
20
30
|
"description": "List all database backups",
|
|
31
|
+
"examples": [
|
|
32
|
+
"$ legispro backup:list"
|
|
33
|
+
],
|
|
34
|
+
"flags": {},
|
|
35
|
+
"hasDynamicHelp": false,
|
|
36
|
+
"hiddenAliases": [],
|
|
37
|
+
"id": "backup:list",
|
|
38
|
+
"pluginAlias": "legispro-cli",
|
|
39
|
+
"pluginName": "legispro-cli",
|
|
40
|
+
"pluginType": "core",
|
|
21
41
|
"strict": true,
|
|
42
|
+
"enableJsonFlag": false,
|
|
43
|
+
"isESM": true,
|
|
44
|
+
"relativePath": [
|
|
45
|
+
"dist",
|
|
46
|
+
"commands",
|
|
47
|
+
"backup",
|
|
48
|
+
"list.js"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"db:init": {
|
|
52
|
+
"aliases": [],
|
|
53
|
+
"args": {},
|
|
54
|
+
"description": "Initialize a new database",
|
|
55
|
+
"examples": [
|
|
56
|
+
"$ legispro db:init"
|
|
57
|
+
],
|
|
58
|
+
"flags": {},
|
|
59
|
+
"hasDynamicHelp": false,
|
|
60
|
+
"hiddenAliases": [],
|
|
61
|
+
"id": "db:init",
|
|
62
|
+
"pluginAlias": "legispro-cli",
|
|
22
63
|
"pluginName": "legispro-cli",
|
|
64
|
+
"pluginType": "core",
|
|
65
|
+
"strict": true,
|
|
66
|
+
"enableJsonFlag": false,
|
|
67
|
+
"isESM": true,
|
|
68
|
+
"relativePath": [
|
|
69
|
+
"dist",
|
|
70
|
+
"commands",
|
|
71
|
+
"db",
|
|
72
|
+
"init.js"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"db:memory": {
|
|
76
|
+
"aliases": [],
|
|
77
|
+
"args": {},
|
|
78
|
+
"description": "Database memory status",
|
|
79
|
+
"examples": [
|
|
80
|
+
"$ legispro db:memory"
|
|
81
|
+
],
|
|
82
|
+
"flags": {},
|
|
83
|
+
"hasDynamicHelp": false,
|
|
84
|
+
"hiddenAliases": [],
|
|
85
|
+
"id": "db:memory",
|
|
23
86
|
"pluginAlias": "legispro-cli",
|
|
87
|
+
"pluginName": "legispro-cli",
|
|
24
88
|
"pluginType": "core",
|
|
89
|
+
"strict": true,
|
|
90
|
+
"enableJsonFlag": false,
|
|
91
|
+
"isESM": true,
|
|
92
|
+
"relativePath": [
|
|
93
|
+
"dist",
|
|
94
|
+
"commands",
|
|
95
|
+
"db",
|
|
96
|
+
"memory.js"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"db:uptime": {
|
|
25
100
|
"aliases": [],
|
|
101
|
+
"args": {},
|
|
102
|
+
"description": "Get database uptime",
|
|
26
103
|
"examples": [
|
|
27
|
-
"$ legispro
|
|
104
|
+
"$ legispro db:uptime"
|
|
28
105
|
],
|
|
29
106
|
"flags": {},
|
|
30
|
-
"
|
|
107
|
+
"hasDynamicHelp": false,
|
|
108
|
+
"hiddenAliases": [],
|
|
109
|
+
"id": "db:uptime",
|
|
110
|
+
"pluginAlias": "legispro-cli",
|
|
111
|
+
"pluginName": "legispro-cli",
|
|
112
|
+
"pluginType": "core",
|
|
113
|
+
"strict": true,
|
|
114
|
+
"enableJsonFlag": false,
|
|
115
|
+
"isESM": true,
|
|
116
|
+
"relativePath": [
|
|
117
|
+
"dist",
|
|
118
|
+
"commands",
|
|
119
|
+
"db",
|
|
120
|
+
"uptime.js"
|
|
121
|
+
]
|
|
31
122
|
},
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
123
|
+
"db:version": {
|
|
124
|
+
"aliases": [],
|
|
125
|
+
"args": {},
|
|
126
|
+
"description": "Get database version",
|
|
127
|
+
"examples": [
|
|
128
|
+
"$ legispro db:version"
|
|
129
|
+
],
|
|
130
|
+
"flags": {},
|
|
131
|
+
"hasDynamicHelp": false,
|
|
132
|
+
"hiddenAliases": [],
|
|
133
|
+
"id": "db:version",
|
|
134
|
+
"pluginAlias": "legispro-cli",
|
|
135
|
+
"pluginName": "legispro-cli",
|
|
136
|
+
"pluginType": "core",
|
|
35
137
|
"strict": true,
|
|
138
|
+
"enableJsonFlag": false,
|
|
139
|
+
"isESM": true,
|
|
140
|
+
"relativePath": [
|
|
141
|
+
"dist",
|
|
142
|
+
"commands",
|
|
143
|
+
"db",
|
|
144
|
+
"version.js"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"config:get": {
|
|
148
|
+
"aliases": [],
|
|
149
|
+
"args": {},
|
|
150
|
+
"description": "Get your current configuration.",
|
|
151
|
+
"flags": {},
|
|
152
|
+
"hasDynamicHelp": false,
|
|
153
|
+
"hiddenAliases": [],
|
|
154
|
+
"id": "config:get",
|
|
155
|
+
"pluginAlias": "legispro-cli",
|
|
36
156
|
"pluginName": "legispro-cli",
|
|
157
|
+
"pluginType": "core",
|
|
158
|
+
"strict": true,
|
|
159
|
+
"enableJsonFlag": false,
|
|
160
|
+
"isESM": true,
|
|
161
|
+
"relativePath": [
|
|
162
|
+
"dist",
|
|
163
|
+
"commands",
|
|
164
|
+
"config",
|
|
165
|
+
"get.js"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
"config:set": {
|
|
169
|
+
"aliases": [],
|
|
170
|
+
"args": {},
|
|
171
|
+
"description": "Sets your user configuration.",
|
|
172
|
+
"flags": {
|
|
173
|
+
"hostname": {
|
|
174
|
+
"description": "Hostname",
|
|
175
|
+
"name": "hostname",
|
|
176
|
+
"required": false,
|
|
177
|
+
"hasDynamicHelp": false,
|
|
178
|
+
"multiple": false,
|
|
179
|
+
"type": "option"
|
|
180
|
+
},
|
|
181
|
+
"protocol": {
|
|
182
|
+
"description": "Protocol",
|
|
183
|
+
"name": "protocol",
|
|
184
|
+
"required": false,
|
|
185
|
+
"hasDynamicHelp": false,
|
|
186
|
+
"multiple": false,
|
|
187
|
+
"type": "option"
|
|
188
|
+
},
|
|
189
|
+
"port": {
|
|
190
|
+
"description": "Port",
|
|
191
|
+
"name": "port",
|
|
192
|
+
"required": false,
|
|
193
|
+
"hasDynamicHelp": false,
|
|
194
|
+
"multiple": false,
|
|
195
|
+
"type": "option"
|
|
196
|
+
},
|
|
197
|
+
"user": {
|
|
198
|
+
"description": "Admin user",
|
|
199
|
+
"name": "user",
|
|
200
|
+
"required": false,
|
|
201
|
+
"hasDynamicHelp": false,
|
|
202
|
+
"multiple": false,
|
|
203
|
+
"type": "option"
|
|
204
|
+
},
|
|
205
|
+
"password": {
|
|
206
|
+
"description": "Admin password",
|
|
207
|
+
"name": "password",
|
|
208
|
+
"required": false,
|
|
209
|
+
"hasDynamicHelp": false,
|
|
210
|
+
"multiple": false,
|
|
211
|
+
"type": "option"
|
|
212
|
+
},
|
|
213
|
+
"webdav": {
|
|
214
|
+
"description": "WebDAV path",
|
|
215
|
+
"name": "webdav",
|
|
216
|
+
"required": false,
|
|
217
|
+
"hasDynamicHelp": false,
|
|
218
|
+
"multiple": false,
|
|
219
|
+
"type": "option"
|
|
220
|
+
},
|
|
221
|
+
"group": {
|
|
222
|
+
"description": "User group",
|
|
223
|
+
"name": "group",
|
|
224
|
+
"required": false,
|
|
225
|
+
"hasDynamicHelp": false,
|
|
226
|
+
"multiple": false,
|
|
227
|
+
"type": "option"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"hasDynamicHelp": false,
|
|
231
|
+
"hiddenAliases": [],
|
|
232
|
+
"id": "config:set",
|
|
37
233
|
"pluginAlias": "legispro-cli",
|
|
234
|
+
"pluginName": "legispro-cli",
|
|
38
235
|
"pluginType": "core",
|
|
236
|
+
"strict": true,
|
|
237
|
+
"enableJsonFlag": false,
|
|
238
|
+
"isESM": true,
|
|
239
|
+
"relativePath": [
|
|
240
|
+
"dist",
|
|
241
|
+
"commands",
|
|
242
|
+
"config",
|
|
243
|
+
"set.js"
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
"collection:add": {
|
|
39
247
|
"aliases": [],
|
|
248
|
+
"args": {},
|
|
249
|
+
"description": "Add document to collection",
|
|
40
250
|
"examples": [
|
|
41
251
|
"$ legispro collection:add"
|
|
42
252
|
],
|
|
43
253
|
"flags": {
|
|
44
254
|
"name": {
|
|
45
|
-
"name": "name",
|
|
46
|
-
"type": "option",
|
|
47
255
|
"description": "Name",
|
|
256
|
+
"name": "name",
|
|
48
257
|
"required": false,
|
|
49
|
-
"
|
|
258
|
+
"hasDynamicHelp": false,
|
|
259
|
+
"multiple": false,
|
|
260
|
+
"type": "option"
|
|
50
261
|
},
|
|
51
262
|
"file": {
|
|
52
|
-
"name": "file",
|
|
53
|
-
"type": "option",
|
|
54
263
|
"description": "File",
|
|
264
|
+
"name": "file",
|
|
55
265
|
"required": false,
|
|
56
|
-
"
|
|
266
|
+
"hasDynamicHelp": false,
|
|
267
|
+
"multiple": false,
|
|
268
|
+
"type": "option"
|
|
57
269
|
},
|
|
58
270
|
"mediaType": {
|
|
59
|
-
"name": "mediaType",
|
|
60
|
-
"type": "option",
|
|
61
271
|
"description": "Media type",
|
|
272
|
+
"name": "mediaType",
|
|
62
273
|
"required": false,
|
|
63
|
-
"
|
|
274
|
+
"hasDynamicHelp": false,
|
|
275
|
+
"multiple": false,
|
|
276
|
+
"type": "option"
|
|
64
277
|
}
|
|
65
278
|
},
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"id": "collection:create",
|
|
70
|
-
"description": "Create a collection",
|
|
71
|
-
"strict": true,
|
|
72
|
-
"pluginName": "legispro-cli",
|
|
279
|
+
"hasDynamicHelp": false,
|
|
280
|
+
"hiddenAliases": [],
|
|
281
|
+
"id": "collection:add",
|
|
73
282
|
"pluginAlias": "legispro-cli",
|
|
283
|
+
"pluginName": "legispro-cli",
|
|
74
284
|
"pluginType": "core",
|
|
285
|
+
"strict": true,
|
|
286
|
+
"enableJsonFlag": false,
|
|
287
|
+
"isESM": true,
|
|
288
|
+
"relativePath": [
|
|
289
|
+
"dist",
|
|
290
|
+
"commands",
|
|
291
|
+
"collection",
|
|
292
|
+
"add.js"
|
|
293
|
+
]
|
|
294
|
+
},
|
|
295
|
+
"collection:create": {
|
|
75
296
|
"aliases": [],
|
|
297
|
+
"args": {},
|
|
298
|
+
"description": "Create a collection",
|
|
76
299
|
"examples": [
|
|
77
300
|
"$ legispro collection:create"
|
|
78
301
|
],
|
|
79
302
|
"flags": {
|
|
80
303
|
"name": {
|
|
81
|
-
"name": "name",
|
|
82
|
-
"type": "option",
|
|
83
304
|
"description": "Name",
|
|
305
|
+
"name": "name",
|
|
84
306
|
"required": false,
|
|
85
|
-
"
|
|
307
|
+
"hasDynamicHelp": false,
|
|
308
|
+
"multiple": false,
|
|
309
|
+
"type": "option"
|
|
86
310
|
},
|
|
87
311
|
"title": {
|
|
88
|
-
"name": "title",
|
|
89
|
-
"type": "option",
|
|
90
312
|
"description": "Title",
|
|
313
|
+
"name": "title",
|
|
91
314
|
"required": false,
|
|
92
|
-
"
|
|
315
|
+
"hasDynamicHelp": false,
|
|
316
|
+
"multiple": false,
|
|
317
|
+
"type": "option"
|
|
93
318
|
},
|
|
94
319
|
"baseURI": {
|
|
95
|
-
"name": "baseURI",
|
|
96
|
-
"type": "option",
|
|
97
320
|
"description": "Base URI",
|
|
321
|
+
"name": "baseURI",
|
|
98
322
|
"required": false,
|
|
99
|
-
"
|
|
323
|
+
"hasDynamicHelp": false,
|
|
324
|
+
"multiple": false,
|
|
325
|
+
"type": "option"
|
|
100
326
|
},
|
|
101
327
|
"defaultExt": {
|
|
102
|
-
"name": "defaultExt",
|
|
103
|
-
"type": "option",
|
|
104
328
|
"description": "Default extension",
|
|
329
|
+
"name": "defaultExt",
|
|
105
330
|
"required": false,
|
|
106
|
-
"
|
|
331
|
+
"hasDynamicHelp": false,
|
|
332
|
+
"multiple": false,
|
|
333
|
+
"type": "option"
|
|
107
334
|
},
|
|
108
335
|
"type": {
|
|
109
|
-
"name": "type",
|
|
110
|
-
"type": "option",
|
|
111
336
|
"description": "Collection type",
|
|
337
|
+
"name": "type",
|
|
112
338
|
"required": false,
|
|
113
|
-
"
|
|
339
|
+
"hasDynamicHelp": false,
|
|
340
|
+
"multiple": false,
|
|
341
|
+
"type": "option"
|
|
114
342
|
}
|
|
115
343
|
},
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
"id": "collection:delete",
|
|
120
|
-
"description": "Delete a collection",
|
|
121
|
-
"strict": true,
|
|
122
|
-
"pluginName": "legispro-cli",
|
|
344
|
+
"hasDynamicHelp": false,
|
|
345
|
+
"hiddenAliases": [],
|
|
346
|
+
"id": "collection:create",
|
|
123
347
|
"pluginAlias": "legispro-cli",
|
|
348
|
+
"pluginName": "legispro-cli",
|
|
124
349
|
"pluginType": "core",
|
|
350
|
+
"strict": true,
|
|
351
|
+
"enableJsonFlag": false,
|
|
352
|
+
"isESM": true,
|
|
353
|
+
"relativePath": [
|
|
354
|
+
"dist",
|
|
355
|
+
"commands",
|
|
356
|
+
"collection",
|
|
357
|
+
"create.js"
|
|
358
|
+
]
|
|
359
|
+
},
|
|
360
|
+
"collection:delete": {
|
|
125
361
|
"aliases": [],
|
|
362
|
+
"args": {},
|
|
363
|
+
"description": "Delete a collection",
|
|
126
364
|
"examples": [
|
|
127
365
|
"$ legispro collection:delete"
|
|
128
366
|
],
|
|
129
367
|
"flags": {
|
|
130
368
|
"name": {
|
|
131
|
-
"name": "name",
|
|
132
|
-
"type": "option",
|
|
133
369
|
"description": "Name",
|
|
370
|
+
"name": "name",
|
|
134
371
|
"required": false,
|
|
135
|
-
"
|
|
372
|
+
"hasDynamicHelp": false,
|
|
373
|
+
"multiple": false,
|
|
374
|
+
"type": "option"
|
|
136
375
|
}
|
|
137
376
|
},
|
|
138
|
-
"
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"id": "collection:download",
|
|
142
|
-
"description": "Download files from collection",
|
|
143
|
-
"strict": true,
|
|
144
|
-
"pluginName": "legispro-cli",
|
|
377
|
+
"hasDynamicHelp": false,
|
|
378
|
+
"hiddenAliases": [],
|
|
379
|
+
"id": "collection:delete",
|
|
145
380
|
"pluginAlias": "legispro-cli",
|
|
381
|
+
"pluginName": "legispro-cli",
|
|
146
382
|
"pluginType": "core",
|
|
383
|
+
"strict": true,
|
|
384
|
+
"enableJsonFlag": false,
|
|
385
|
+
"isESM": true,
|
|
386
|
+
"relativePath": [
|
|
387
|
+
"dist",
|
|
388
|
+
"commands",
|
|
389
|
+
"collection",
|
|
390
|
+
"delete.js"
|
|
391
|
+
]
|
|
392
|
+
},
|
|
393
|
+
"collection:download": {
|
|
147
394
|
"aliases": [],
|
|
395
|
+
"args": {},
|
|
396
|
+
"description": "Download files from collection",
|
|
148
397
|
"examples": [
|
|
149
398
|
"$ legispro collection:download"
|
|
150
399
|
],
|
|
151
400
|
"flags": {
|
|
152
401
|
"name": {
|
|
153
|
-
"name": "name",
|
|
154
|
-
"type": "option",
|
|
155
402
|
"description": "Name",
|
|
403
|
+
"name": "name",
|
|
156
404
|
"required": false,
|
|
157
|
-
"
|
|
405
|
+
"hasDynamicHelp": false,
|
|
406
|
+
"multiple": false,
|
|
407
|
+
"type": "option"
|
|
158
408
|
},
|
|
159
409
|
"dest": {
|
|
160
|
-
"name": "dest",
|
|
161
|
-
"type": "option",
|
|
162
410
|
"description": "Destination folder",
|
|
411
|
+
"name": "dest",
|
|
163
412
|
"required": false,
|
|
164
|
-
"
|
|
413
|
+
"hasDynamicHelp": false,
|
|
414
|
+
"multiple": false,
|
|
415
|
+
"type": "option"
|
|
165
416
|
}
|
|
166
417
|
},
|
|
167
|
-
"
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
"id": "collection:get",
|
|
171
|
-
"description": "Get collection info & contents",
|
|
172
|
-
"strict": true,
|
|
173
|
-
"pluginName": "legispro-cli",
|
|
418
|
+
"hasDynamicHelp": false,
|
|
419
|
+
"hiddenAliases": [],
|
|
420
|
+
"id": "collection:download",
|
|
174
421
|
"pluginAlias": "legispro-cli",
|
|
422
|
+
"pluginName": "legispro-cli",
|
|
175
423
|
"pluginType": "core",
|
|
424
|
+
"strict": true,
|
|
425
|
+
"enableJsonFlag": false,
|
|
426
|
+
"isESM": true,
|
|
427
|
+
"relativePath": [
|
|
428
|
+
"dist",
|
|
429
|
+
"commands",
|
|
430
|
+
"collection",
|
|
431
|
+
"download.js"
|
|
432
|
+
]
|
|
433
|
+
},
|
|
434
|
+
"collection:get": {
|
|
176
435
|
"aliases": [],
|
|
436
|
+
"args": {},
|
|
437
|
+
"description": "Get collection info & contents",
|
|
177
438
|
"examples": [
|
|
178
439
|
"$ legispro collection:get"
|
|
179
440
|
],
|
|
180
441
|
"flags": {
|
|
181
442
|
"name": {
|
|
182
|
-
"name": "name",
|
|
183
|
-
"type": "option",
|
|
184
443
|
"description": "Name",
|
|
444
|
+
"name": "name",
|
|
185
445
|
"required": false,
|
|
186
|
-
"
|
|
446
|
+
"hasDynamicHelp": false,
|
|
447
|
+
"multiple": false,
|
|
448
|
+
"type": "option"
|
|
187
449
|
}
|
|
188
450
|
},
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"id": "collection:list",
|
|
193
|
-
"description": "List collections",
|
|
194
|
-
"strict": true,
|
|
195
|
-
"pluginName": "legispro-cli",
|
|
451
|
+
"hasDynamicHelp": false,
|
|
452
|
+
"hiddenAliases": [],
|
|
453
|
+
"id": "collection:get",
|
|
196
454
|
"pluginAlias": "legispro-cli",
|
|
455
|
+
"pluginName": "legispro-cli",
|
|
197
456
|
"pluginType": "core",
|
|
457
|
+
"strict": true,
|
|
458
|
+
"enableJsonFlag": false,
|
|
459
|
+
"isESM": true,
|
|
460
|
+
"relativePath": [
|
|
461
|
+
"dist",
|
|
462
|
+
"commands",
|
|
463
|
+
"collection",
|
|
464
|
+
"get.js"
|
|
465
|
+
]
|
|
466
|
+
},
|
|
467
|
+
"collection:list": {
|
|
198
468
|
"aliases": [],
|
|
469
|
+
"args": {},
|
|
470
|
+
"description": "List collections",
|
|
199
471
|
"examples": [
|
|
200
472
|
"$ legispro collection:list"
|
|
201
473
|
],
|
|
202
474
|
"flags": {},
|
|
203
|
-
"
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
"id": "collection:perms",
|
|
207
|
-
"description": "Update file permissions for a collection.",
|
|
208
|
-
"strict": true,
|
|
209
|
-
"pluginName": "legispro-cli",
|
|
475
|
+
"hasDynamicHelp": false,
|
|
476
|
+
"hiddenAliases": [],
|
|
477
|
+
"id": "collection:list",
|
|
210
478
|
"pluginAlias": "legispro-cli",
|
|
479
|
+
"pluginName": "legispro-cli",
|
|
211
480
|
"pluginType": "core",
|
|
481
|
+
"strict": true,
|
|
482
|
+
"enableJsonFlag": false,
|
|
483
|
+
"isESM": true,
|
|
484
|
+
"relativePath": [
|
|
485
|
+
"dist",
|
|
486
|
+
"commands",
|
|
487
|
+
"collection",
|
|
488
|
+
"list.js"
|
|
489
|
+
]
|
|
490
|
+
},
|
|
491
|
+
"collection:perms": {
|
|
212
492
|
"aliases": [],
|
|
493
|
+
"args": {},
|
|
494
|
+
"description": "Update file permissions for a collection.",
|
|
213
495
|
"examples": [
|
|
214
496
|
"$ legispro collection:perms"
|
|
215
497
|
],
|
|
216
498
|
"flags": {
|
|
217
499
|
"name": {
|
|
218
|
-
"name": "name",
|
|
219
|
-
"type": "option",
|
|
220
500
|
"description": "Collection name",
|
|
501
|
+
"name": "name",
|
|
221
502
|
"required": false,
|
|
222
|
-
"
|
|
503
|
+
"hasDynamicHelp": false,
|
|
504
|
+
"multiple": false,
|
|
505
|
+
"type": "option"
|
|
223
506
|
},
|
|
224
507
|
"source": {
|
|
225
|
-
"name": "source",
|
|
226
|
-
"type": "option",
|
|
227
508
|
"description": "Source folder",
|
|
509
|
+
"name": "source",
|
|
228
510
|
"required": false,
|
|
229
|
-
"
|
|
511
|
+
"hasDynamicHelp": false,
|
|
512
|
+
"multiple": false,
|
|
513
|
+
"type": "option"
|
|
230
514
|
},
|
|
231
515
|
"type": {
|
|
232
|
-
"name": "type",
|
|
233
|
-
"type": "option",
|
|
234
516
|
"description": "Collection type",
|
|
517
|
+
"name": "type",
|
|
235
518
|
"required": false,
|
|
236
|
-
"
|
|
519
|
+
"hasDynamicHelp": false,
|
|
520
|
+
"multiple": false,
|
|
521
|
+
"type": "option"
|
|
237
522
|
}
|
|
238
523
|
},
|
|
239
|
-
"
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
"id": "collection:update",
|
|
243
|
-
"description": "Update a collection",
|
|
244
|
-
"strict": true,
|
|
245
|
-
"pluginName": "legispro-cli",
|
|
524
|
+
"hasDynamicHelp": false,
|
|
525
|
+
"hiddenAliases": [],
|
|
526
|
+
"id": "collection:perms",
|
|
246
527
|
"pluginAlias": "legispro-cli",
|
|
528
|
+
"pluginName": "legispro-cli",
|
|
247
529
|
"pluginType": "core",
|
|
530
|
+
"strict": true,
|
|
531
|
+
"enableJsonFlag": false,
|
|
532
|
+
"isESM": true,
|
|
533
|
+
"relativePath": [
|
|
534
|
+
"dist",
|
|
535
|
+
"commands",
|
|
536
|
+
"collection",
|
|
537
|
+
"perms.js"
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
"collection:update": {
|
|
248
541
|
"aliases": [],
|
|
542
|
+
"args": {},
|
|
543
|
+
"description": "Update a collection",
|
|
249
544
|
"examples": [
|
|
250
545
|
"$ legispro collection:update"
|
|
251
546
|
],
|
|
252
547
|
"flags": {
|
|
253
548
|
"name": {
|
|
254
|
-
"name": "name",
|
|
255
|
-
"type": "option",
|
|
256
549
|
"description": "Name",
|
|
550
|
+
"name": "name",
|
|
257
551
|
"required": false,
|
|
258
|
-
"
|
|
552
|
+
"hasDynamicHelp": false,
|
|
553
|
+
"multiple": false,
|
|
554
|
+
"type": "option"
|
|
259
555
|
},
|
|
260
556
|
"title": {
|
|
261
|
-
"name": "title",
|
|
262
|
-
"type": "option",
|
|
263
557
|
"description": "Title",
|
|
558
|
+
"name": "title",
|
|
264
559
|
"required": false,
|
|
265
|
-
"
|
|
560
|
+
"hasDynamicHelp": false,
|
|
561
|
+
"multiple": false,
|
|
562
|
+
"type": "option"
|
|
266
563
|
},
|
|
267
564
|
"baseURI": {
|
|
268
|
-
"name": "baseURI",
|
|
269
|
-
"type": "option",
|
|
270
565
|
"description": "Base URI",
|
|
566
|
+
"name": "baseURI",
|
|
271
567
|
"required": false,
|
|
272
|
-
"
|
|
568
|
+
"hasDynamicHelp": false,
|
|
569
|
+
"multiple": false,
|
|
570
|
+
"type": "option"
|
|
273
571
|
},
|
|
274
572
|
"defaultExt": {
|
|
275
|
-
"name": "defaultExt",
|
|
276
|
-
"type": "option",
|
|
277
573
|
"description": "Default extension",
|
|
574
|
+
"name": "defaultExt",
|
|
278
575
|
"required": false,
|
|
279
|
-
"
|
|
576
|
+
"hasDynamicHelp": false,
|
|
577
|
+
"multiple": false,
|
|
578
|
+
"type": "option"
|
|
280
579
|
},
|
|
281
580
|
"type": {
|
|
282
|
-
"name": "type",
|
|
283
|
-
"type": "option",
|
|
284
581
|
"description": "Collection type",
|
|
582
|
+
"name": "type",
|
|
285
583
|
"required": false,
|
|
286
|
-
"
|
|
584
|
+
"hasDynamicHelp": false,
|
|
585
|
+
"multiple": false,
|
|
586
|
+
"type": "option"
|
|
287
587
|
},
|
|
288
588
|
"owner": {
|
|
289
|
-
"name": "owner",
|
|
290
|
-
"type": "option",
|
|
291
589
|
"description": "Collection owner",
|
|
590
|
+
"name": "owner",
|
|
292
591
|
"required": false,
|
|
293
|
-
"
|
|
592
|
+
"hasDynamicHelp": false,
|
|
593
|
+
"multiple": false,
|
|
594
|
+
"type": "option"
|
|
294
595
|
},
|
|
295
596
|
"group": {
|
|
296
|
-
"name": "group",
|
|
297
|
-
"type": "option",
|
|
298
597
|
"description": "Collection group",
|
|
598
|
+
"name": "group",
|
|
299
599
|
"required": false,
|
|
300
|
-
"
|
|
600
|
+
"hasDynamicHelp": false,
|
|
601
|
+
"multiple": false,
|
|
602
|
+
"type": "option"
|
|
301
603
|
}
|
|
302
604
|
},
|
|
303
|
-
"
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
"id": "collection:upload",
|
|
307
|
-
"description": "Upload files to collection",
|
|
308
|
-
"strict": true,
|
|
309
|
-
"pluginName": "legispro-cli",
|
|
605
|
+
"hasDynamicHelp": false,
|
|
606
|
+
"hiddenAliases": [],
|
|
607
|
+
"id": "collection:update",
|
|
310
608
|
"pluginAlias": "legispro-cli",
|
|
609
|
+
"pluginName": "legispro-cli",
|
|
311
610
|
"pluginType": "core",
|
|
611
|
+
"strict": true,
|
|
612
|
+
"enableJsonFlag": false,
|
|
613
|
+
"isESM": true,
|
|
614
|
+
"relativePath": [
|
|
615
|
+
"dist",
|
|
616
|
+
"commands",
|
|
617
|
+
"collection",
|
|
618
|
+
"update.js"
|
|
619
|
+
]
|
|
620
|
+
},
|
|
621
|
+
"collection:upload": {
|
|
312
622
|
"aliases": [],
|
|
623
|
+
"args": {},
|
|
624
|
+
"description": "Upload files to collection",
|
|
313
625
|
"examples": [
|
|
314
626
|
"$ legispro collection:upload"
|
|
315
627
|
],
|
|
316
628
|
"flags": {
|
|
317
629
|
"name": {
|
|
318
|
-
"name": "name",
|
|
319
|
-
"type": "option",
|
|
320
630
|
"description": "Collection name",
|
|
631
|
+
"name": "name",
|
|
321
632
|
"required": false,
|
|
322
|
-
"
|
|
633
|
+
"hasDynamicHelp": false,
|
|
634
|
+
"multiple": false,
|
|
635
|
+
"type": "option"
|
|
323
636
|
},
|
|
324
637
|
"source": {
|
|
325
|
-
"name": "source",
|
|
326
|
-
"type": "option",
|
|
327
638
|
"description": "Source folder",
|
|
639
|
+
"name": "source",
|
|
328
640
|
"required": false,
|
|
329
|
-
"
|
|
641
|
+
"hasDynamicHelp": false,
|
|
642
|
+
"multiple": false,
|
|
643
|
+
"type": "option"
|
|
330
644
|
},
|
|
331
645
|
"type": {
|
|
332
|
-
"name": "type",
|
|
333
|
-
"type": "option",
|
|
334
646
|
"description": "Collection type",
|
|
647
|
+
"name": "type",
|
|
335
648
|
"required": false,
|
|
336
|
-
"
|
|
649
|
+
"hasDynamicHelp": false,
|
|
650
|
+
"multiple": false,
|
|
651
|
+
"type": "option"
|
|
337
652
|
}
|
|
338
653
|
},
|
|
339
|
-
"
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
"id": "config:get",
|
|
343
|
-
"description": "Get your current configuration.",
|
|
344
|
-
"strict": true,
|
|
345
|
-
"pluginName": "legispro-cli",
|
|
654
|
+
"hasDynamicHelp": false,
|
|
655
|
+
"hiddenAliases": [],
|
|
656
|
+
"id": "collection:upload",
|
|
346
657
|
"pluginAlias": "legispro-cli",
|
|
347
|
-
"pluginType": "core",
|
|
348
|
-
"aliases": [],
|
|
349
|
-
"flags": {},
|
|
350
|
-
"args": {}
|
|
351
|
-
},
|
|
352
|
-
"config:set": {
|
|
353
|
-
"id": "config:set",
|
|
354
|
-
"description": "Sets your user configuration.",
|
|
355
|
-
"strict": true,
|
|
356
658
|
"pluginName": "legispro-cli",
|
|
357
|
-
"pluginAlias": "legispro-cli",
|
|
358
659
|
"pluginType": "core",
|
|
660
|
+
"strict": true,
|
|
661
|
+
"enableJsonFlag": false,
|
|
662
|
+
"isESM": true,
|
|
663
|
+
"relativePath": [
|
|
664
|
+
"dist",
|
|
665
|
+
"commands",
|
|
666
|
+
"collection",
|
|
667
|
+
"upload.js"
|
|
668
|
+
]
|
|
669
|
+
},
|
|
670
|
+
"deploy": {
|
|
359
671
|
"aliases": [],
|
|
672
|
+
"args": {},
|
|
673
|
+
"description": "Executes a docker deployment",
|
|
674
|
+
"examples": [
|
|
675
|
+
"<%= config.bin %> <%= command.id %>"
|
|
676
|
+
],
|
|
360
677
|
"flags": {
|
|
361
|
-
"
|
|
362
|
-
"
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
"name": "protocol",
|
|
370
|
-
"type": "option",
|
|
371
|
-
"description": "Protocol",
|
|
372
|
-
"required": false,
|
|
373
|
-
"multiple": false
|
|
374
|
-
},
|
|
375
|
-
"port": {
|
|
376
|
-
"name": "port",
|
|
377
|
-
"type": "option",
|
|
378
|
-
"description": "Port",
|
|
379
|
-
"required": false,
|
|
380
|
-
"multiple": false
|
|
381
|
-
},
|
|
382
|
-
"user": {
|
|
383
|
-
"name": "user",
|
|
384
|
-
"type": "option",
|
|
385
|
-
"description": "Admin user",
|
|
386
|
-
"required": false,
|
|
387
|
-
"multiple": false
|
|
388
|
-
},
|
|
389
|
-
"password": {
|
|
390
|
-
"name": "password",
|
|
391
|
-
"type": "option",
|
|
392
|
-
"description": "Admin password",
|
|
393
|
-
"required": false,
|
|
394
|
-
"multiple": false
|
|
395
|
-
},
|
|
396
|
-
"webdav": {
|
|
397
|
-
"name": "webdav",
|
|
398
|
-
"type": "option",
|
|
399
|
-
"description": "WebDAV path",
|
|
400
|
-
"required": false,
|
|
401
|
-
"multiple": false
|
|
678
|
+
"installationPath": {
|
|
679
|
+
"char": "p",
|
|
680
|
+
"description": "Server installation path",
|
|
681
|
+
"name": "installationPath",
|
|
682
|
+
"default": "C:/legispro/deploy/",
|
|
683
|
+
"hasDynamicHelp": false,
|
|
684
|
+
"multiple": false,
|
|
685
|
+
"type": "option"
|
|
402
686
|
},
|
|
403
|
-
"
|
|
404
|
-
"
|
|
405
|
-
"
|
|
406
|
-
"
|
|
407
|
-
"
|
|
408
|
-
"multiple": false
|
|
687
|
+
"env": {
|
|
688
|
+
"char": "e",
|
|
689
|
+
"description": "Environment variables file",
|
|
690
|
+
"name": "env",
|
|
691
|
+
"hasDynamicHelp": false,
|
|
692
|
+
"multiple": false,
|
|
693
|
+
"options": [
|
|
694
|
+
"ola-dev",
|
|
695
|
+
"ola-qa",
|
|
696
|
+
"ola-linux-dev"
|
|
697
|
+
],
|
|
698
|
+
"type": "option"
|
|
409
699
|
}
|
|
410
700
|
},
|
|
411
|
-
"
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
"id": "db:init",
|
|
415
|
-
"description": "Initialize a new database",
|
|
416
|
-
"strict": true,
|
|
417
|
-
"pluginName": "legispro-cli",
|
|
701
|
+
"hasDynamicHelp": false,
|
|
702
|
+
"hiddenAliases": [],
|
|
703
|
+
"id": "deploy",
|
|
418
704
|
"pluginAlias": "legispro-cli",
|
|
419
|
-
"pluginType": "core",
|
|
420
|
-
"aliases": [],
|
|
421
|
-
"examples": [
|
|
422
|
-
"$ legispro db:init"
|
|
423
|
-
],
|
|
424
|
-
"flags": {},
|
|
425
|
-
"args": {}
|
|
426
|
-
},
|
|
427
|
-
"db:memory": {
|
|
428
|
-
"id": "db:memory",
|
|
429
|
-
"description": "Database memory status",
|
|
430
|
-
"strict": true,
|
|
431
705
|
"pluginName": "legispro-cli",
|
|
432
|
-
"pluginAlias": "legispro-cli",
|
|
433
706
|
"pluginType": "core",
|
|
434
|
-
"aliases": [],
|
|
435
|
-
"examples": [
|
|
436
|
-
"$ legispro db:memory"
|
|
437
|
-
],
|
|
438
|
-
"flags": {},
|
|
439
|
-
"args": {}
|
|
440
|
-
},
|
|
441
|
-
"db:uptime": {
|
|
442
|
-
"id": "db:uptime",
|
|
443
|
-
"description": "Get database uptime",
|
|
444
707
|
"strict": true,
|
|
445
|
-
"
|
|
446
|
-
"
|
|
447
|
-
"
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
"
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
"args": {}
|
|
708
|
+
"enableJsonFlag": false,
|
|
709
|
+
"isESM": true,
|
|
710
|
+
"relativePath": [
|
|
711
|
+
"dist",
|
|
712
|
+
"commands",
|
|
713
|
+
"deploy",
|
|
714
|
+
"index.js"
|
|
715
|
+
]
|
|
454
716
|
},
|
|
455
|
-
"
|
|
456
|
-
"id": "db:version",
|
|
457
|
-
"description": "Get database version",
|
|
458
|
-
"strict": true,
|
|
459
|
-
"pluginName": "legispro-cli",
|
|
460
|
-
"pluginAlias": "legispro-cli",
|
|
461
|
-
"pluginType": "core",
|
|
717
|
+
"document:copy": {
|
|
462
718
|
"aliases": [],
|
|
719
|
+
"args": {},
|
|
720
|
+
"description": "List documents",
|
|
463
721
|
"examples": [
|
|
464
|
-
"$ legispro
|
|
722
|
+
"$ legispro document:list"
|
|
465
723
|
],
|
|
466
724
|
"flags": {},
|
|
467
|
-
"
|
|
468
|
-
|
|
469
|
-
"document:copy": {
|
|
725
|
+
"hasDynamicHelp": false,
|
|
726
|
+
"hiddenAliases": [],
|
|
470
727
|
"id": "document:copy",
|
|
471
|
-
"description": "List documents",
|
|
472
|
-
"strict": true,
|
|
473
|
-
"pluginName": "legispro-cli",
|
|
474
728
|
"pluginAlias": "legispro-cli",
|
|
729
|
+
"pluginName": "legispro-cli",
|
|
475
730
|
"pluginType": "core",
|
|
731
|
+
"strict": true,
|
|
732
|
+
"enableJsonFlag": false,
|
|
733
|
+
"isESM": true,
|
|
734
|
+
"relativePath": [
|
|
735
|
+
"dist",
|
|
736
|
+
"commands",
|
|
737
|
+
"document",
|
|
738
|
+
"copy.js"
|
|
739
|
+
]
|
|
740
|
+
},
|
|
741
|
+
"document:list": {
|
|
476
742
|
"aliases": [],
|
|
743
|
+
"args": {},
|
|
744
|
+
"description": "List documents",
|
|
477
745
|
"examples": [
|
|
478
746
|
"$ legispro document:list"
|
|
479
747
|
],
|
|
480
748
|
"flags": {},
|
|
481
|
-
"
|
|
482
|
-
|
|
483
|
-
"document:list": {
|
|
749
|
+
"hasDynamicHelp": false,
|
|
750
|
+
"hiddenAliases": [],
|
|
484
751
|
"id": "document:list",
|
|
485
|
-
"description": "List documents",
|
|
486
|
-
"strict": true,
|
|
487
|
-
"pluginName": "legispro-cli",
|
|
488
752
|
"pluginAlias": "legispro-cli",
|
|
753
|
+
"pluginName": "legispro-cli",
|
|
489
754
|
"pluginType": "core",
|
|
490
|
-
"
|
|
491
|
-
"
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
755
|
+
"strict": true,
|
|
756
|
+
"enableJsonFlag": false,
|
|
757
|
+
"isESM": true,
|
|
758
|
+
"relativePath": [
|
|
759
|
+
"dist",
|
|
760
|
+
"commands",
|
|
761
|
+
"document",
|
|
762
|
+
"list.js"
|
|
763
|
+
]
|
|
496
764
|
},
|
|
497
765
|
"group:create": {
|
|
498
|
-
"id": "group:create",
|
|
499
|
-
"description": "Create group",
|
|
500
|
-
"strict": true,
|
|
501
|
-
"pluginName": "legispro-cli",
|
|
502
|
-
"pluginAlias": "legispro-cli",
|
|
503
|
-
"pluginType": "core",
|
|
504
766
|
"aliases": [],
|
|
767
|
+
"args": {},
|
|
768
|
+
"description": "Create group",
|
|
505
769
|
"examples": [
|
|
506
770
|
"$ legispro groupr:create"
|
|
507
771
|
],
|
|
508
772
|
"flags": {
|
|
509
773
|
"name": {
|
|
510
|
-
"name": "name",
|
|
511
|
-
"type": "option",
|
|
512
774
|
"description": "Name",
|
|
775
|
+
"name": "name",
|
|
513
776
|
"required": false,
|
|
514
|
-
"
|
|
777
|
+
"hasDynamicHelp": false,
|
|
778
|
+
"multiple": false,
|
|
779
|
+
"type": "option"
|
|
515
780
|
},
|
|
516
781
|
"managers": {
|
|
517
|
-
"name": "managers",
|
|
518
|
-
"type": "option",
|
|
519
782
|
"description": "Managers",
|
|
783
|
+
"name": "managers",
|
|
520
784
|
"required": false,
|
|
521
|
-
"
|
|
785
|
+
"hasDynamicHelp": false,
|
|
786
|
+
"multiple": false,
|
|
787
|
+
"type": "option"
|
|
522
788
|
},
|
|
523
789
|
"email": {
|
|
524
|
-
"name": "email",
|
|
525
|
-
"type": "option",
|
|
526
790
|
"description": "email",
|
|
791
|
+
"name": "email",
|
|
527
792
|
"required": false,
|
|
528
|
-
"
|
|
793
|
+
"hasDynamicHelp": false,
|
|
794
|
+
"multiple": false,
|
|
795
|
+
"type": "option"
|
|
529
796
|
},
|
|
530
797
|
"language": {
|
|
531
|
-
"name": "language",
|
|
532
|
-
"type": "option",
|
|
533
798
|
"description": "language",
|
|
799
|
+
"name": "language",
|
|
534
800
|
"required": false,
|
|
535
|
-
"
|
|
801
|
+
"hasDynamicHelp": false,
|
|
802
|
+
"multiple": false,
|
|
803
|
+
"type": "option"
|
|
536
804
|
},
|
|
537
805
|
"description": {
|
|
538
|
-
"name": "description",
|
|
539
|
-
"type": "option",
|
|
540
806
|
"description": "description",
|
|
807
|
+
"name": "description",
|
|
541
808
|
"required": false,
|
|
542
|
-
"
|
|
809
|
+
"hasDynamicHelp": false,
|
|
810
|
+
"multiple": false,
|
|
811
|
+
"type": "option"
|
|
543
812
|
}
|
|
544
813
|
},
|
|
545
|
-
"
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
"id": "group:delete",
|
|
549
|
-
"description": "Get group information",
|
|
550
|
-
"strict": true,
|
|
551
|
-
"pluginName": "legispro-cli",
|
|
814
|
+
"hasDynamicHelp": false,
|
|
815
|
+
"hiddenAliases": [],
|
|
816
|
+
"id": "group:create",
|
|
552
817
|
"pluginAlias": "legispro-cli",
|
|
818
|
+
"pluginName": "legispro-cli",
|
|
553
819
|
"pluginType": "core",
|
|
820
|
+
"strict": true,
|
|
821
|
+
"enableJsonFlag": false,
|
|
822
|
+
"isESM": true,
|
|
823
|
+
"relativePath": [
|
|
824
|
+
"dist",
|
|
825
|
+
"commands",
|
|
826
|
+
"group",
|
|
827
|
+
"create.js"
|
|
828
|
+
]
|
|
829
|
+
},
|
|
830
|
+
"group:delete": {
|
|
554
831
|
"aliases": [],
|
|
832
|
+
"args": {},
|
|
833
|
+
"description": "Get group information",
|
|
555
834
|
"examples": [
|
|
556
835
|
"$ legispro group:get --name demo"
|
|
557
836
|
],
|
|
558
837
|
"flags": {
|
|
559
838
|
"name": {
|
|
560
|
-
"name": "name",
|
|
561
|
-
"type": "option",
|
|
562
839
|
"description": "Name",
|
|
840
|
+
"name": "name",
|
|
563
841
|
"required": false,
|
|
564
|
-
"
|
|
842
|
+
"hasDynamicHelp": false,
|
|
843
|
+
"multiple": false,
|
|
844
|
+
"type": "option"
|
|
565
845
|
}
|
|
566
846
|
},
|
|
567
|
-
"
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
"id": "group:get",
|
|
571
|
-
"description": "Get group information",
|
|
572
|
-
"strict": true,
|
|
573
|
-
"pluginName": "legispro-cli",
|
|
847
|
+
"hasDynamicHelp": false,
|
|
848
|
+
"hiddenAliases": [],
|
|
849
|
+
"id": "group:delete",
|
|
574
850
|
"pluginAlias": "legispro-cli",
|
|
851
|
+
"pluginName": "legispro-cli",
|
|
575
852
|
"pluginType": "core",
|
|
853
|
+
"strict": true,
|
|
854
|
+
"enableJsonFlag": false,
|
|
855
|
+
"isESM": true,
|
|
856
|
+
"relativePath": [
|
|
857
|
+
"dist",
|
|
858
|
+
"commands",
|
|
859
|
+
"group",
|
|
860
|
+
"delete.js"
|
|
861
|
+
]
|
|
862
|
+
},
|
|
863
|
+
"group:get": {
|
|
576
864
|
"aliases": [],
|
|
865
|
+
"args": {},
|
|
866
|
+
"description": "Get group information",
|
|
577
867
|
"examples": [
|
|
578
868
|
"$ legispro group:get --name demo"
|
|
579
869
|
],
|
|
580
870
|
"flags": {
|
|
581
871
|
"name": {
|
|
582
|
-
"name": "name",
|
|
583
|
-
"type": "option",
|
|
584
872
|
"description": "Name",
|
|
873
|
+
"name": "name",
|
|
585
874
|
"required": false,
|
|
586
|
-
"
|
|
875
|
+
"hasDynamicHelp": false,
|
|
876
|
+
"multiple": false,
|
|
877
|
+
"type": "option"
|
|
587
878
|
}
|
|
588
|
-
},
|
|
589
|
-
"
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
"id": "group:list",
|
|
593
|
-
"description": "Get list of all groups",
|
|
594
|
-
"strict": true,
|
|
595
|
-
"pluginName": "legispro-cli",
|
|
879
|
+
},
|
|
880
|
+
"hasDynamicHelp": false,
|
|
881
|
+
"hiddenAliases": [],
|
|
882
|
+
"id": "group:get",
|
|
596
883
|
"pluginAlias": "legispro-cli",
|
|
884
|
+
"pluginName": "legispro-cli",
|
|
597
885
|
"pluginType": "core",
|
|
886
|
+
"strict": true,
|
|
887
|
+
"enableJsonFlag": false,
|
|
888
|
+
"isESM": true,
|
|
889
|
+
"relativePath": [
|
|
890
|
+
"dist",
|
|
891
|
+
"commands",
|
|
892
|
+
"group",
|
|
893
|
+
"get.js"
|
|
894
|
+
]
|
|
895
|
+
},
|
|
896
|
+
"group:list": {
|
|
598
897
|
"aliases": [],
|
|
898
|
+
"args": {},
|
|
899
|
+
"description": "Get list of all groups",
|
|
599
900
|
"examples": [
|
|
600
901
|
"$ legispro group:list"
|
|
601
902
|
],
|
|
602
903
|
"flags": {},
|
|
603
|
-
"
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
"id": "group:update",
|
|
607
|
-
"description": "Create group",
|
|
608
|
-
"strict": true,
|
|
609
|
-
"pluginName": "legispro-cli",
|
|
904
|
+
"hasDynamicHelp": false,
|
|
905
|
+
"hiddenAliases": [],
|
|
906
|
+
"id": "group:list",
|
|
610
907
|
"pluginAlias": "legispro-cli",
|
|
908
|
+
"pluginName": "legispro-cli",
|
|
611
909
|
"pluginType": "core",
|
|
910
|
+
"strict": true,
|
|
911
|
+
"enableJsonFlag": false,
|
|
912
|
+
"isESM": true,
|
|
913
|
+
"relativePath": [
|
|
914
|
+
"dist",
|
|
915
|
+
"commands",
|
|
916
|
+
"group",
|
|
917
|
+
"list.js"
|
|
918
|
+
]
|
|
919
|
+
},
|
|
920
|
+
"group:update": {
|
|
612
921
|
"aliases": [],
|
|
922
|
+
"args": {},
|
|
923
|
+
"description": "Create group",
|
|
613
924
|
"examples": [
|
|
614
925
|
"$ legispro groupr:create"
|
|
615
926
|
],
|
|
616
927
|
"flags": {
|
|
617
928
|
"name": {
|
|
618
|
-
"name": "name",
|
|
619
|
-
"type": "option",
|
|
620
929
|
"description": "Name",
|
|
930
|
+
"name": "name",
|
|
621
931
|
"required": false,
|
|
622
|
-
"
|
|
932
|
+
"hasDynamicHelp": false,
|
|
933
|
+
"multiple": false,
|
|
934
|
+
"type": "option"
|
|
623
935
|
},
|
|
624
936
|
"managers": {
|
|
625
|
-
"name": "managers",
|
|
626
|
-
"type": "option",
|
|
627
937
|
"description": "Managers",
|
|
938
|
+
"name": "managers",
|
|
628
939
|
"required": false,
|
|
629
|
-
"
|
|
940
|
+
"hasDynamicHelp": false,
|
|
941
|
+
"multiple": false,
|
|
942
|
+
"type": "option"
|
|
630
943
|
},
|
|
631
944
|
"email": {
|
|
632
|
-
"name": "email",
|
|
633
|
-
"type": "option",
|
|
634
945
|
"description": "email",
|
|
946
|
+
"name": "email",
|
|
635
947
|
"required": false,
|
|
636
|
-
"
|
|
948
|
+
"hasDynamicHelp": false,
|
|
949
|
+
"multiple": false,
|
|
950
|
+
"type": "option"
|
|
637
951
|
},
|
|
638
952
|
"language": {
|
|
639
|
-
"name": "language",
|
|
640
|
-
"type": "option",
|
|
641
953
|
"description": "language",
|
|
954
|
+
"name": "language",
|
|
642
955
|
"required": false,
|
|
643
|
-
"
|
|
956
|
+
"hasDynamicHelp": false,
|
|
957
|
+
"multiple": false,
|
|
958
|
+
"type": "option"
|
|
644
959
|
},
|
|
645
960
|
"description": {
|
|
646
|
-
"name": "description",
|
|
647
|
-
"type": "option",
|
|
648
961
|
"description": "description",
|
|
962
|
+
"name": "description",
|
|
649
963
|
"required": false,
|
|
650
|
-
"
|
|
964
|
+
"hasDynamicHelp": false,
|
|
965
|
+
"multiple": false,
|
|
966
|
+
"type": "option"
|
|
651
967
|
}
|
|
652
968
|
},
|
|
653
|
-
"
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
"id": "locks:add",
|
|
657
|
-
"description": "Add Locks and Mods XML files",
|
|
658
|
-
"strict": true,
|
|
659
|
-
"pluginName": "legispro-cli",
|
|
969
|
+
"hasDynamicHelp": false,
|
|
970
|
+
"hiddenAliases": [],
|
|
971
|
+
"id": "group:update",
|
|
660
972
|
"pluginAlias": "legispro-cli",
|
|
973
|
+
"pluginName": "legispro-cli",
|
|
661
974
|
"pluginType": "core",
|
|
975
|
+
"strict": true,
|
|
976
|
+
"enableJsonFlag": false,
|
|
977
|
+
"isESM": true,
|
|
978
|
+
"relativePath": [
|
|
979
|
+
"dist",
|
|
980
|
+
"commands",
|
|
981
|
+
"group",
|
|
982
|
+
"update.js"
|
|
983
|
+
]
|
|
984
|
+
},
|
|
985
|
+
"locks:add": {
|
|
662
986
|
"aliases": [],
|
|
987
|
+
"args": {},
|
|
988
|
+
"description": "Add Locks and Mods XML files",
|
|
663
989
|
"examples": [
|
|
664
990
|
"$ legispro locks:add"
|
|
665
991
|
],
|
|
666
992
|
"flags": {},
|
|
667
|
-
"
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
"id": "locks:clear",
|
|
671
|
-
"description": "Clear expired locks",
|
|
672
|
-
"strict": true,
|
|
673
|
-
"pluginName": "legispro-cli",
|
|
993
|
+
"hasDynamicHelp": false,
|
|
994
|
+
"hiddenAliases": [],
|
|
995
|
+
"id": "locks:add",
|
|
674
996
|
"pluginAlias": "legispro-cli",
|
|
997
|
+
"pluginName": "legispro-cli",
|
|
675
998
|
"pluginType": "core",
|
|
999
|
+
"strict": true,
|
|
1000
|
+
"enableJsonFlag": false,
|
|
1001
|
+
"isESM": true,
|
|
1002
|
+
"relativePath": [
|
|
1003
|
+
"dist",
|
|
1004
|
+
"commands",
|
|
1005
|
+
"locks",
|
|
1006
|
+
"add.js"
|
|
1007
|
+
]
|
|
1008
|
+
},
|
|
1009
|
+
"locks:clear": {
|
|
676
1010
|
"aliases": [],
|
|
1011
|
+
"args": {},
|
|
1012
|
+
"description": "Clear expired locks",
|
|
677
1013
|
"examples": [
|
|
678
1014
|
"$ legispro locks:clear"
|
|
679
1015
|
],
|
|
680
1016
|
"flags": {},
|
|
681
|
-
"
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
"id": "locks:list",
|
|
685
|
-
"description": "List active and expired locks",
|
|
686
|
-
"strict": true,
|
|
687
|
-
"pluginName": "legispro-cli",
|
|
1017
|
+
"hasDynamicHelp": false,
|
|
1018
|
+
"hiddenAliases": [],
|
|
1019
|
+
"id": "locks:clear",
|
|
688
1020
|
"pluginAlias": "legispro-cli",
|
|
1021
|
+
"pluginName": "legispro-cli",
|
|
689
1022
|
"pluginType": "core",
|
|
690
|
-
"
|
|
691
|
-
"
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
1023
|
+
"strict": true,
|
|
1024
|
+
"enableJsonFlag": false,
|
|
1025
|
+
"isESM": true,
|
|
1026
|
+
"relativePath": [
|
|
1027
|
+
"dist",
|
|
1028
|
+
"commands",
|
|
1029
|
+
"locks",
|
|
1030
|
+
"clear.js"
|
|
1031
|
+
]
|
|
696
1032
|
},
|
|
697
1033
|
"services:health": {
|
|
698
|
-
"id": "services:health",
|
|
699
|
-
"description": "Perform services health check",
|
|
700
|
-
"strict": true,
|
|
701
|
-
"pluginName": "legispro-cli",
|
|
702
|
-
"pluginAlias": "legispro-cli",
|
|
703
|
-
"pluginType": "core",
|
|
704
1034
|
"aliases": [],
|
|
1035
|
+
"args": {},
|
|
1036
|
+
"description": "Perform services health check",
|
|
705
1037
|
"examples": [
|
|
706
1038
|
"$ legispro services:health"
|
|
707
1039
|
],
|
|
708
1040
|
"flags": {},
|
|
709
|
-
"
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
"id": "user:create",
|
|
713
|
-
"description": "Create, delete and update users",
|
|
714
|
-
"strict": true,
|
|
715
|
-
"pluginName": "legispro-cli",
|
|
1041
|
+
"hasDynamicHelp": false,
|
|
1042
|
+
"hiddenAliases": [],
|
|
1043
|
+
"id": "services:health",
|
|
716
1044
|
"pluginAlias": "legispro-cli",
|
|
1045
|
+
"pluginName": "legispro-cli",
|
|
717
1046
|
"pluginType": "core",
|
|
1047
|
+
"strict": true,
|
|
1048
|
+
"enableJsonFlag": false,
|
|
1049
|
+
"isESM": true,
|
|
1050
|
+
"relativePath": [
|
|
1051
|
+
"dist",
|
|
1052
|
+
"commands",
|
|
1053
|
+
"services",
|
|
1054
|
+
"health.js"
|
|
1055
|
+
]
|
|
1056
|
+
},
|
|
1057
|
+
"user:create": {
|
|
718
1058
|
"aliases": [],
|
|
1059
|
+
"args": {},
|
|
1060
|
+
"description": "Create, delete and update users",
|
|
719
1061
|
"examples": [
|
|
720
1062
|
"$ legispro user:create --name demo --password secret"
|
|
721
1063
|
],
|
|
722
1064
|
"flags": {
|
|
723
1065
|
"username": {
|
|
724
|
-
"name": "username",
|
|
725
|
-
"type": "option",
|
|
726
1066
|
"description": "Username to create",
|
|
1067
|
+
"name": "username",
|
|
727
1068
|
"required": false,
|
|
728
|
-
"
|
|
1069
|
+
"hasDynamicHelp": false,
|
|
1070
|
+
"multiple": false,
|
|
1071
|
+
"type": "option"
|
|
729
1072
|
},
|
|
730
1073
|
"groups": {
|
|
731
|
-
"name": "groups",
|
|
732
|
-
"type": "option",
|
|
733
1074
|
"description": "Group memberships",
|
|
1075
|
+
"name": "groups",
|
|
734
1076
|
"required": false,
|
|
735
|
-
"
|
|
1077
|
+
"hasDynamicHelp": false,
|
|
1078
|
+
"multiple": false,
|
|
1079
|
+
"type": "option"
|
|
736
1080
|
},
|
|
737
1081
|
"email": {
|
|
738
|
-
"name": "email",
|
|
739
|
-
"type": "option",
|
|
740
1082
|
"description": "email",
|
|
1083
|
+
"name": "email",
|
|
741
1084
|
"required": false,
|
|
742
|
-
"
|
|
1085
|
+
"hasDynamicHelp": false,
|
|
1086
|
+
"multiple": false,
|
|
1087
|
+
"type": "option"
|
|
743
1088
|
},
|
|
744
1089
|
"language": {
|
|
745
|
-
"name": "language",
|
|
746
|
-
"type": "option",
|
|
747
1090
|
"description": "language",
|
|
1091
|
+
"name": "language",
|
|
748
1092
|
"required": false,
|
|
749
|
-
"
|
|
1093
|
+
"hasDynamicHelp": false,
|
|
1094
|
+
"multiple": false,
|
|
1095
|
+
"type": "option"
|
|
750
1096
|
},
|
|
751
1097
|
"description": {
|
|
752
|
-
"name": "description",
|
|
753
|
-
"type": "option",
|
|
754
1098
|
"description": "description",
|
|
1099
|
+
"name": "description",
|
|
755
1100
|
"required": false,
|
|
756
|
-
"
|
|
1101
|
+
"hasDynamicHelp": false,
|
|
1102
|
+
"multiple": false,
|
|
1103
|
+
"type": "option"
|
|
757
1104
|
},
|
|
758
1105
|
"password": {
|
|
759
|
-
"name": "password",
|
|
760
|
-
"type": "option",
|
|
761
1106
|
"description": "password",
|
|
1107
|
+
"name": "password",
|
|
762
1108
|
"required": false,
|
|
763
|
-
"
|
|
1109
|
+
"hasDynamicHelp": false,
|
|
1110
|
+
"multiple": false,
|
|
1111
|
+
"type": "option"
|
|
764
1112
|
},
|
|
765
1113
|
"primaryGroup": {
|
|
766
|
-
"name": "primaryGroup",
|
|
767
|
-
"type": "option",
|
|
768
1114
|
"description": "primary group",
|
|
1115
|
+
"name": "primaryGroup",
|
|
769
1116
|
"required": false,
|
|
770
|
-
"
|
|
1117
|
+
"hasDynamicHelp": false,
|
|
1118
|
+
"multiple": false,
|
|
1119
|
+
"type": "option"
|
|
771
1120
|
},
|
|
772
1121
|
"alias": {
|
|
773
|
-
"name": "alias",
|
|
774
|
-
"type": "option",
|
|
775
1122
|
"description": "alias",
|
|
1123
|
+
"name": "alias",
|
|
776
1124
|
"required": false,
|
|
777
|
-
"
|
|
1125
|
+
"hasDynamicHelp": false,
|
|
1126
|
+
"multiple": false,
|
|
1127
|
+
"type": "option"
|
|
778
1128
|
},
|
|
779
1129
|
"timezone": {
|
|
780
|
-
"name": "timezone",
|
|
781
|
-
"type": "option",
|
|
782
1130
|
"description": "timezone",
|
|
1131
|
+
"name": "timezone",
|
|
783
1132
|
"required": false,
|
|
784
|
-
"
|
|
1133
|
+
"hasDynamicHelp": false,
|
|
1134
|
+
"multiple": false,
|
|
1135
|
+
"type": "option"
|
|
785
1136
|
},
|
|
786
1137
|
"firstName": {
|
|
787
|
-
"name": "firstName",
|
|
788
|
-
"type": "option",
|
|
789
1138
|
"description": "first name",
|
|
1139
|
+
"name": "firstName",
|
|
790
1140
|
"required": false,
|
|
791
|
-
"
|
|
1141
|
+
"hasDynamicHelp": false,
|
|
1142
|
+
"multiple": false,
|
|
1143
|
+
"type": "option"
|
|
792
1144
|
},
|
|
793
1145
|
"lastName": {
|
|
794
|
-
"name": "lastName",
|
|
795
|
-
"type": "option",
|
|
796
1146
|
"description": "last name",
|
|
1147
|
+
"name": "lastName",
|
|
797
1148
|
"required": false,
|
|
798
|
-
"
|
|
1149
|
+
"hasDynamicHelp": false,
|
|
1150
|
+
"multiple": false,
|
|
1151
|
+
"type": "option"
|
|
799
1152
|
},
|
|
800
1153
|
"country": {
|
|
801
|
-
"name": "country",
|
|
802
|
-
"type": "option",
|
|
803
1154
|
"description": "country",
|
|
1155
|
+
"name": "country",
|
|
804
1156
|
"required": false,
|
|
805
|
-
"
|
|
1157
|
+
"hasDynamicHelp": false,
|
|
1158
|
+
"multiple": false,
|
|
1159
|
+
"type": "option"
|
|
806
1160
|
},
|
|
807
1161
|
"fullName": {
|
|
808
|
-
"name": "fullName",
|
|
809
|
-
"type": "option",
|
|
810
1162
|
"description": "full name",
|
|
1163
|
+
"name": "fullName",
|
|
811
1164
|
"required": false,
|
|
812
|
-
"
|
|
1165
|
+
"hasDynamicHelp": false,
|
|
1166
|
+
"multiple": false,
|
|
1167
|
+
"type": "option"
|
|
813
1168
|
},
|
|
814
1169
|
"enabled": {
|
|
815
|
-
"name": "enabled",
|
|
816
|
-
"type": "boolean",
|
|
817
1170
|
"description": "User enabled?",
|
|
1171
|
+
"name": "enabled",
|
|
818
1172
|
"required": false,
|
|
819
|
-
"allowNo": false
|
|
1173
|
+
"allowNo": false,
|
|
1174
|
+
"type": "boolean"
|
|
820
1175
|
},
|
|
821
1176
|
"expired": {
|
|
822
|
-
"name": "expired",
|
|
823
|
-
"type": "boolean",
|
|
824
1177
|
"description": "User expired?",
|
|
1178
|
+
"name": "expired",
|
|
825
1179
|
"required": false,
|
|
826
|
-
"allowNo": false
|
|
1180
|
+
"allowNo": false,
|
|
1181
|
+
"type": "boolean"
|
|
827
1182
|
},
|
|
828
1183
|
"umask": {
|
|
829
|
-
"name": "umask",
|
|
830
|
-
"type": "option",
|
|
831
1184
|
"description": "User umask",
|
|
1185
|
+
"name": "umask",
|
|
832
1186
|
"required": false,
|
|
1187
|
+
"default": 18,
|
|
1188
|
+
"hasDynamicHelp": false,
|
|
833
1189
|
"multiple": false,
|
|
834
|
-
"
|
|
1190
|
+
"type": "option"
|
|
835
1191
|
},
|
|
836
1192
|
"scratchpad": {
|
|
837
|
-
"name": "scratchpad",
|
|
838
|
-
"type": "boolean",
|
|
839
1193
|
"description": "Add scratchpad xml",
|
|
1194
|
+
"name": "scratchpad",
|
|
840
1195
|
"required": false,
|
|
841
|
-
"allowNo": false
|
|
1196
|
+
"allowNo": false,
|
|
1197
|
+
"type": "boolean"
|
|
842
1198
|
}
|
|
843
1199
|
},
|
|
844
|
-
"
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
"id": "user:delete",
|
|
848
|
-
"description": "Delete a user",
|
|
849
|
-
"strict": true,
|
|
850
|
-
"pluginName": "legispro-cli",
|
|
1200
|
+
"hasDynamicHelp": false,
|
|
1201
|
+
"hiddenAliases": [],
|
|
1202
|
+
"id": "user:create",
|
|
851
1203
|
"pluginAlias": "legispro-cli",
|
|
1204
|
+
"pluginName": "legispro-cli",
|
|
852
1205
|
"pluginType": "core",
|
|
1206
|
+
"strict": true,
|
|
1207
|
+
"enableJsonFlag": false,
|
|
1208
|
+
"isESM": true,
|
|
1209
|
+
"relativePath": [
|
|
1210
|
+
"dist",
|
|
1211
|
+
"commands",
|
|
1212
|
+
"user",
|
|
1213
|
+
"create.js"
|
|
1214
|
+
]
|
|
1215
|
+
},
|
|
1216
|
+
"user:delete": {
|
|
853
1217
|
"aliases": [],
|
|
1218
|
+
"args": {},
|
|
1219
|
+
"description": "Delete a user",
|
|
854
1220
|
"examples": [
|
|
855
1221
|
"$ legispro user:delete --username demo"
|
|
856
1222
|
],
|
|
857
1223
|
"flags": {
|
|
858
1224
|
"username": {
|
|
859
|
-
"name": "username",
|
|
860
|
-
"type": "option",
|
|
861
1225
|
"char": "u",
|
|
862
1226
|
"description": "Username to delete",
|
|
1227
|
+
"name": "username",
|
|
863
1228
|
"required": false,
|
|
864
|
-
"
|
|
1229
|
+
"hasDynamicHelp": false,
|
|
1230
|
+
"multiple": false,
|
|
1231
|
+
"type": "option"
|
|
865
1232
|
}
|
|
866
1233
|
},
|
|
867
|
-
"
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
"id": "user:get",
|
|
871
|
-
"description": "Get user information",
|
|
872
|
-
"strict": true,
|
|
873
|
-
"pluginName": "legispro-cli",
|
|
1234
|
+
"hasDynamicHelp": false,
|
|
1235
|
+
"hiddenAliases": [],
|
|
1236
|
+
"id": "user:delete",
|
|
874
1237
|
"pluginAlias": "legispro-cli",
|
|
1238
|
+
"pluginName": "legispro-cli",
|
|
875
1239
|
"pluginType": "core",
|
|
1240
|
+
"strict": true,
|
|
1241
|
+
"enableJsonFlag": false,
|
|
1242
|
+
"isESM": true,
|
|
1243
|
+
"relativePath": [
|
|
1244
|
+
"dist",
|
|
1245
|
+
"commands",
|
|
1246
|
+
"user",
|
|
1247
|
+
"delete.js"
|
|
1248
|
+
]
|
|
1249
|
+
},
|
|
1250
|
+
"user:get": {
|
|
876
1251
|
"aliases": [],
|
|
1252
|
+
"args": {},
|
|
1253
|
+
"description": "Get user information",
|
|
877
1254
|
"examples": [
|
|
878
1255
|
"$ legispro user:get --username demo"
|
|
879
1256
|
],
|
|
880
1257
|
"flags": {
|
|
881
1258
|
"username": {
|
|
882
|
-
"name": "username",
|
|
883
|
-
"type": "option",
|
|
884
1259
|
"description": "Username to fetch",
|
|
1260
|
+
"name": "username",
|
|
885
1261
|
"required": false,
|
|
886
|
-
"
|
|
1262
|
+
"hasDynamicHelp": false,
|
|
1263
|
+
"multiple": false,
|
|
1264
|
+
"type": "option"
|
|
887
1265
|
}
|
|
888
1266
|
},
|
|
889
|
-
"
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
"id": "user:list",
|
|
893
|
-
"description": "Get list of all users",
|
|
894
|
-
"strict": true,
|
|
895
|
-
"pluginName": "legispro-cli",
|
|
1267
|
+
"hasDynamicHelp": false,
|
|
1268
|
+
"hiddenAliases": [],
|
|
1269
|
+
"id": "user:get",
|
|
896
1270
|
"pluginAlias": "legispro-cli",
|
|
1271
|
+
"pluginName": "legispro-cli",
|
|
897
1272
|
"pluginType": "core",
|
|
1273
|
+
"strict": true,
|
|
1274
|
+
"enableJsonFlag": false,
|
|
1275
|
+
"isESM": true,
|
|
1276
|
+
"relativePath": [
|
|
1277
|
+
"dist",
|
|
1278
|
+
"commands",
|
|
1279
|
+
"user",
|
|
1280
|
+
"get.js"
|
|
1281
|
+
]
|
|
1282
|
+
},
|
|
1283
|
+
"user:list": {
|
|
898
1284
|
"aliases": [],
|
|
1285
|
+
"args": {},
|
|
1286
|
+
"description": "Get list of all users",
|
|
899
1287
|
"examples": [
|
|
900
1288
|
"$ legispro user:list"
|
|
901
1289
|
],
|
|
902
1290
|
"flags": {},
|
|
903
|
-
"
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
"id": "user:login",
|
|
907
|
-
"description": "Test a user login",
|
|
908
|
-
"strict": true,
|
|
909
|
-
"pluginName": "legispro-cli",
|
|
1291
|
+
"hasDynamicHelp": false,
|
|
1292
|
+
"hiddenAliases": [],
|
|
1293
|
+
"id": "user:list",
|
|
910
1294
|
"pluginAlias": "legispro-cli",
|
|
1295
|
+
"pluginName": "legispro-cli",
|
|
911
1296
|
"pluginType": "core",
|
|
1297
|
+
"strict": true,
|
|
1298
|
+
"enableJsonFlag": false,
|
|
1299
|
+
"isESM": true,
|
|
1300
|
+
"relativePath": [
|
|
1301
|
+
"dist",
|
|
1302
|
+
"commands",
|
|
1303
|
+
"user",
|
|
1304
|
+
"list.js"
|
|
1305
|
+
]
|
|
1306
|
+
},
|
|
1307
|
+
"user:login": {
|
|
912
1308
|
"aliases": [],
|
|
1309
|
+
"args": {},
|
|
1310
|
+
"description": "Test a user login",
|
|
913
1311
|
"examples": [
|
|
914
1312
|
"$ legispro user:login --username=demo --password=secret"
|
|
915
1313
|
],
|
|
916
1314
|
"flags": {
|
|
917
1315
|
"username": {
|
|
918
|
-
"name": "username",
|
|
919
|
-
"type": "option",
|
|
920
1316
|
"description": "Username to create",
|
|
1317
|
+
"name": "username",
|
|
921
1318
|
"required": false,
|
|
922
|
-
"
|
|
1319
|
+
"hasDynamicHelp": false,
|
|
1320
|
+
"multiple": false,
|
|
1321
|
+
"type": "option"
|
|
923
1322
|
},
|
|
924
1323
|
"password": {
|
|
925
|
-
"name": "password",
|
|
926
|
-
"type": "option",
|
|
927
1324
|
"description": "password",
|
|
1325
|
+
"name": "password",
|
|
928
1326
|
"required": false,
|
|
929
|
-
"
|
|
1327
|
+
"hasDynamicHelp": false,
|
|
1328
|
+
"multiple": false,
|
|
1329
|
+
"type": "option"
|
|
930
1330
|
}
|
|
931
1331
|
},
|
|
932
|
-
"
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
"id": "user:update",
|
|
936
|
-
"description": "Update user properties",
|
|
937
|
-
"strict": true,
|
|
938
|
-
"pluginName": "legispro-cli",
|
|
1332
|
+
"hasDynamicHelp": false,
|
|
1333
|
+
"hiddenAliases": [],
|
|
1334
|
+
"id": "user:login",
|
|
939
1335
|
"pluginAlias": "legispro-cli",
|
|
1336
|
+
"pluginName": "legispro-cli",
|
|
940
1337
|
"pluginType": "core",
|
|
1338
|
+
"strict": true,
|
|
1339
|
+
"enableJsonFlag": false,
|
|
1340
|
+
"isESM": true,
|
|
1341
|
+
"relativePath": [
|
|
1342
|
+
"dist",
|
|
1343
|
+
"commands",
|
|
1344
|
+
"user",
|
|
1345
|
+
"login.js"
|
|
1346
|
+
]
|
|
1347
|
+
},
|
|
1348
|
+
"user:update": {
|
|
941
1349
|
"aliases": [],
|
|
1350
|
+
"args": {},
|
|
1351
|
+
"description": "Update user properties",
|
|
942
1352
|
"examples": [
|
|
943
1353
|
"$ legispro user:update --name demo --password secret"
|
|
944
1354
|
],
|
|
945
1355
|
"flags": {
|
|
946
1356
|
"username": {
|
|
947
|
-
"name": "username",
|
|
948
|
-
"type": "option",
|
|
949
1357
|
"description": "Username to create",
|
|
1358
|
+
"name": "username",
|
|
950
1359
|
"required": false,
|
|
951
|
-
"
|
|
1360
|
+
"hasDynamicHelp": false,
|
|
1361
|
+
"multiple": false,
|
|
1362
|
+
"type": "option"
|
|
952
1363
|
},
|
|
953
1364
|
"groups": {
|
|
954
|
-
"name": "groups",
|
|
955
|
-
"type": "option",
|
|
956
1365
|
"description": "Group memberships",
|
|
1366
|
+
"name": "groups",
|
|
957
1367
|
"required": false,
|
|
958
|
-
"
|
|
1368
|
+
"hasDynamicHelp": false,
|
|
1369
|
+
"multiple": false,
|
|
1370
|
+
"type": "option"
|
|
959
1371
|
},
|
|
960
1372
|
"email": {
|
|
961
|
-
"name": "email",
|
|
962
|
-
"type": "option",
|
|
963
1373
|
"description": "email",
|
|
1374
|
+
"name": "email",
|
|
964
1375
|
"required": false,
|
|
965
|
-
"
|
|
1376
|
+
"hasDynamicHelp": false,
|
|
1377
|
+
"multiple": false,
|
|
1378
|
+
"type": "option"
|
|
966
1379
|
},
|
|
967
1380
|
"language": {
|
|
968
|
-
"name": "language",
|
|
969
|
-
"type": "option",
|
|
970
1381
|
"description": "language",
|
|
1382
|
+
"name": "language",
|
|
971
1383
|
"required": false,
|
|
972
|
-
"
|
|
1384
|
+
"hasDynamicHelp": false,
|
|
1385
|
+
"multiple": false,
|
|
1386
|
+
"type": "option"
|
|
973
1387
|
},
|
|
974
1388
|
"description": {
|
|
975
|
-
"name": "description",
|
|
976
|
-
"type": "option",
|
|
977
1389
|
"description": "description",
|
|
1390
|
+
"name": "description",
|
|
978
1391
|
"required": false,
|
|
979
|
-
"
|
|
1392
|
+
"hasDynamicHelp": false,
|
|
1393
|
+
"multiple": false,
|
|
1394
|
+
"type": "option"
|
|
980
1395
|
},
|
|
981
1396
|
"password": {
|
|
982
|
-
"name": "password",
|
|
983
|
-
"type": "option",
|
|
984
1397
|
"description": "password",
|
|
1398
|
+
"name": "password",
|
|
985
1399
|
"required": false,
|
|
986
|
-
"
|
|
1400
|
+
"hasDynamicHelp": false,
|
|
1401
|
+
"multiple": false,
|
|
1402
|
+
"type": "option"
|
|
987
1403
|
},
|
|
988
1404
|
"primaryGroup": {
|
|
989
|
-
"name": "primaryGroup",
|
|
990
|
-
"type": "option",
|
|
991
1405
|
"description": "primary group",
|
|
1406
|
+
"name": "primaryGroup",
|
|
992
1407
|
"required": false,
|
|
993
|
-
"
|
|
1408
|
+
"hasDynamicHelp": false,
|
|
1409
|
+
"multiple": false,
|
|
1410
|
+
"type": "option"
|
|
994
1411
|
},
|
|
995
1412
|
"alias": {
|
|
996
|
-
"name": "alias",
|
|
997
|
-
"type": "option",
|
|
998
1413
|
"description": "alias",
|
|
1414
|
+
"name": "alias",
|
|
999
1415
|
"required": false,
|
|
1000
|
-
"
|
|
1416
|
+
"hasDynamicHelp": false,
|
|
1417
|
+
"multiple": false,
|
|
1418
|
+
"type": "option"
|
|
1001
1419
|
},
|
|
1002
1420
|
"timezone": {
|
|
1003
|
-
"name": "timezone",
|
|
1004
|
-
"type": "option",
|
|
1005
1421
|
"description": "timezone",
|
|
1422
|
+
"name": "timezone",
|
|
1006
1423
|
"required": false,
|
|
1007
|
-
"
|
|
1424
|
+
"hasDynamicHelp": false,
|
|
1425
|
+
"multiple": false,
|
|
1426
|
+
"type": "option"
|
|
1008
1427
|
},
|
|
1009
1428
|
"firstName": {
|
|
1010
|
-
"name": "firstName",
|
|
1011
|
-
"type": "option",
|
|
1012
1429
|
"description": "first name",
|
|
1430
|
+
"name": "firstName",
|
|
1013
1431
|
"required": false,
|
|
1014
|
-
"
|
|
1432
|
+
"hasDynamicHelp": false,
|
|
1433
|
+
"multiple": false,
|
|
1434
|
+
"type": "option"
|
|
1015
1435
|
},
|
|
1016
1436
|
"lastName": {
|
|
1017
|
-
"name": "lastName",
|
|
1018
|
-
"type": "option",
|
|
1019
1437
|
"description": "last name",
|
|
1438
|
+
"name": "lastName",
|
|
1020
1439
|
"required": false,
|
|
1021
|
-
"
|
|
1440
|
+
"hasDynamicHelp": false,
|
|
1441
|
+
"multiple": false,
|
|
1442
|
+
"type": "option"
|
|
1022
1443
|
},
|
|
1023
1444
|
"country": {
|
|
1024
|
-
"name": "country",
|
|
1025
|
-
"type": "option",
|
|
1026
1445
|
"description": "country",
|
|
1446
|
+
"name": "country",
|
|
1027
1447
|
"required": false,
|
|
1028
|
-
"
|
|
1448
|
+
"hasDynamicHelp": false,
|
|
1449
|
+
"multiple": false,
|
|
1450
|
+
"type": "option"
|
|
1029
1451
|
},
|
|
1030
1452
|
"fullName": {
|
|
1031
|
-
"name": "fullName",
|
|
1032
|
-
"type": "option",
|
|
1033
1453
|
"description": "full name",
|
|
1454
|
+
"name": "fullName",
|
|
1034
1455
|
"required": false,
|
|
1035
|
-
"
|
|
1456
|
+
"hasDynamicHelp": false,
|
|
1457
|
+
"multiple": false,
|
|
1458
|
+
"type": "option"
|
|
1036
1459
|
},
|
|
1037
1460
|
"enabled": {
|
|
1038
|
-
"name": "enabled",
|
|
1039
|
-
"type": "boolean",
|
|
1040
1461
|
"description": "User enabled?",
|
|
1462
|
+
"name": "enabled",
|
|
1041
1463
|
"required": false,
|
|
1042
|
-
"allowNo": false
|
|
1464
|
+
"allowNo": false,
|
|
1465
|
+
"type": "boolean"
|
|
1043
1466
|
},
|
|
1044
1467
|
"expired": {
|
|
1045
|
-
"name": "expired",
|
|
1046
|
-
"type": "boolean",
|
|
1047
1468
|
"description": "User expired?",
|
|
1469
|
+
"name": "expired",
|
|
1048
1470
|
"required": false,
|
|
1049
|
-
"allowNo": false
|
|
1471
|
+
"allowNo": false,
|
|
1472
|
+
"type": "boolean"
|
|
1050
1473
|
},
|
|
1051
1474
|
"umask": {
|
|
1052
|
-
"name": "umask",
|
|
1053
|
-
"type": "option",
|
|
1054
1475
|
"description": "User umask",
|
|
1476
|
+
"name": "umask",
|
|
1055
1477
|
"required": false,
|
|
1478
|
+
"default": 18,
|
|
1479
|
+
"hasDynamicHelp": false,
|
|
1056
1480
|
"multiple": false,
|
|
1057
|
-
"
|
|
1481
|
+
"type": "option"
|
|
1058
1482
|
}
|
|
1059
1483
|
},
|
|
1060
|
-
"
|
|
1484
|
+
"hasDynamicHelp": false,
|
|
1485
|
+
"hiddenAliases": [],
|
|
1486
|
+
"id": "user:update",
|
|
1487
|
+
"pluginAlias": "legispro-cli",
|
|
1488
|
+
"pluginName": "legispro-cli",
|
|
1489
|
+
"pluginType": "core",
|
|
1490
|
+
"strict": true,
|
|
1491
|
+
"enableJsonFlag": false,
|
|
1492
|
+
"isESM": true,
|
|
1493
|
+
"relativePath": [
|
|
1494
|
+
"dist",
|
|
1495
|
+
"commands",
|
|
1496
|
+
"user",
|
|
1497
|
+
"update.js"
|
|
1498
|
+
]
|
|
1061
1499
|
}
|
|
1062
|
-
}
|
|
1500
|
+
},
|
|
1501
|
+
"version": "1.0.9"
|
|
1063
1502
|
}
|