fnos-cli 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +116 -0
- package/README.md +70 -268
- package/bin/fnos +5 -1
- package/docs/commands.md +775 -0
- package/package.json +1 -1
- package/src/commands/auth.js +42 -55
- package/src/commands/catalog/applications.js +30 -0
- package/src/commands/catalog/identity-security.js +52 -0
- package/src/commands/catalog/index.js +21 -0
- package/src/commands/catalog/monitoring.js +40 -0
- package/src/commands/catalog/network-sharing.js +81 -0
- package/src/commands/catalog/storage.js +107 -0
- package/src/commands/catalog/system.js +51 -0
- package/src/commands/index.js +18 -139
- package/src/commands/options.js +128 -0
- package/src/commands/runner.js +37 -0
- package/src/index.js +41 -51
- package/src/utils/auth-helper.js +13 -6
- package/src/utils/client.js +135 -113
- package/src/utils/errors.js +11 -0
- package/src/utils/logger.js +25 -1
- package/src/utils/settings.js +33 -72
- package/src/constants.js +0 -69
package/docs/commands.md
ADDED
|
@@ -0,0 +1,775 @@
|
|
|
1
|
+
# Command Reference
|
|
2
|
+
|
|
3
|
+
fnos-cli exposes 111 commands across 21 domains.
|
|
4
|
+
|
|
5
|
+
## resmon
|
|
6
|
+
|
|
7
|
+
### `resmon.cpu`
|
|
8
|
+
|
|
9
|
+
Get CPU resource monitoring information
|
|
10
|
+
|
|
11
|
+
No business options.
|
|
12
|
+
|
|
13
|
+
### `resmon.gpu`
|
|
14
|
+
|
|
15
|
+
Get GPU resource monitoring information
|
|
16
|
+
|
|
17
|
+
No business options.
|
|
18
|
+
|
|
19
|
+
### `resmon.mem`
|
|
20
|
+
|
|
21
|
+
Get memory resource monitoring information
|
|
22
|
+
|
|
23
|
+
No business options.
|
|
24
|
+
|
|
25
|
+
### `resmon.disk`
|
|
26
|
+
|
|
27
|
+
Get disk resource monitoring information
|
|
28
|
+
|
|
29
|
+
No business options.
|
|
30
|
+
|
|
31
|
+
### `resmon.net`
|
|
32
|
+
|
|
33
|
+
Get network resource monitoring information
|
|
34
|
+
|
|
35
|
+
No business options.
|
|
36
|
+
|
|
37
|
+
### `resmon.gen`
|
|
38
|
+
|
|
39
|
+
Get general resource monitoring information
|
|
40
|
+
|
|
41
|
+
| Option | Required | Type | Description |
|
|
42
|
+
|---|---:|---|---|
|
|
43
|
+
| `--items <items>` | no | csv | Comma-separated monitoring items. Default: `null`. |
|
|
44
|
+
|
|
45
|
+
### `resmon.npu`
|
|
46
|
+
|
|
47
|
+
Get NPU resource monitoring information
|
|
48
|
+
|
|
49
|
+
No business options.
|
|
50
|
+
|
|
51
|
+
### `resmon.processes`
|
|
52
|
+
|
|
53
|
+
List monitored processes
|
|
54
|
+
|
|
55
|
+
No business options.
|
|
56
|
+
|
|
57
|
+
### `resmon.serviceProcesses`
|
|
58
|
+
|
|
59
|
+
List monitored service processes
|
|
60
|
+
|
|
61
|
+
No business options.
|
|
62
|
+
|
|
63
|
+
### `resmon.systemFan`
|
|
64
|
+
|
|
65
|
+
Get system fan monitoring information
|
|
66
|
+
|
|
67
|
+
No business options.
|
|
68
|
+
|
|
69
|
+
## event
|
|
70
|
+
|
|
71
|
+
### `event.commonList`
|
|
72
|
+
|
|
73
|
+
List common event log entries
|
|
74
|
+
|
|
75
|
+
No business options.
|
|
76
|
+
|
|
77
|
+
## notify
|
|
78
|
+
|
|
79
|
+
### `notify.unreadTotal`
|
|
80
|
+
|
|
81
|
+
Get unread notification total
|
|
82
|
+
|
|
83
|
+
No business options.
|
|
84
|
+
|
|
85
|
+
## store
|
|
86
|
+
|
|
87
|
+
### `store.general`
|
|
88
|
+
|
|
89
|
+
Get storage general information
|
|
90
|
+
|
|
91
|
+
No business options.
|
|
92
|
+
|
|
93
|
+
### `store.calcSpace`
|
|
94
|
+
|
|
95
|
+
Calculate storage space information
|
|
96
|
+
|
|
97
|
+
No business options.
|
|
98
|
+
|
|
99
|
+
### `store.listDisk`
|
|
100
|
+
|
|
101
|
+
List disk information
|
|
102
|
+
|
|
103
|
+
| Option | Required | Type | Description |
|
|
104
|
+
|---|---:|---|---|
|
|
105
|
+
| `--no-hot-spare <boolean>` | no | boolean | Exclude hot spare disks. Default: `true`. |
|
|
106
|
+
|
|
107
|
+
### `store.diskSmart`
|
|
108
|
+
|
|
109
|
+
Get disk SMART information
|
|
110
|
+
|
|
111
|
+
| Option | Required | Type | Description |
|
|
112
|
+
|---|---:|---|---|
|
|
113
|
+
| `--disk <disk>` | yes | string | Disk device name. |
|
|
114
|
+
|
|
115
|
+
### `store.state`
|
|
116
|
+
|
|
117
|
+
Get storage state information
|
|
118
|
+
|
|
119
|
+
| Option | Required | Type | Description |
|
|
120
|
+
|---|---:|---|---|
|
|
121
|
+
| `--name <names>` | no | csv | Comma-separated array names. Default: `[]`. |
|
|
122
|
+
| `--uuid <uuids>` | no | csv | Comma-separated array UUIDs. Default: `[]`. |
|
|
123
|
+
|
|
124
|
+
### `store.getUserStorage`
|
|
125
|
+
|
|
126
|
+
Get user storage information
|
|
127
|
+
|
|
128
|
+
| Option | Required | Type | Description |
|
|
129
|
+
|---|---:|---|---|
|
|
130
|
+
| `--space-info <boolean>` | no | boolean | Include space information. Default: `false`. |
|
|
131
|
+
| `--stor-info <boolean>` | no | boolean | Include storage information. Default: `false`. |
|
|
132
|
+
| `--quota-info <boolean>` | no | boolean | Include quota information. Default: `false`. |
|
|
133
|
+
|
|
134
|
+
### `store.getCacheDeviceState`
|
|
135
|
+
|
|
136
|
+
Get cache device state
|
|
137
|
+
|
|
138
|
+
No business options.
|
|
139
|
+
|
|
140
|
+
### `store.getDiskIdleTime`
|
|
141
|
+
|
|
142
|
+
Get disk idle time
|
|
143
|
+
|
|
144
|
+
No business options.
|
|
145
|
+
|
|
146
|
+
### `store.getDiskWakeup`
|
|
147
|
+
|
|
148
|
+
Get disk wake-up state
|
|
149
|
+
|
|
150
|
+
No business options.
|
|
151
|
+
|
|
152
|
+
### `store.getRemovableConfig`
|
|
153
|
+
|
|
154
|
+
Get removable device configuration
|
|
155
|
+
|
|
156
|
+
No business options.
|
|
157
|
+
|
|
158
|
+
### `store.listCacheDevices`
|
|
159
|
+
|
|
160
|
+
List cache devices
|
|
161
|
+
|
|
162
|
+
No business options.
|
|
163
|
+
|
|
164
|
+
### `store.listRemovableDevices`
|
|
165
|
+
|
|
166
|
+
List removable devices
|
|
167
|
+
|
|
168
|
+
No business options.
|
|
169
|
+
|
|
170
|
+
## file
|
|
171
|
+
|
|
172
|
+
### `file.ls`
|
|
173
|
+
|
|
174
|
+
List files and directories
|
|
175
|
+
|
|
176
|
+
| Option | Required | Type | Description |
|
|
177
|
+
|---|---:|---|---|
|
|
178
|
+
| `--path <path>` | no | string | Directory path. Default: `null`. |
|
|
179
|
+
|
|
180
|
+
### `file.mkdir`
|
|
181
|
+
|
|
182
|
+
Create a directory
|
|
183
|
+
|
|
184
|
+
| Option | Required | Type | Description |
|
|
185
|
+
|---|---:|---|---|
|
|
186
|
+
| `--path <path>` | yes | string | Directory path. |
|
|
187
|
+
|
|
188
|
+
### `file.rm`
|
|
189
|
+
|
|
190
|
+
Remove files or directories
|
|
191
|
+
|
|
192
|
+
| Option | Required | Type | Description |
|
|
193
|
+
|---|---:|---|---|
|
|
194
|
+
| `--files <files>` | yes | csv | Comma-separated file paths. |
|
|
195
|
+
| `--move-to-trashbin <boolean>` | no | boolean | Move removed files to trash. Default: `true`. |
|
|
196
|
+
| `--details <json>` | no | json | File detail object as JSON. Default: `null`. |
|
|
197
|
+
|
|
198
|
+
### `file.getAcl`
|
|
199
|
+
|
|
200
|
+
Get file ACL information
|
|
201
|
+
|
|
202
|
+
| Option | Required | Type | Description |
|
|
203
|
+
|---|---:|---|---|
|
|
204
|
+
| `--files <files>` | yes | csv | Comma-separated vol-prefixed paths. |
|
|
205
|
+
|
|
206
|
+
### `file.listAppDirectories`
|
|
207
|
+
|
|
208
|
+
List application directories
|
|
209
|
+
|
|
210
|
+
No business options.
|
|
211
|
+
|
|
212
|
+
### `file.listFavorites`
|
|
213
|
+
|
|
214
|
+
List favorite files
|
|
215
|
+
|
|
216
|
+
No business options.
|
|
217
|
+
|
|
218
|
+
### `file.listDirectoryEntries`
|
|
219
|
+
|
|
220
|
+
List directory entries
|
|
221
|
+
|
|
222
|
+
No business options.
|
|
223
|
+
|
|
224
|
+
### `file.listRecent`
|
|
225
|
+
|
|
226
|
+
List recent files
|
|
227
|
+
|
|
228
|
+
No business options.
|
|
229
|
+
|
|
230
|
+
### `file.listShared`
|
|
231
|
+
|
|
232
|
+
List shared files
|
|
233
|
+
|
|
234
|
+
No business options.
|
|
235
|
+
|
|
236
|
+
### `file.listSharedByOthers`
|
|
237
|
+
|
|
238
|
+
List files shared by others
|
|
239
|
+
|
|
240
|
+
No business options.
|
|
241
|
+
|
|
242
|
+
### `file.listTeamTrashBins`
|
|
243
|
+
|
|
244
|
+
List team trash bins
|
|
245
|
+
|
|
246
|
+
No business options.
|
|
247
|
+
|
|
248
|
+
### `file.listTrash`
|
|
249
|
+
|
|
250
|
+
List trash entries
|
|
251
|
+
|
|
252
|
+
No business options.
|
|
253
|
+
|
|
254
|
+
## backup
|
|
255
|
+
|
|
256
|
+
### `backup.listTasks`
|
|
257
|
+
|
|
258
|
+
List backup tasks
|
|
259
|
+
|
|
260
|
+
| Option | Required | Type | Description |
|
|
261
|
+
|---|---:|---|---|
|
|
262
|
+
| `--direction <integer>` | yes | integer | Backup direction: 0 or 1. |
|
|
263
|
+
|
|
264
|
+
## download
|
|
265
|
+
|
|
266
|
+
### `download.getDefaultSaveDirectory`
|
|
267
|
+
|
|
268
|
+
Get the default download directory
|
|
269
|
+
|
|
270
|
+
No business options.
|
|
271
|
+
|
|
272
|
+
### `download.getStatistics`
|
|
273
|
+
|
|
274
|
+
Get download statistics
|
|
275
|
+
|
|
276
|
+
No business options.
|
|
277
|
+
|
|
278
|
+
### `download.queryTasks`
|
|
279
|
+
|
|
280
|
+
Query download tasks
|
|
281
|
+
|
|
282
|
+
| Option | Required | Type | Description |
|
|
283
|
+
|---|---:|---|---|
|
|
284
|
+
| `--state-filter <integer>` | no | integer | Task state bit mask. Default: `65535`. |
|
|
285
|
+
| `--init-flag <boolean>` | no | boolean | Include initialization data. Default: `true`. |
|
|
286
|
+
|
|
287
|
+
## mount
|
|
288
|
+
|
|
289
|
+
### `mount.listMounts`
|
|
290
|
+
|
|
291
|
+
List mounted resources
|
|
292
|
+
|
|
293
|
+
No business options.
|
|
294
|
+
|
|
295
|
+
### `mount.getSettings`
|
|
296
|
+
|
|
297
|
+
Get mount settings
|
|
298
|
+
|
|
299
|
+
No business options.
|
|
300
|
+
|
|
301
|
+
## sysinfo
|
|
302
|
+
|
|
303
|
+
### `sysinfo.getHostName`
|
|
304
|
+
|
|
305
|
+
Get host name information
|
|
306
|
+
|
|
307
|
+
No business options.
|
|
308
|
+
|
|
309
|
+
### `sysinfo.getTrimVersion`
|
|
310
|
+
|
|
311
|
+
Get Trim version information
|
|
312
|
+
|
|
313
|
+
No business options.
|
|
314
|
+
|
|
315
|
+
### `sysinfo.getMachineId`
|
|
316
|
+
|
|
317
|
+
Get machine ID information
|
|
318
|
+
|
|
319
|
+
No business options.
|
|
320
|
+
|
|
321
|
+
### `sysinfo.getHardwareInfo`
|
|
322
|
+
|
|
323
|
+
Get hardware information
|
|
324
|
+
|
|
325
|
+
No business options.
|
|
326
|
+
|
|
327
|
+
### `sysinfo.getUptime`
|
|
328
|
+
|
|
329
|
+
Get system uptime information
|
|
330
|
+
|
|
331
|
+
No business options.
|
|
332
|
+
|
|
333
|
+
### `sysinfo.getReservedPartition`
|
|
334
|
+
|
|
335
|
+
Get reserved partition information
|
|
336
|
+
|
|
337
|
+
No business options.
|
|
338
|
+
|
|
339
|
+
## sac
|
|
340
|
+
|
|
341
|
+
### `sac.upsStatus`
|
|
342
|
+
|
|
343
|
+
Get UPS status information
|
|
344
|
+
|
|
345
|
+
No business options.
|
|
346
|
+
|
|
347
|
+
### `sac.getEmailConfig`
|
|
348
|
+
|
|
349
|
+
Get email notification configuration
|
|
350
|
+
|
|
351
|
+
No business options.
|
|
352
|
+
|
|
353
|
+
### `sac.listEmailProviders`
|
|
354
|
+
|
|
355
|
+
List email notification providers
|
|
356
|
+
|
|
357
|
+
No business options.
|
|
358
|
+
|
|
359
|
+
## license
|
|
360
|
+
|
|
361
|
+
### `license.list`
|
|
362
|
+
|
|
363
|
+
List installed software licenses
|
|
364
|
+
|
|
365
|
+
| Option | Required | Type | Description |
|
|
366
|
+
|---|---:|---|---|
|
|
367
|
+
| `--page <integer>` | no | integer | Page number. Default: `1`. |
|
|
368
|
+
| `--page-size <integer>` | no | integer | Items per page. Default: `200`. |
|
|
369
|
+
|
|
370
|
+
## liveupdate
|
|
371
|
+
|
|
372
|
+
### `liveupdate.getStatus`
|
|
373
|
+
|
|
374
|
+
Get live update status
|
|
375
|
+
|
|
376
|
+
No business options.
|
|
377
|
+
|
|
378
|
+
## sysrestore
|
|
379
|
+
|
|
380
|
+
### `sysrestore.getInfo`
|
|
381
|
+
|
|
382
|
+
Get system restore information
|
|
383
|
+
|
|
384
|
+
No business options.
|
|
385
|
+
|
|
386
|
+
## user
|
|
387
|
+
|
|
388
|
+
### `user.info`
|
|
389
|
+
|
|
390
|
+
Get user information
|
|
391
|
+
|
|
392
|
+
No business options.
|
|
393
|
+
|
|
394
|
+
### `user.listUG`
|
|
395
|
+
|
|
396
|
+
List users and groups
|
|
397
|
+
|
|
398
|
+
No business options.
|
|
399
|
+
|
|
400
|
+
### `user.groupUsers`
|
|
401
|
+
|
|
402
|
+
Get user grouping information
|
|
403
|
+
|
|
404
|
+
No business options.
|
|
405
|
+
|
|
406
|
+
### `user.isAdmin`
|
|
407
|
+
|
|
408
|
+
Check whether the current user is an administrator
|
|
409
|
+
|
|
410
|
+
No business options.
|
|
411
|
+
|
|
412
|
+
### `user.listTokens`
|
|
413
|
+
|
|
414
|
+
List authentication tokens
|
|
415
|
+
|
|
416
|
+
No business options.
|
|
417
|
+
|
|
418
|
+
### `user.getMyTwofaConfig`
|
|
419
|
+
|
|
420
|
+
Get current user two-factor configuration
|
|
421
|
+
|
|
422
|
+
No business options.
|
|
423
|
+
|
|
424
|
+
### `user.getGlobalTwofaConfig`
|
|
425
|
+
|
|
426
|
+
Get global two-factor configuration
|
|
427
|
+
|
|
428
|
+
No business options.
|
|
429
|
+
|
|
430
|
+
### `user.getUserTwofaConfig`
|
|
431
|
+
|
|
432
|
+
Get a user two-factor configuration
|
|
433
|
+
|
|
434
|
+
| Option | Required | Type | Description |
|
|
435
|
+
|---|---:|---|---|
|
|
436
|
+
| `--uid <integer>` | yes | integer | User ID. |
|
|
437
|
+
|
|
438
|
+
### `user.getActiveState`
|
|
439
|
+
|
|
440
|
+
Get current user active state
|
|
441
|
+
|
|
442
|
+
No business options.
|
|
443
|
+
|
|
444
|
+
### `user.getGroupInfo`
|
|
445
|
+
|
|
446
|
+
Get group information
|
|
447
|
+
|
|
448
|
+
| Option | Required | Type | Description |
|
|
449
|
+
|---|---:|---|---|
|
|
450
|
+
| `--group <group>` | yes | string | Group name. |
|
|
451
|
+
|
|
452
|
+
### `user.listGroups`
|
|
453
|
+
|
|
454
|
+
List groups
|
|
455
|
+
|
|
456
|
+
No business options.
|
|
457
|
+
|
|
458
|
+
### `user.listLoginDevices`
|
|
459
|
+
|
|
460
|
+
List login devices
|
|
461
|
+
|
|
462
|
+
No business options.
|
|
463
|
+
|
|
464
|
+
### `user.getPreference`
|
|
465
|
+
|
|
466
|
+
Get a user preference
|
|
467
|
+
|
|
468
|
+
| Option | Required | Type | Description |
|
|
469
|
+
|---|---:|---|---|
|
|
470
|
+
| `--name <name>` | yes | string | Preference name. |
|
|
471
|
+
|
|
472
|
+
## ipblock
|
|
473
|
+
|
|
474
|
+
### `ipblock.listAllowedAddresses`
|
|
475
|
+
|
|
476
|
+
List allowed IP addresses
|
|
477
|
+
|
|
478
|
+
No business options.
|
|
479
|
+
|
|
480
|
+
### `ipblock.getAutoBlockRule`
|
|
481
|
+
|
|
482
|
+
Get automatic IP blocking rule
|
|
483
|
+
|
|
484
|
+
No business options.
|
|
485
|
+
|
|
486
|
+
### `ipblock.listDeniedAddresses`
|
|
487
|
+
|
|
488
|
+
List denied IP addresses
|
|
489
|
+
|
|
490
|
+
No business options.
|
|
491
|
+
|
|
492
|
+
## security
|
|
493
|
+
|
|
494
|
+
### `security.getFirewall`
|
|
495
|
+
|
|
496
|
+
Get firewall configuration
|
|
497
|
+
|
|
498
|
+
No business options.
|
|
499
|
+
|
|
500
|
+
### `security.getProcessTraffic`
|
|
501
|
+
|
|
502
|
+
Get process traffic data
|
|
503
|
+
|
|
504
|
+
| Option | Required | Type | Description |
|
|
505
|
+
|---|---:|---|---|
|
|
506
|
+
| `--processes <json>` | yes | json-record-array | Process objects as a JSON array. |
|
|
507
|
+
|
|
508
|
+
## network
|
|
509
|
+
|
|
510
|
+
### `network.list`
|
|
511
|
+
|
|
512
|
+
List network information
|
|
513
|
+
|
|
514
|
+
| Option | Required | Type | Description |
|
|
515
|
+
|---|---:|---|---|
|
|
516
|
+
| `--type <integer>` | no | integer | Network list type: 0 or 1. Default: `0`. |
|
|
517
|
+
|
|
518
|
+
### `network.detect`
|
|
519
|
+
|
|
520
|
+
Detect a network interface
|
|
521
|
+
|
|
522
|
+
| Option | Required | Type | Description |
|
|
523
|
+
|---|---:|---|---|
|
|
524
|
+
| `--if-name <name>` | yes | string | Network interface name. |
|
|
525
|
+
|
|
526
|
+
### `network.getGateway`
|
|
527
|
+
|
|
528
|
+
Get gateway information
|
|
529
|
+
|
|
530
|
+
No business options.
|
|
531
|
+
|
|
532
|
+
### `network.getMultiGatewayStatus`
|
|
533
|
+
|
|
534
|
+
Get multi-gateway status
|
|
535
|
+
|
|
536
|
+
No business options.
|
|
537
|
+
|
|
538
|
+
### `network.getNicPerformanceMode`
|
|
539
|
+
|
|
540
|
+
Get NIC performance mode
|
|
541
|
+
|
|
542
|
+
No business options.
|
|
543
|
+
|
|
544
|
+
### `network.getInfo`
|
|
545
|
+
|
|
546
|
+
Get network interface information
|
|
547
|
+
|
|
548
|
+
| Option | Required | Type | Description |
|
|
549
|
+
|---|---:|---|---|
|
|
550
|
+
| `--if-name <name>` | yes | string | Network interface name. |
|
|
551
|
+
|
|
552
|
+
### `network.getSshStatus`
|
|
553
|
+
|
|
554
|
+
Get SSH service status
|
|
555
|
+
|
|
556
|
+
No business options.
|
|
557
|
+
|
|
558
|
+
## share
|
|
559
|
+
|
|
560
|
+
### `share.smbOpt`
|
|
561
|
+
|
|
562
|
+
Get SMB options
|
|
563
|
+
|
|
564
|
+
No business options.
|
|
565
|
+
|
|
566
|
+
### `share.dlnaOptions`
|
|
567
|
+
|
|
568
|
+
Get DLNA options
|
|
569
|
+
|
|
570
|
+
No business options.
|
|
571
|
+
|
|
572
|
+
### `share.dlnaShareOptions`
|
|
573
|
+
|
|
574
|
+
Get DLNA share options
|
|
575
|
+
|
|
576
|
+
No business options.
|
|
577
|
+
|
|
578
|
+
### `share.ftpOptions`
|
|
579
|
+
|
|
580
|
+
Get FTP options
|
|
581
|
+
|
|
582
|
+
No business options.
|
|
583
|
+
|
|
584
|
+
### `share.ftpShareOptions`
|
|
585
|
+
|
|
586
|
+
Get FTP share options
|
|
587
|
+
|
|
588
|
+
No business options.
|
|
589
|
+
|
|
590
|
+
### `share.nfsOptions`
|
|
591
|
+
|
|
592
|
+
Get NFS options
|
|
593
|
+
|
|
594
|
+
No business options.
|
|
595
|
+
|
|
596
|
+
### `share.nfsShareOptions`
|
|
597
|
+
|
|
598
|
+
Get NFS share options
|
|
599
|
+
|
|
600
|
+
No business options.
|
|
601
|
+
|
|
602
|
+
### `share.smbShareOptions`
|
|
603
|
+
|
|
604
|
+
Get SMB share options
|
|
605
|
+
|
|
606
|
+
No business options.
|
|
607
|
+
|
|
608
|
+
### `share.webdavOptions`
|
|
609
|
+
|
|
610
|
+
Get WebDAV options
|
|
611
|
+
|
|
612
|
+
No business options.
|
|
613
|
+
|
|
614
|
+
### `share.webdavShareOptions`
|
|
615
|
+
|
|
616
|
+
Get WebDAV share options
|
|
617
|
+
|
|
618
|
+
No business options.
|
|
619
|
+
|
|
620
|
+
### `share.getLinkDefaults`
|
|
621
|
+
|
|
622
|
+
Get share link defaults
|
|
623
|
+
|
|
624
|
+
No business options.
|
|
625
|
+
|
|
626
|
+
### `share.getDefaultLink`
|
|
627
|
+
|
|
628
|
+
Get the default share link
|
|
629
|
+
|
|
630
|
+
No business options.
|
|
631
|
+
|
|
632
|
+
### `share.listLinks`
|
|
633
|
+
|
|
634
|
+
List share links
|
|
635
|
+
|
|
636
|
+
| Option | Required | Type | Description |
|
|
637
|
+
|---|---:|---|---|
|
|
638
|
+
| `--is-admin <boolean>` | no | boolean | Use administrator view. Default: `false`. |
|
|
639
|
+
| `--keyword <keyword>` | no | string | Search keyword. Default: `""`. |
|
|
640
|
+
| `--page <integer>` | no | integer | Page number. Default: `1`. |
|
|
641
|
+
| `--page-size <integer>` | no | integer | Items per page. Default: `100`. |
|
|
642
|
+
| `--sort-column <column>` | no | string | Sort column. Default: `"createdTime"`. |
|
|
643
|
+
| `--sort-type <type>` | no | string | Sort direction. Default: `"DESC"`. |
|
|
644
|
+
|
|
645
|
+
### `share.getLinkPermission`
|
|
646
|
+
|
|
647
|
+
Get share link permission
|
|
648
|
+
|
|
649
|
+
No business options.
|
|
650
|
+
|
|
651
|
+
## iscsi
|
|
652
|
+
|
|
653
|
+
### `iscsi.getConfig`
|
|
654
|
+
|
|
655
|
+
Get iSCSI configuration
|
|
656
|
+
|
|
657
|
+
No business options.
|
|
658
|
+
|
|
659
|
+
### `iscsi.listInitiators`
|
|
660
|
+
|
|
661
|
+
List iSCSI initiators
|
|
662
|
+
|
|
663
|
+
No business options.
|
|
664
|
+
|
|
665
|
+
### `iscsi.listLuns`
|
|
666
|
+
|
|
667
|
+
List iSCSI LUNs
|
|
668
|
+
|
|
669
|
+
No business options.
|
|
670
|
+
|
|
671
|
+
### `iscsi.listLunUsergroups`
|
|
672
|
+
|
|
673
|
+
List iSCSI LUN user groups
|
|
674
|
+
|
|
675
|
+
| Option | Required | Type | Description |
|
|
676
|
+
|---|---:|---|---|
|
|
677
|
+
| `--lun-name <name>` | no | string | LUN name filter. Default: `""`. |
|
|
678
|
+
| `--wwn <wwn>` | no | string | WWN filter. Default: `""`. |
|
|
679
|
+
|
|
680
|
+
### `iscsi.listTargets`
|
|
681
|
+
|
|
682
|
+
List iSCSI targets
|
|
683
|
+
|
|
684
|
+
No business options.
|
|
685
|
+
|
|
686
|
+
## netsvr
|
|
687
|
+
|
|
688
|
+
### `netsvr.listCertificates`
|
|
689
|
+
|
|
690
|
+
List server certificates
|
|
691
|
+
|
|
692
|
+
No business options.
|
|
693
|
+
|
|
694
|
+
### `netsvr.getConnectionConfig`
|
|
695
|
+
|
|
696
|
+
Get connection configuration
|
|
697
|
+
|
|
698
|
+
No business options.
|
|
699
|
+
|
|
700
|
+
### `netsvr.getConnectionStatus`
|
|
701
|
+
|
|
702
|
+
Get connection status
|
|
703
|
+
|
|
704
|
+
No business options.
|
|
705
|
+
|
|
706
|
+
### `netsvr.listDdnsProviders`
|
|
707
|
+
|
|
708
|
+
List DDNS providers
|
|
709
|
+
|
|
710
|
+
No business options.
|
|
711
|
+
|
|
712
|
+
### `netsvr.listDdnsRecords`
|
|
713
|
+
|
|
714
|
+
List DDNS records
|
|
715
|
+
|
|
716
|
+
| Option | Required | Type | Description |
|
|
717
|
+
|---|---:|---|---|
|
|
718
|
+
| `--page <integer>` | no | integer | Page number. Default: `1`. |
|
|
719
|
+
| `--page-size <integer>` | no | integer | Items per page. Default: `200`. |
|
|
720
|
+
|
|
721
|
+
## docker
|
|
722
|
+
|
|
723
|
+
### `docker.listComposes`
|
|
724
|
+
|
|
725
|
+
List Docker Compose projects
|
|
726
|
+
|
|
727
|
+
No business options.
|
|
728
|
+
|
|
729
|
+
### `docker.listContainers`
|
|
730
|
+
|
|
731
|
+
List Docker containers
|
|
732
|
+
|
|
733
|
+
| Option | Required | Type | Description |
|
|
734
|
+
|---|---:|---|---|
|
|
735
|
+
| `--all <boolean>` | no | boolean | Include stopped containers. Default: `true`. |
|
|
736
|
+
|
|
737
|
+
### `docker.stats`
|
|
738
|
+
|
|
739
|
+
Get Docker container statistics
|
|
740
|
+
|
|
741
|
+
No business options.
|
|
742
|
+
|
|
743
|
+
### `docker.getSystemSettings`
|
|
744
|
+
|
|
745
|
+
Get Docker system settings
|
|
746
|
+
|
|
747
|
+
No business options.
|
|
748
|
+
|
|
749
|
+
### `docker.listImageDownloads`
|
|
750
|
+
|
|
751
|
+
List Docker image downloads
|
|
752
|
+
|
|
753
|
+
No business options.
|
|
754
|
+
|
|
755
|
+
### `docker.listImages`
|
|
756
|
+
|
|
757
|
+
List Docker images
|
|
758
|
+
|
|
759
|
+
No business options.
|
|
760
|
+
|
|
761
|
+
### `docker.listNetworks`
|
|
762
|
+
|
|
763
|
+
List Docker networks
|
|
764
|
+
|
|
765
|
+
No business options.
|
|
766
|
+
|
|
767
|
+
### `docker.listRegistryRepositories`
|
|
768
|
+
|
|
769
|
+
List Docker registry repositories
|
|
770
|
+
|
|
771
|
+
| Option | Required | Type | Description |
|
|
772
|
+
|---|---:|---|---|
|
|
773
|
+
| `--keyword <keyword>` | no | string | Search keyword. Default: `""`. |
|
|
774
|
+
| `--page <integer>` | no | integer | Page number. Default: `1`. |
|
|
775
|
+
| `--page-size <integer>` | no | integer | Items per page. Default: `20`. |
|