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