@sonisoft/now-sdk-ext-cli 5.0.1 → 5.1.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/LICENSE +21 -0
- package/README.md +479 -196
- package/dist/common/authenticated-command.d.ts +9 -0
- package/dist/common/authenticated-command.d.ts.map +1 -1
- package/dist/common/authenticated-command.js +50 -4
- package/dist/common/authenticated-command.js.map +1 -1
- package/dist/util/log-factory.d.ts +7 -1
- package/dist/util/log-factory.d.ts.map +1 -1
- package/dist/util/log-factory.js +8 -3
- package/dist/util/log-factory.js.map +1 -1
- package/oclif.manifest.json +1794 -655
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -44,6 +44,23 @@
|
|
|
44
44
|
"allowNo": false,
|
|
45
45
|
"type": "boolean"
|
|
46
46
|
},
|
|
47
|
+
"log-dir": {
|
|
48
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
49
|
+
"helpGroup": "GLOBAL",
|
|
50
|
+
"name": "log-dir",
|
|
51
|
+
"required": false,
|
|
52
|
+
"hasDynamicHelp": false,
|
|
53
|
+
"multiple": false,
|
|
54
|
+
"type": "option"
|
|
55
|
+
},
|
|
56
|
+
"log-file": {
|
|
57
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
58
|
+
"helpGroup": "GLOBAL",
|
|
59
|
+
"name": "log-file",
|
|
60
|
+
"required": false,
|
|
61
|
+
"allowNo": false,
|
|
62
|
+
"type": "boolean"
|
|
63
|
+
},
|
|
47
64
|
"log-level": {
|
|
48
65
|
"helpGroup": "GLOBAL",
|
|
49
66
|
"name": "log-level",
|
|
@@ -139,6 +156,23 @@
|
|
|
139
156
|
"allowNo": false,
|
|
140
157
|
"type": "boolean"
|
|
141
158
|
},
|
|
159
|
+
"log-dir": {
|
|
160
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
161
|
+
"helpGroup": "GLOBAL",
|
|
162
|
+
"name": "log-dir",
|
|
163
|
+
"required": false,
|
|
164
|
+
"hasDynamicHelp": false,
|
|
165
|
+
"multiple": false,
|
|
166
|
+
"type": "option"
|
|
167
|
+
},
|
|
168
|
+
"log-file": {
|
|
169
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
170
|
+
"helpGroup": "GLOBAL",
|
|
171
|
+
"name": "log-file",
|
|
172
|
+
"required": false,
|
|
173
|
+
"allowNo": false,
|
|
174
|
+
"type": "boolean"
|
|
175
|
+
},
|
|
142
176
|
"log-level": {
|
|
143
177
|
"helpGroup": "GLOBAL",
|
|
144
178
|
"name": "log-level",
|
|
@@ -299,6 +333,23 @@
|
|
|
299
333
|
"allowNo": false,
|
|
300
334
|
"type": "boolean"
|
|
301
335
|
},
|
|
336
|
+
"log-dir": {
|
|
337
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
338
|
+
"helpGroup": "GLOBAL",
|
|
339
|
+
"name": "log-dir",
|
|
340
|
+
"required": false,
|
|
341
|
+
"hasDynamicHelp": false,
|
|
342
|
+
"multiple": false,
|
|
343
|
+
"type": "option"
|
|
344
|
+
},
|
|
345
|
+
"log-file": {
|
|
346
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
347
|
+
"helpGroup": "GLOBAL",
|
|
348
|
+
"name": "log-file",
|
|
349
|
+
"required": false,
|
|
350
|
+
"allowNo": false,
|
|
351
|
+
"type": "boolean"
|
|
352
|
+
},
|
|
302
353
|
"log-level": {
|
|
303
354
|
"helpGroup": "GLOBAL",
|
|
304
355
|
"name": "log-level",
|
|
@@ -433,6 +484,23 @@
|
|
|
433
484
|
"allowNo": false,
|
|
434
485
|
"type": "boolean"
|
|
435
486
|
},
|
|
487
|
+
"log-dir": {
|
|
488
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
489
|
+
"helpGroup": "GLOBAL",
|
|
490
|
+
"name": "log-dir",
|
|
491
|
+
"required": false,
|
|
492
|
+
"hasDynamicHelp": false,
|
|
493
|
+
"multiple": false,
|
|
494
|
+
"type": "option"
|
|
495
|
+
},
|
|
496
|
+
"log-file": {
|
|
497
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
498
|
+
"helpGroup": "GLOBAL",
|
|
499
|
+
"name": "log-file",
|
|
500
|
+
"required": false,
|
|
501
|
+
"allowNo": false,
|
|
502
|
+
"type": "boolean"
|
|
503
|
+
},
|
|
436
504
|
"log-level": {
|
|
437
505
|
"helpGroup": "GLOBAL",
|
|
438
506
|
"name": "log-level",
|
|
@@ -535,6 +603,23 @@
|
|
|
535
603
|
"allowNo": false,
|
|
536
604
|
"type": "boolean"
|
|
537
605
|
},
|
|
606
|
+
"log-dir": {
|
|
607
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
608
|
+
"helpGroup": "GLOBAL",
|
|
609
|
+
"name": "log-dir",
|
|
610
|
+
"required": false,
|
|
611
|
+
"hasDynamicHelp": false,
|
|
612
|
+
"multiple": false,
|
|
613
|
+
"type": "option"
|
|
614
|
+
},
|
|
615
|
+
"log-file": {
|
|
616
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
617
|
+
"helpGroup": "GLOBAL",
|
|
618
|
+
"name": "log-file",
|
|
619
|
+
"required": false,
|
|
620
|
+
"allowNo": false,
|
|
621
|
+
"type": "boolean"
|
|
622
|
+
},
|
|
538
623
|
"log-level": {
|
|
539
624
|
"helpGroup": "GLOBAL",
|
|
540
625
|
"name": "log-level",
|
|
@@ -636,6 +721,23 @@
|
|
|
636
721
|
"allowNo": false,
|
|
637
722
|
"type": "boolean"
|
|
638
723
|
},
|
|
724
|
+
"log-dir": {
|
|
725
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
726
|
+
"helpGroup": "GLOBAL",
|
|
727
|
+
"name": "log-dir",
|
|
728
|
+
"required": false,
|
|
729
|
+
"hasDynamicHelp": false,
|
|
730
|
+
"multiple": false,
|
|
731
|
+
"type": "option"
|
|
732
|
+
},
|
|
733
|
+
"log-file": {
|
|
734
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
735
|
+
"helpGroup": "GLOBAL",
|
|
736
|
+
"name": "log-file",
|
|
737
|
+
"required": false,
|
|
738
|
+
"allowNo": false,
|
|
739
|
+
"type": "boolean"
|
|
740
|
+
},
|
|
639
741
|
"log-level": {
|
|
640
742
|
"helpGroup": "GLOBAL",
|
|
641
743
|
"name": "log-level",
|
|
@@ -766,6 +868,23 @@
|
|
|
766
868
|
"allowNo": false,
|
|
767
869
|
"type": "boolean"
|
|
768
870
|
},
|
|
871
|
+
"log-dir": {
|
|
872
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
873
|
+
"helpGroup": "GLOBAL",
|
|
874
|
+
"name": "log-dir",
|
|
875
|
+
"required": false,
|
|
876
|
+
"hasDynamicHelp": false,
|
|
877
|
+
"multiple": false,
|
|
878
|
+
"type": "option"
|
|
879
|
+
},
|
|
880
|
+
"log-file": {
|
|
881
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
882
|
+
"helpGroup": "GLOBAL",
|
|
883
|
+
"name": "log-file",
|
|
884
|
+
"required": false,
|
|
885
|
+
"allowNo": false,
|
|
886
|
+
"type": "boolean"
|
|
887
|
+
},
|
|
769
888
|
"log-level": {
|
|
770
889
|
"helpGroup": "GLOBAL",
|
|
771
890
|
"name": "log-level",
|
|
@@ -858,6 +977,23 @@
|
|
|
858
977
|
"allowNo": false,
|
|
859
978
|
"type": "boolean"
|
|
860
979
|
},
|
|
980
|
+
"log-dir": {
|
|
981
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
982
|
+
"helpGroup": "GLOBAL",
|
|
983
|
+
"name": "log-dir",
|
|
984
|
+
"required": false,
|
|
985
|
+
"hasDynamicHelp": false,
|
|
986
|
+
"multiple": false,
|
|
987
|
+
"type": "option"
|
|
988
|
+
},
|
|
989
|
+
"log-file": {
|
|
990
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
991
|
+
"helpGroup": "GLOBAL",
|
|
992
|
+
"name": "log-file",
|
|
993
|
+
"required": false,
|
|
994
|
+
"allowNo": false,
|
|
995
|
+
"type": "boolean"
|
|
996
|
+
},
|
|
861
997
|
"log-level": {
|
|
862
998
|
"helpGroup": "GLOBAL",
|
|
863
999
|
"name": "log-level",
|
|
@@ -965,6 +1101,23 @@
|
|
|
965
1101
|
"allowNo": false,
|
|
966
1102
|
"type": "boolean"
|
|
967
1103
|
},
|
|
1104
|
+
"log-dir": {
|
|
1105
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
1106
|
+
"helpGroup": "GLOBAL",
|
|
1107
|
+
"name": "log-dir",
|
|
1108
|
+
"required": false,
|
|
1109
|
+
"hasDynamicHelp": false,
|
|
1110
|
+
"multiple": false,
|
|
1111
|
+
"type": "option"
|
|
1112
|
+
},
|
|
1113
|
+
"log-file": {
|
|
1114
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
1115
|
+
"helpGroup": "GLOBAL",
|
|
1116
|
+
"name": "log-file",
|
|
1117
|
+
"required": false,
|
|
1118
|
+
"allowNo": false,
|
|
1119
|
+
"type": "boolean"
|
|
1120
|
+
},
|
|
968
1121
|
"log-level": {
|
|
969
1122
|
"helpGroup": "GLOBAL",
|
|
970
1123
|
"name": "log-level",
|
|
@@ -1141,6 +1294,23 @@
|
|
|
1141
1294
|
"allowNo": false,
|
|
1142
1295
|
"type": "boolean"
|
|
1143
1296
|
},
|
|
1297
|
+
"log-dir": {
|
|
1298
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
1299
|
+
"helpGroup": "GLOBAL",
|
|
1300
|
+
"name": "log-dir",
|
|
1301
|
+
"required": false,
|
|
1302
|
+
"hasDynamicHelp": false,
|
|
1303
|
+
"multiple": false,
|
|
1304
|
+
"type": "option"
|
|
1305
|
+
},
|
|
1306
|
+
"log-file": {
|
|
1307
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
1308
|
+
"helpGroup": "GLOBAL",
|
|
1309
|
+
"name": "log-file",
|
|
1310
|
+
"required": false,
|
|
1311
|
+
"allowNo": false,
|
|
1312
|
+
"type": "boolean"
|
|
1313
|
+
},
|
|
1144
1314
|
"log-level": {
|
|
1145
1315
|
"helpGroup": "GLOBAL",
|
|
1146
1316
|
"name": "log-level",
|
|
@@ -1222,6 +1392,23 @@
|
|
|
1222
1392
|
"allowNo": false,
|
|
1223
1393
|
"type": "boolean"
|
|
1224
1394
|
},
|
|
1395
|
+
"log-dir": {
|
|
1396
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
1397
|
+
"helpGroup": "GLOBAL",
|
|
1398
|
+
"name": "log-dir",
|
|
1399
|
+
"required": false,
|
|
1400
|
+
"hasDynamicHelp": false,
|
|
1401
|
+
"multiple": false,
|
|
1402
|
+
"type": "option"
|
|
1403
|
+
},
|
|
1404
|
+
"log-file": {
|
|
1405
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
1406
|
+
"helpGroup": "GLOBAL",
|
|
1407
|
+
"name": "log-file",
|
|
1408
|
+
"required": false,
|
|
1409
|
+
"allowNo": false,
|
|
1410
|
+
"type": "boolean"
|
|
1411
|
+
},
|
|
1225
1412
|
"log-level": {
|
|
1226
1413
|
"helpGroup": "GLOBAL",
|
|
1227
1414
|
"name": "log-level",
|
|
@@ -1321,6 +1508,23 @@
|
|
|
1321
1508
|
"allowNo": false,
|
|
1322
1509
|
"type": "boolean"
|
|
1323
1510
|
},
|
|
1511
|
+
"log-dir": {
|
|
1512
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
1513
|
+
"helpGroup": "GLOBAL",
|
|
1514
|
+
"name": "log-dir",
|
|
1515
|
+
"required": false,
|
|
1516
|
+
"hasDynamicHelp": false,
|
|
1517
|
+
"multiple": false,
|
|
1518
|
+
"type": "option"
|
|
1519
|
+
},
|
|
1520
|
+
"log-file": {
|
|
1521
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
1522
|
+
"helpGroup": "GLOBAL",
|
|
1523
|
+
"name": "log-file",
|
|
1524
|
+
"required": false,
|
|
1525
|
+
"allowNo": false,
|
|
1526
|
+
"type": "boolean"
|
|
1527
|
+
},
|
|
1324
1528
|
"log-level": {
|
|
1325
1529
|
"helpGroup": "GLOBAL",
|
|
1326
1530
|
"name": "log-level",
|
|
@@ -1617,6 +1821,23 @@
|
|
|
1617
1821
|
"allowNo": false,
|
|
1618
1822
|
"type": "boolean"
|
|
1619
1823
|
},
|
|
1824
|
+
"log-dir": {
|
|
1825
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
1826
|
+
"helpGroup": "GLOBAL",
|
|
1827
|
+
"name": "log-dir",
|
|
1828
|
+
"required": false,
|
|
1829
|
+
"hasDynamicHelp": false,
|
|
1830
|
+
"multiple": false,
|
|
1831
|
+
"type": "option"
|
|
1832
|
+
},
|
|
1833
|
+
"log-file": {
|
|
1834
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
1835
|
+
"helpGroup": "GLOBAL",
|
|
1836
|
+
"name": "log-file",
|
|
1837
|
+
"required": false,
|
|
1838
|
+
"allowNo": false,
|
|
1839
|
+
"type": "boolean"
|
|
1840
|
+
},
|
|
1620
1841
|
"log-level": {
|
|
1621
1842
|
"helpGroup": "GLOBAL",
|
|
1622
1843
|
"name": "log-level",
|
|
@@ -1705,6 +1926,23 @@
|
|
|
1705
1926
|
"allowNo": false,
|
|
1706
1927
|
"type": "boolean"
|
|
1707
1928
|
},
|
|
1929
|
+
"log-dir": {
|
|
1930
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
1931
|
+
"helpGroup": "GLOBAL",
|
|
1932
|
+
"name": "log-dir",
|
|
1933
|
+
"required": false,
|
|
1934
|
+
"hasDynamicHelp": false,
|
|
1935
|
+
"multiple": false,
|
|
1936
|
+
"type": "option"
|
|
1937
|
+
},
|
|
1938
|
+
"log-file": {
|
|
1939
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
1940
|
+
"helpGroup": "GLOBAL",
|
|
1941
|
+
"name": "log-file",
|
|
1942
|
+
"required": false,
|
|
1943
|
+
"allowNo": false,
|
|
1944
|
+
"type": "boolean"
|
|
1945
|
+
},
|
|
1708
1946
|
"log-level": {
|
|
1709
1947
|
"helpGroup": "GLOBAL",
|
|
1710
1948
|
"name": "log-level",
|
|
@@ -1802,6 +2040,23 @@
|
|
|
1802
2040
|
"allowNo": false,
|
|
1803
2041
|
"type": "boolean"
|
|
1804
2042
|
},
|
|
2043
|
+
"log-dir": {
|
|
2044
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
2045
|
+
"helpGroup": "GLOBAL",
|
|
2046
|
+
"name": "log-dir",
|
|
2047
|
+
"required": false,
|
|
2048
|
+
"hasDynamicHelp": false,
|
|
2049
|
+
"multiple": false,
|
|
2050
|
+
"type": "option"
|
|
2051
|
+
},
|
|
2052
|
+
"log-file": {
|
|
2053
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
2054
|
+
"helpGroup": "GLOBAL",
|
|
2055
|
+
"name": "log-file",
|
|
2056
|
+
"required": false,
|
|
2057
|
+
"allowNo": false,
|
|
2058
|
+
"type": "boolean"
|
|
2059
|
+
},
|
|
1805
2060
|
"log-level": {
|
|
1806
2061
|
"helpGroup": "GLOBAL",
|
|
1807
2062
|
"name": "log-level",
|
|
@@ -1918,6 +2173,23 @@
|
|
|
1918
2173
|
"allowNo": false,
|
|
1919
2174
|
"type": "boolean"
|
|
1920
2175
|
},
|
|
2176
|
+
"log-dir": {
|
|
2177
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
2178
|
+
"helpGroup": "GLOBAL",
|
|
2179
|
+
"name": "log-dir",
|
|
2180
|
+
"required": false,
|
|
2181
|
+
"hasDynamicHelp": false,
|
|
2182
|
+
"multiple": false,
|
|
2183
|
+
"type": "option"
|
|
2184
|
+
},
|
|
2185
|
+
"log-file": {
|
|
2186
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
2187
|
+
"helpGroup": "GLOBAL",
|
|
2188
|
+
"name": "log-file",
|
|
2189
|
+
"required": false,
|
|
2190
|
+
"allowNo": false,
|
|
2191
|
+
"type": "boolean"
|
|
2192
|
+
},
|
|
1921
2193
|
"log-level": {
|
|
1922
2194
|
"helpGroup": "GLOBAL",
|
|
1923
2195
|
"name": "log-level",
|
|
@@ -2077,6 +2349,23 @@
|
|
|
2077
2349
|
"allowNo": false,
|
|
2078
2350
|
"type": "boolean"
|
|
2079
2351
|
},
|
|
2352
|
+
"log-dir": {
|
|
2353
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
2354
|
+
"helpGroup": "GLOBAL",
|
|
2355
|
+
"name": "log-dir",
|
|
2356
|
+
"required": false,
|
|
2357
|
+
"hasDynamicHelp": false,
|
|
2358
|
+
"multiple": false,
|
|
2359
|
+
"type": "option"
|
|
2360
|
+
},
|
|
2361
|
+
"log-file": {
|
|
2362
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
2363
|
+
"helpGroup": "GLOBAL",
|
|
2364
|
+
"name": "log-file",
|
|
2365
|
+
"required": false,
|
|
2366
|
+
"allowNo": false,
|
|
2367
|
+
"type": "boolean"
|
|
2368
|
+
},
|
|
2080
2369
|
"log-level": {
|
|
2081
2370
|
"helpGroup": "GLOBAL",
|
|
2082
2371
|
"name": "log-level",
|
|
@@ -2156,6 +2445,23 @@
|
|
|
2156
2445
|
"allowNo": false,
|
|
2157
2446
|
"type": "boolean"
|
|
2158
2447
|
},
|
|
2448
|
+
"log-dir": {
|
|
2449
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
2450
|
+
"helpGroup": "GLOBAL",
|
|
2451
|
+
"name": "log-dir",
|
|
2452
|
+
"required": false,
|
|
2453
|
+
"hasDynamicHelp": false,
|
|
2454
|
+
"multiple": false,
|
|
2455
|
+
"type": "option"
|
|
2456
|
+
},
|
|
2457
|
+
"log-file": {
|
|
2458
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
2459
|
+
"helpGroup": "GLOBAL",
|
|
2460
|
+
"name": "log-file",
|
|
2461
|
+
"required": false,
|
|
2462
|
+
"allowNo": false,
|
|
2463
|
+
"type": "boolean"
|
|
2464
|
+
},
|
|
2159
2465
|
"log-level": {
|
|
2160
2466
|
"helpGroup": "GLOBAL",
|
|
2161
2467
|
"name": "log-level",
|
|
@@ -2276,6 +2582,23 @@
|
|
|
2276
2582
|
"allowNo": false,
|
|
2277
2583
|
"type": "boolean"
|
|
2278
2584
|
},
|
|
2585
|
+
"log-dir": {
|
|
2586
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
2587
|
+
"helpGroup": "GLOBAL",
|
|
2588
|
+
"name": "log-dir",
|
|
2589
|
+
"required": false,
|
|
2590
|
+
"hasDynamicHelp": false,
|
|
2591
|
+
"multiple": false,
|
|
2592
|
+
"type": "option"
|
|
2593
|
+
},
|
|
2594
|
+
"log-file": {
|
|
2595
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
2596
|
+
"helpGroup": "GLOBAL",
|
|
2597
|
+
"name": "log-file",
|
|
2598
|
+
"required": false,
|
|
2599
|
+
"allowNo": false,
|
|
2600
|
+
"type": "boolean"
|
|
2601
|
+
},
|
|
2279
2602
|
"log-level": {
|
|
2280
2603
|
"helpGroup": "GLOBAL",
|
|
2281
2604
|
"name": "log-level",
|
|
@@ -2379,6 +2702,23 @@
|
|
|
2379
2702
|
"allowNo": false,
|
|
2380
2703
|
"type": "boolean"
|
|
2381
2704
|
},
|
|
2705
|
+
"log-dir": {
|
|
2706
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
2707
|
+
"helpGroup": "GLOBAL",
|
|
2708
|
+
"name": "log-dir",
|
|
2709
|
+
"required": false,
|
|
2710
|
+
"hasDynamicHelp": false,
|
|
2711
|
+
"multiple": false,
|
|
2712
|
+
"type": "option"
|
|
2713
|
+
},
|
|
2714
|
+
"log-file": {
|
|
2715
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
2716
|
+
"helpGroup": "GLOBAL",
|
|
2717
|
+
"name": "log-file",
|
|
2718
|
+
"required": false,
|
|
2719
|
+
"allowNo": false,
|
|
2720
|
+
"type": "boolean"
|
|
2721
|
+
},
|
|
2382
2722
|
"log-level": {
|
|
2383
2723
|
"helpGroup": "GLOBAL",
|
|
2384
2724
|
"name": "log-level",
|
|
@@ -2483,6 +2823,23 @@
|
|
|
2483
2823
|
"allowNo": false,
|
|
2484
2824
|
"type": "boolean"
|
|
2485
2825
|
},
|
|
2826
|
+
"log-dir": {
|
|
2827
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
2828
|
+
"helpGroup": "GLOBAL",
|
|
2829
|
+
"name": "log-dir",
|
|
2830
|
+
"required": false,
|
|
2831
|
+
"hasDynamicHelp": false,
|
|
2832
|
+
"multiple": false,
|
|
2833
|
+
"type": "option"
|
|
2834
|
+
},
|
|
2835
|
+
"log-file": {
|
|
2836
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
2837
|
+
"helpGroup": "GLOBAL",
|
|
2838
|
+
"name": "log-file",
|
|
2839
|
+
"required": false,
|
|
2840
|
+
"allowNo": false,
|
|
2841
|
+
"type": "boolean"
|
|
2842
|
+
},
|
|
2486
2843
|
"log-level": {
|
|
2487
2844
|
"helpGroup": "GLOBAL",
|
|
2488
2845
|
"name": "log-level",
|
|
@@ -2577,6 +2934,23 @@
|
|
|
2577
2934
|
"allowNo": false,
|
|
2578
2935
|
"type": "boolean"
|
|
2579
2936
|
},
|
|
2937
|
+
"log-dir": {
|
|
2938
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
2939
|
+
"helpGroup": "GLOBAL",
|
|
2940
|
+
"name": "log-dir",
|
|
2941
|
+
"required": false,
|
|
2942
|
+
"hasDynamicHelp": false,
|
|
2943
|
+
"multiple": false,
|
|
2944
|
+
"type": "option"
|
|
2945
|
+
},
|
|
2946
|
+
"log-file": {
|
|
2947
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
2948
|
+
"helpGroup": "GLOBAL",
|
|
2949
|
+
"name": "log-file",
|
|
2950
|
+
"required": false,
|
|
2951
|
+
"allowNo": false,
|
|
2952
|
+
"type": "boolean"
|
|
2953
|
+
},
|
|
2580
2954
|
"log-level": {
|
|
2581
2955
|
"helpGroup": "GLOBAL",
|
|
2582
2956
|
"name": "log-level",
|
|
@@ -2671,6 +3045,23 @@
|
|
|
2671
3045
|
"allowNo": false,
|
|
2672
3046
|
"type": "boolean"
|
|
2673
3047
|
},
|
|
3048
|
+
"log-dir": {
|
|
3049
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
3050
|
+
"helpGroup": "GLOBAL",
|
|
3051
|
+
"name": "log-dir",
|
|
3052
|
+
"required": false,
|
|
3053
|
+
"hasDynamicHelp": false,
|
|
3054
|
+
"multiple": false,
|
|
3055
|
+
"type": "option"
|
|
3056
|
+
},
|
|
3057
|
+
"log-file": {
|
|
3058
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
3059
|
+
"helpGroup": "GLOBAL",
|
|
3060
|
+
"name": "log-file",
|
|
3061
|
+
"required": false,
|
|
3062
|
+
"allowNo": false,
|
|
3063
|
+
"type": "boolean"
|
|
3064
|
+
},
|
|
2674
3065
|
"log-level": {
|
|
2675
3066
|
"helpGroup": "GLOBAL",
|
|
2676
3067
|
"name": "log-level",
|
|
@@ -2777,10 +3168,27 @@
|
|
|
2777
3168
|
"allowNo": false,
|
|
2778
3169
|
"type": "boolean"
|
|
2779
3170
|
},
|
|
2780
|
-
"log-
|
|
3171
|
+
"log-dir": {
|
|
3172
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
2781
3173
|
"helpGroup": "GLOBAL",
|
|
2782
|
-
"name": "log-
|
|
2783
|
-
"
|
|
3174
|
+
"name": "log-dir",
|
|
3175
|
+
"required": false,
|
|
3176
|
+
"hasDynamicHelp": false,
|
|
3177
|
+
"multiple": false,
|
|
3178
|
+
"type": "option"
|
|
3179
|
+
},
|
|
3180
|
+
"log-file": {
|
|
3181
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
3182
|
+
"helpGroup": "GLOBAL",
|
|
3183
|
+
"name": "log-file",
|
|
3184
|
+
"required": false,
|
|
3185
|
+
"allowNo": false,
|
|
3186
|
+
"type": "boolean"
|
|
3187
|
+
},
|
|
3188
|
+
"log-level": {
|
|
3189
|
+
"helpGroup": "GLOBAL",
|
|
3190
|
+
"name": "log-level",
|
|
3191
|
+
"summary": "Specify level for logging.",
|
|
2784
3192
|
"default": "info",
|
|
2785
3193
|
"hasDynamicHelp": false,
|
|
2786
3194
|
"multiple": false,
|
|
@@ -2885,6 +3293,23 @@
|
|
|
2885
3293
|
"allowNo": false,
|
|
2886
3294
|
"type": "boolean"
|
|
2887
3295
|
},
|
|
3296
|
+
"log-dir": {
|
|
3297
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
3298
|
+
"helpGroup": "GLOBAL",
|
|
3299
|
+
"name": "log-dir",
|
|
3300
|
+
"required": false,
|
|
3301
|
+
"hasDynamicHelp": false,
|
|
3302
|
+
"multiple": false,
|
|
3303
|
+
"type": "option"
|
|
3304
|
+
},
|
|
3305
|
+
"log-file": {
|
|
3306
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
3307
|
+
"helpGroup": "GLOBAL",
|
|
3308
|
+
"name": "log-file",
|
|
3309
|
+
"required": false,
|
|
3310
|
+
"allowNo": false,
|
|
3311
|
+
"type": "boolean"
|
|
3312
|
+
},
|
|
2888
3313
|
"log-level": {
|
|
2889
3314
|
"helpGroup": "GLOBAL",
|
|
2890
3315
|
"name": "log-level",
|
|
@@ -2979,6 +3404,23 @@
|
|
|
2979
3404
|
"allowNo": false,
|
|
2980
3405
|
"type": "boolean"
|
|
2981
3406
|
},
|
|
3407
|
+
"log-dir": {
|
|
3408
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
3409
|
+
"helpGroup": "GLOBAL",
|
|
3410
|
+
"name": "log-dir",
|
|
3411
|
+
"required": false,
|
|
3412
|
+
"hasDynamicHelp": false,
|
|
3413
|
+
"multiple": false,
|
|
3414
|
+
"type": "option"
|
|
3415
|
+
},
|
|
3416
|
+
"log-file": {
|
|
3417
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
3418
|
+
"helpGroup": "GLOBAL",
|
|
3419
|
+
"name": "log-file",
|
|
3420
|
+
"required": false,
|
|
3421
|
+
"allowNo": false,
|
|
3422
|
+
"type": "boolean"
|
|
3423
|
+
},
|
|
2982
3424
|
"log-level": {
|
|
2983
3425
|
"helpGroup": "GLOBAL",
|
|
2984
3426
|
"name": "log-level",
|
|
@@ -3095,6 +3537,23 @@
|
|
|
3095
3537
|
"allowNo": false,
|
|
3096
3538
|
"type": "boolean"
|
|
3097
3539
|
},
|
|
3540
|
+
"log-dir": {
|
|
3541
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
3542
|
+
"helpGroup": "GLOBAL",
|
|
3543
|
+
"name": "log-dir",
|
|
3544
|
+
"required": false,
|
|
3545
|
+
"hasDynamicHelp": false,
|
|
3546
|
+
"multiple": false,
|
|
3547
|
+
"type": "option"
|
|
3548
|
+
},
|
|
3549
|
+
"log-file": {
|
|
3550
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
3551
|
+
"helpGroup": "GLOBAL",
|
|
3552
|
+
"name": "log-file",
|
|
3553
|
+
"required": false,
|
|
3554
|
+
"allowNo": false,
|
|
3555
|
+
"type": "boolean"
|
|
3556
|
+
},
|
|
3098
3557
|
"log-level": {
|
|
3099
3558
|
"helpGroup": "GLOBAL",
|
|
3100
3559
|
"name": "log-level",
|
|
@@ -3185,6 +3644,23 @@
|
|
|
3185
3644
|
"allowNo": false,
|
|
3186
3645
|
"type": "boolean"
|
|
3187
3646
|
},
|
|
3647
|
+
"log-dir": {
|
|
3648
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
3649
|
+
"helpGroup": "GLOBAL",
|
|
3650
|
+
"name": "log-dir",
|
|
3651
|
+
"required": false,
|
|
3652
|
+
"hasDynamicHelp": false,
|
|
3653
|
+
"multiple": false,
|
|
3654
|
+
"type": "option"
|
|
3655
|
+
},
|
|
3656
|
+
"log-file": {
|
|
3657
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
3658
|
+
"helpGroup": "GLOBAL",
|
|
3659
|
+
"name": "log-file",
|
|
3660
|
+
"required": false,
|
|
3661
|
+
"allowNo": false,
|
|
3662
|
+
"type": "boolean"
|
|
3663
|
+
},
|
|
3188
3664
|
"log-level": {
|
|
3189
3665
|
"helpGroup": "GLOBAL",
|
|
3190
3666
|
"name": "log-level",
|
|
@@ -3309,6 +3785,23 @@
|
|
|
3309
3785
|
"allowNo": false,
|
|
3310
3786
|
"type": "boolean"
|
|
3311
3787
|
},
|
|
3788
|
+
"log-dir": {
|
|
3789
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
3790
|
+
"helpGroup": "GLOBAL",
|
|
3791
|
+
"name": "log-dir",
|
|
3792
|
+
"required": false,
|
|
3793
|
+
"hasDynamicHelp": false,
|
|
3794
|
+
"multiple": false,
|
|
3795
|
+
"type": "option"
|
|
3796
|
+
},
|
|
3797
|
+
"log-file": {
|
|
3798
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
3799
|
+
"helpGroup": "GLOBAL",
|
|
3800
|
+
"name": "log-file",
|
|
3801
|
+
"required": false,
|
|
3802
|
+
"allowNo": false,
|
|
3803
|
+
"type": "boolean"
|
|
3804
|
+
},
|
|
3312
3805
|
"log-level": {
|
|
3313
3806
|
"helpGroup": "GLOBAL",
|
|
3314
3807
|
"name": "log-level",
|
|
@@ -3423,6 +3916,23 @@
|
|
|
3423
3916
|
"allowNo": false,
|
|
3424
3917
|
"type": "boolean"
|
|
3425
3918
|
},
|
|
3919
|
+
"log-dir": {
|
|
3920
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
3921
|
+
"helpGroup": "GLOBAL",
|
|
3922
|
+
"name": "log-dir",
|
|
3923
|
+
"required": false,
|
|
3924
|
+
"hasDynamicHelp": false,
|
|
3925
|
+
"multiple": false,
|
|
3926
|
+
"type": "option"
|
|
3927
|
+
},
|
|
3928
|
+
"log-file": {
|
|
3929
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
3930
|
+
"helpGroup": "GLOBAL",
|
|
3931
|
+
"name": "log-file",
|
|
3932
|
+
"required": false,
|
|
3933
|
+
"allowNo": false,
|
|
3934
|
+
"type": "boolean"
|
|
3935
|
+
},
|
|
3426
3936
|
"log-level": {
|
|
3427
3937
|
"helpGroup": "GLOBAL",
|
|
3428
3938
|
"name": "log-level",
|
|
@@ -3563,6 +4073,23 @@
|
|
|
3563
4073
|
"allowNo": false,
|
|
3564
4074
|
"type": "boolean"
|
|
3565
4075
|
},
|
|
4076
|
+
"log-dir": {
|
|
4077
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
4078
|
+
"helpGroup": "GLOBAL",
|
|
4079
|
+
"name": "log-dir",
|
|
4080
|
+
"required": false,
|
|
4081
|
+
"hasDynamicHelp": false,
|
|
4082
|
+
"multiple": false,
|
|
4083
|
+
"type": "option"
|
|
4084
|
+
},
|
|
4085
|
+
"log-file": {
|
|
4086
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
4087
|
+
"helpGroup": "GLOBAL",
|
|
4088
|
+
"name": "log-file",
|
|
4089
|
+
"required": false,
|
|
4090
|
+
"allowNo": false,
|
|
4091
|
+
"type": "boolean"
|
|
4092
|
+
},
|
|
3566
4093
|
"log-level": {
|
|
3567
4094
|
"helpGroup": "GLOBAL",
|
|
3568
4095
|
"name": "log-level",
|
|
@@ -3671,6 +4198,23 @@
|
|
|
3671
4198
|
"allowNo": false,
|
|
3672
4199
|
"type": "boolean"
|
|
3673
4200
|
},
|
|
4201
|
+
"log-dir": {
|
|
4202
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
4203
|
+
"helpGroup": "GLOBAL",
|
|
4204
|
+
"name": "log-dir",
|
|
4205
|
+
"required": false,
|
|
4206
|
+
"hasDynamicHelp": false,
|
|
4207
|
+
"multiple": false,
|
|
4208
|
+
"type": "option"
|
|
4209
|
+
},
|
|
4210
|
+
"log-file": {
|
|
4211
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
4212
|
+
"helpGroup": "GLOBAL",
|
|
4213
|
+
"name": "log-file",
|
|
4214
|
+
"required": false,
|
|
4215
|
+
"allowNo": false,
|
|
4216
|
+
"type": "boolean"
|
|
4217
|
+
},
|
|
3674
4218
|
"log-level": {
|
|
3675
4219
|
"helpGroup": "GLOBAL",
|
|
3676
4220
|
"name": "log-level",
|
|
@@ -3775,6 +4319,23 @@
|
|
|
3775
4319
|
"allowNo": false,
|
|
3776
4320
|
"type": "boolean"
|
|
3777
4321
|
},
|
|
4322
|
+
"log-dir": {
|
|
4323
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
4324
|
+
"helpGroup": "GLOBAL",
|
|
4325
|
+
"name": "log-dir",
|
|
4326
|
+
"required": false,
|
|
4327
|
+
"hasDynamicHelp": false,
|
|
4328
|
+
"multiple": false,
|
|
4329
|
+
"type": "option"
|
|
4330
|
+
},
|
|
4331
|
+
"log-file": {
|
|
4332
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
4333
|
+
"helpGroup": "GLOBAL",
|
|
4334
|
+
"name": "log-file",
|
|
4335
|
+
"required": false,
|
|
4336
|
+
"allowNo": false,
|
|
4337
|
+
"type": "boolean"
|
|
4338
|
+
},
|
|
3778
4339
|
"log-level": {
|
|
3779
4340
|
"helpGroup": "GLOBAL",
|
|
3780
4341
|
"name": "log-level",
|
|
@@ -3870,6 +4431,23 @@
|
|
|
3870
4431
|
"allowNo": false,
|
|
3871
4432
|
"type": "boolean"
|
|
3872
4433
|
},
|
|
4434
|
+
"log-dir": {
|
|
4435
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
4436
|
+
"helpGroup": "GLOBAL",
|
|
4437
|
+
"name": "log-dir",
|
|
4438
|
+
"required": false,
|
|
4439
|
+
"hasDynamicHelp": false,
|
|
4440
|
+
"multiple": false,
|
|
4441
|
+
"type": "option"
|
|
4442
|
+
},
|
|
4443
|
+
"log-file": {
|
|
4444
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
4445
|
+
"helpGroup": "GLOBAL",
|
|
4446
|
+
"name": "log-file",
|
|
4447
|
+
"required": false,
|
|
4448
|
+
"allowNo": false,
|
|
4449
|
+
"type": "boolean"
|
|
4450
|
+
},
|
|
3873
4451
|
"log-level": {
|
|
3874
4452
|
"helpGroup": "GLOBAL",
|
|
3875
4453
|
"name": "log-level",
|
|
@@ -3993,6 +4571,23 @@
|
|
|
3993
4571
|
"allowNo": false,
|
|
3994
4572
|
"type": "boolean"
|
|
3995
4573
|
},
|
|
4574
|
+
"log-dir": {
|
|
4575
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
4576
|
+
"helpGroup": "GLOBAL",
|
|
4577
|
+
"name": "log-dir",
|
|
4578
|
+
"required": false,
|
|
4579
|
+
"hasDynamicHelp": false,
|
|
4580
|
+
"multiple": false,
|
|
4581
|
+
"type": "option"
|
|
4582
|
+
},
|
|
4583
|
+
"log-file": {
|
|
4584
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
4585
|
+
"helpGroup": "GLOBAL",
|
|
4586
|
+
"name": "log-file",
|
|
4587
|
+
"required": false,
|
|
4588
|
+
"allowNo": false,
|
|
4589
|
+
"type": "boolean"
|
|
4590
|
+
},
|
|
3996
4591
|
"log-level": {
|
|
3997
4592
|
"helpGroup": "GLOBAL",
|
|
3998
4593
|
"name": "log-level",
|
|
@@ -4085,6 +4680,23 @@
|
|
|
4085
4680
|
"allowNo": false,
|
|
4086
4681
|
"type": "boolean"
|
|
4087
4682
|
},
|
|
4683
|
+
"log-dir": {
|
|
4684
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
4685
|
+
"helpGroup": "GLOBAL",
|
|
4686
|
+
"name": "log-dir",
|
|
4687
|
+
"required": false,
|
|
4688
|
+
"hasDynamicHelp": false,
|
|
4689
|
+
"multiple": false,
|
|
4690
|
+
"type": "option"
|
|
4691
|
+
},
|
|
4692
|
+
"log-file": {
|
|
4693
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
4694
|
+
"helpGroup": "GLOBAL",
|
|
4695
|
+
"name": "log-file",
|
|
4696
|
+
"required": false,
|
|
4697
|
+
"allowNo": false,
|
|
4698
|
+
"type": "boolean"
|
|
4699
|
+
},
|
|
4088
4700
|
"log-level": {
|
|
4089
4701
|
"helpGroup": "GLOBAL",
|
|
4090
4702
|
"name": "log-level",
|
|
@@ -4176,6 +4788,23 @@
|
|
|
4176
4788
|
"allowNo": false,
|
|
4177
4789
|
"type": "boolean"
|
|
4178
4790
|
},
|
|
4791
|
+
"log-dir": {
|
|
4792
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
4793
|
+
"helpGroup": "GLOBAL",
|
|
4794
|
+
"name": "log-dir",
|
|
4795
|
+
"required": false,
|
|
4796
|
+
"hasDynamicHelp": false,
|
|
4797
|
+
"multiple": false,
|
|
4798
|
+
"type": "option"
|
|
4799
|
+
},
|
|
4800
|
+
"log-file": {
|
|
4801
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
4802
|
+
"helpGroup": "GLOBAL",
|
|
4803
|
+
"name": "log-file",
|
|
4804
|
+
"required": false,
|
|
4805
|
+
"allowNo": false,
|
|
4806
|
+
"type": "boolean"
|
|
4807
|
+
},
|
|
4179
4808
|
"log-level": {
|
|
4180
4809
|
"helpGroup": "GLOBAL",
|
|
4181
4810
|
"name": "log-level",
|
|
@@ -4286,6 +4915,23 @@
|
|
|
4286
4915
|
"allowNo": false,
|
|
4287
4916
|
"type": "boolean"
|
|
4288
4917
|
},
|
|
4918
|
+
"log-dir": {
|
|
4919
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
4920
|
+
"helpGroup": "GLOBAL",
|
|
4921
|
+
"name": "log-dir",
|
|
4922
|
+
"required": false,
|
|
4923
|
+
"hasDynamicHelp": false,
|
|
4924
|
+
"multiple": false,
|
|
4925
|
+
"type": "option"
|
|
4926
|
+
},
|
|
4927
|
+
"log-file": {
|
|
4928
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
4929
|
+
"helpGroup": "GLOBAL",
|
|
4930
|
+
"name": "log-file",
|
|
4931
|
+
"required": false,
|
|
4932
|
+
"allowNo": false,
|
|
4933
|
+
"type": "boolean"
|
|
4934
|
+
},
|
|
4289
4935
|
"log-level": {
|
|
4290
4936
|
"helpGroup": "GLOBAL",
|
|
4291
4937
|
"name": "log-level",
|
|
@@ -4371,6 +5017,23 @@
|
|
|
4371
5017
|
"allowNo": false,
|
|
4372
5018
|
"type": "boolean"
|
|
4373
5019
|
},
|
|
5020
|
+
"log-dir": {
|
|
5021
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5022
|
+
"helpGroup": "GLOBAL",
|
|
5023
|
+
"name": "log-dir",
|
|
5024
|
+
"required": false,
|
|
5025
|
+
"hasDynamicHelp": false,
|
|
5026
|
+
"multiple": false,
|
|
5027
|
+
"type": "option"
|
|
5028
|
+
},
|
|
5029
|
+
"log-file": {
|
|
5030
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5031
|
+
"helpGroup": "GLOBAL",
|
|
5032
|
+
"name": "log-file",
|
|
5033
|
+
"required": false,
|
|
5034
|
+
"allowNo": false,
|
|
5035
|
+
"type": "boolean"
|
|
5036
|
+
},
|
|
4374
5037
|
"log-level": {
|
|
4375
5038
|
"helpGroup": "GLOBAL",
|
|
4376
5039
|
"name": "log-level",
|
|
@@ -4451,6 +5114,23 @@
|
|
|
4451
5114
|
"allowNo": false,
|
|
4452
5115
|
"type": "boolean"
|
|
4453
5116
|
},
|
|
5117
|
+
"log-dir": {
|
|
5118
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5119
|
+
"helpGroup": "GLOBAL",
|
|
5120
|
+
"name": "log-dir",
|
|
5121
|
+
"required": false,
|
|
5122
|
+
"hasDynamicHelp": false,
|
|
5123
|
+
"multiple": false,
|
|
5124
|
+
"type": "option"
|
|
5125
|
+
},
|
|
5126
|
+
"log-file": {
|
|
5127
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5128
|
+
"helpGroup": "GLOBAL",
|
|
5129
|
+
"name": "log-file",
|
|
5130
|
+
"required": false,
|
|
5131
|
+
"allowNo": false,
|
|
5132
|
+
"type": "boolean"
|
|
5133
|
+
},
|
|
4454
5134
|
"log-level": {
|
|
4455
5135
|
"helpGroup": "GLOBAL",
|
|
4456
5136
|
"name": "log-level",
|
|
@@ -4493,22 +5173,22 @@
|
|
|
4493
5173
|
"set.js"
|
|
4494
5174
|
]
|
|
4495
5175
|
},
|
|
4496
|
-
"
|
|
5176
|
+
"script-sync:pull": {
|
|
4497
5177
|
"aliases": [],
|
|
4498
5178
|
"args": {},
|
|
4499
|
-
"description": "
|
|
5179
|
+
"description": "Pull a script from a ServiceNow instance to a local file.\n\nThis command downloads a script record from your ServiceNow instance and saves it as a local file. Supports multiple script types including Script Includes, Business Rules, UI Scripts, UI Actions, and Client Scripts.\n\nFeatures:\n • Download scripts by name and type\n • Custom output file path support\n • Auto-generated file names based on script name and type\n • JSON output for CI/CD integration",
|
|
4500
5180
|
"examples": [
|
|
4501
5181
|
{
|
|
4502
|
-
"
|
|
4503
|
-
"
|
|
5182
|
+
"description": "Pull a Script Include to auto-generated file name",
|
|
5183
|
+
"command": "<%= config.bin %> <%= command.id %> --name MyScriptInclude --type sys_script_include --auth dev-instance"
|
|
4504
5184
|
},
|
|
4505
5185
|
{
|
|
4506
|
-
"
|
|
4507
|
-
"
|
|
5186
|
+
"description": "Pull a Business Rule to a specific file",
|
|
5187
|
+
"command": "<%= config.bin %> <%= command.id %> --name MyBusinessRule --type sys_script --output ./scripts/my-rule.js --auth dev-instance"
|
|
4508
5188
|
},
|
|
4509
5189
|
{
|
|
4510
|
-
"
|
|
4511
|
-
"
|
|
5190
|
+
"description": "Pull a Client Script with JSON output",
|
|
5191
|
+
"command": "<%= config.bin %> <%= command.id %> -n MyClientScript -t sys_script_client --json --auth dev-instance"
|
|
4512
5192
|
}
|
|
4513
5193
|
],
|
|
4514
5194
|
"flags": {
|
|
@@ -4536,6 +5216,23 @@
|
|
|
4536
5216
|
"allowNo": false,
|
|
4537
5217
|
"type": "boolean"
|
|
4538
5218
|
},
|
|
5219
|
+
"log-dir": {
|
|
5220
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5221
|
+
"helpGroup": "GLOBAL",
|
|
5222
|
+
"name": "log-dir",
|
|
5223
|
+
"required": false,
|
|
5224
|
+
"hasDynamicHelp": false,
|
|
5225
|
+
"multiple": false,
|
|
5226
|
+
"type": "option"
|
|
5227
|
+
},
|
|
5228
|
+
"log-file": {
|
|
5229
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5230
|
+
"helpGroup": "GLOBAL",
|
|
5231
|
+
"name": "log-file",
|
|
5232
|
+
"required": false,
|
|
5233
|
+
"allowNo": false,
|
|
5234
|
+
"type": "boolean"
|
|
5235
|
+
},
|
|
4539
5236
|
"log-level": {
|
|
4540
5237
|
"helpGroup": "GLOBAL",
|
|
4541
5238
|
"name": "log-level",
|
|
@@ -4552,29 +5249,36 @@
|
|
|
4552
5249
|
],
|
|
4553
5250
|
"type": "option"
|
|
4554
5251
|
},
|
|
4555
|
-
"
|
|
4556
|
-
"char": "
|
|
4557
|
-
"description": "
|
|
4558
|
-
"name": "
|
|
5252
|
+
"name": {
|
|
5253
|
+
"char": "n",
|
|
5254
|
+
"description": "Name of the script to pull",
|
|
5255
|
+
"name": "name",
|
|
4559
5256
|
"required": true,
|
|
4560
5257
|
"hasDynamicHelp": false,
|
|
4561
5258
|
"multiple": false,
|
|
4562
5259
|
"type": "option"
|
|
4563
5260
|
},
|
|
4564
|
-
"
|
|
4565
|
-
"char": "
|
|
4566
|
-
"description": "
|
|
4567
|
-
"name": "
|
|
5261
|
+
"type": {
|
|
5262
|
+
"char": "t",
|
|
5263
|
+
"description": "Type of script to pull",
|
|
5264
|
+
"name": "type",
|
|
4568
5265
|
"required": true,
|
|
4569
5266
|
"hasDynamicHelp": false,
|
|
4570
5267
|
"multiple": false,
|
|
5268
|
+
"options": [
|
|
5269
|
+
"sys_script_include",
|
|
5270
|
+
"sys_script",
|
|
5271
|
+
"sys_ui_script",
|
|
5272
|
+
"sys_ui_action",
|
|
5273
|
+
"sys_script_client"
|
|
5274
|
+
],
|
|
4571
5275
|
"type": "option"
|
|
4572
5276
|
},
|
|
4573
|
-
"
|
|
4574
|
-
"char": "
|
|
4575
|
-
"description": "
|
|
4576
|
-
"name": "
|
|
4577
|
-
"required":
|
|
5277
|
+
"output": {
|
|
5278
|
+
"char": "o",
|
|
5279
|
+
"description": "Output file path. If not specified, a file name is auto-generated.",
|
|
5280
|
+
"name": "output",
|
|
5281
|
+
"required": false,
|
|
4578
5282
|
"hasDynamicHelp": false,
|
|
4579
5283
|
"multiple": false,
|
|
4580
5284
|
"type": "option"
|
|
@@ -4582,7 +5286,7 @@
|
|
|
4582
5286
|
},
|
|
4583
5287
|
"hasDynamicHelp": false,
|
|
4584
5288
|
"hiddenAliases": [],
|
|
4585
|
-
"id": "
|
|
5289
|
+
"id": "script-sync:pull",
|
|
4586
5290
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
4587
5291
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
4588
5292
|
"pluginType": "core",
|
|
@@ -4592,22 +5296,26 @@
|
|
|
4592
5296
|
"relativePath": [
|
|
4593
5297
|
"dist",
|
|
4594
5298
|
"commands",
|
|
4595
|
-
"
|
|
4596
|
-
"
|
|
5299
|
+
"script-sync",
|
|
5300
|
+
"pull.js"
|
|
4597
5301
|
]
|
|
4598
5302
|
},
|
|
4599
|
-
"
|
|
5303
|
+
"script-sync:push": {
|
|
4600
5304
|
"aliases": [],
|
|
4601
5305
|
"args": {},
|
|
4602
|
-
"description": "
|
|
5306
|
+
"description": "Push a local script file to a ServiceNow instance.\n\nThis command uploads a local script file to your ServiceNow instance, updating the corresponding script record. Supports multiple script types including Script Includes, Business Rules, UI Scripts, UI Actions, and Client Scripts.\n\nFeatures:\n • Upload scripts by name and type\n • Specify the local file to push\n • JSON output for CI/CD integration\n • Detailed push result reporting",
|
|
4603
5307
|
"examples": [
|
|
4604
5308
|
{
|
|
4605
|
-
"
|
|
4606
|
-
"
|
|
5309
|
+
"description": "Push a Script Include from a local file",
|
|
5310
|
+
"command": "<%= config.bin %> <%= command.id %> --name MyScriptInclude --type sys_script_include --file ./scripts/MyScriptInclude.js --auth dev-instance"
|
|
4607
5311
|
},
|
|
4608
5312
|
{
|
|
4609
|
-
"
|
|
4610
|
-
"
|
|
5313
|
+
"description": "Push a Business Rule with short flags",
|
|
5314
|
+
"command": "<%= config.bin %> <%= command.id %> -n MyBusinessRule -t sys_script -f ./scripts/my-rule.js -a dev-instance"
|
|
5315
|
+
},
|
|
5316
|
+
{
|
|
5317
|
+
"description": "Push a UI Script with JSON output",
|
|
5318
|
+
"command": "<%= config.bin %> <%= command.id %> -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance"
|
|
4611
5319
|
}
|
|
4612
5320
|
],
|
|
4613
5321
|
"flags": {
|
|
@@ -4635,6 +5343,23 @@
|
|
|
4635
5343
|
"allowNo": false,
|
|
4636
5344
|
"type": "boolean"
|
|
4637
5345
|
},
|
|
5346
|
+
"log-dir": {
|
|
5347
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5348
|
+
"helpGroup": "GLOBAL",
|
|
5349
|
+
"name": "log-dir",
|
|
5350
|
+
"required": false,
|
|
5351
|
+
"hasDynamicHelp": false,
|
|
5352
|
+
"multiple": false,
|
|
5353
|
+
"type": "option"
|
|
5354
|
+
},
|
|
5355
|
+
"log-file": {
|
|
5356
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5357
|
+
"helpGroup": "GLOBAL",
|
|
5358
|
+
"name": "log-file",
|
|
5359
|
+
"required": false,
|
|
5360
|
+
"allowNo": false,
|
|
5361
|
+
"type": "boolean"
|
|
5362
|
+
},
|
|
4638
5363
|
"log-level": {
|
|
4639
5364
|
"helpGroup": "GLOBAL",
|
|
4640
5365
|
"name": "log-level",
|
|
@@ -4650,11 +5375,45 @@
|
|
|
4650
5375
|
"trace"
|
|
4651
5376
|
],
|
|
4652
5377
|
"type": "option"
|
|
5378
|
+
},
|
|
5379
|
+
"name": {
|
|
5380
|
+
"char": "n",
|
|
5381
|
+
"description": "Name of the script to push",
|
|
5382
|
+
"name": "name",
|
|
5383
|
+
"required": true,
|
|
5384
|
+
"hasDynamicHelp": false,
|
|
5385
|
+
"multiple": false,
|
|
5386
|
+
"type": "option"
|
|
5387
|
+
},
|
|
5388
|
+
"type": {
|
|
5389
|
+
"char": "t",
|
|
5390
|
+
"description": "Type of script to push",
|
|
5391
|
+
"name": "type",
|
|
5392
|
+
"required": true,
|
|
5393
|
+
"hasDynamicHelp": false,
|
|
5394
|
+
"multiple": false,
|
|
5395
|
+
"options": [
|
|
5396
|
+
"sys_script_include",
|
|
5397
|
+
"sys_script",
|
|
5398
|
+
"sys_ui_script",
|
|
5399
|
+
"sys_ui_action",
|
|
5400
|
+
"sys_script_client"
|
|
5401
|
+
],
|
|
5402
|
+
"type": "option"
|
|
5403
|
+
},
|
|
5404
|
+
"file": {
|
|
5405
|
+
"char": "f",
|
|
5406
|
+
"description": "Path to the local script file to push",
|
|
5407
|
+
"name": "file",
|
|
5408
|
+
"required": true,
|
|
5409
|
+
"hasDynamicHelp": false,
|
|
5410
|
+
"multiple": false,
|
|
5411
|
+
"type": "option"
|
|
4653
5412
|
}
|
|
4654
5413
|
},
|
|
4655
5414
|
"hasDynamicHelp": false,
|
|
4656
5415
|
"hiddenAliases": [],
|
|
4657
|
-
"id": "
|
|
5416
|
+
"id": "script-sync:push",
|
|
4658
5417
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
4659
5418
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
4660
5419
|
"pluginType": "core",
|
|
@@ -4664,30 +5423,26 @@
|
|
|
4664
5423
|
"relativePath": [
|
|
4665
5424
|
"dist",
|
|
4666
5425
|
"commands",
|
|
4667
|
-
"
|
|
4668
|
-
"
|
|
5426
|
+
"script-sync",
|
|
5427
|
+
"push.js"
|
|
4669
5428
|
]
|
|
4670
5429
|
},
|
|
4671
|
-
"
|
|
5430
|
+
"script-sync:sync": {
|
|
4672
5431
|
"aliases": [],
|
|
4673
5432
|
"args": {},
|
|
4674
|
-
"description": "
|
|
5433
|
+
"description": "Synchronize all scripts in a directory with a ServiceNow instance.\n\nThis command scans a local directory for script files and synchronizes them with the corresponding records on your ServiceNow instance. You can optionally filter by script types to synchronize only specific kinds of scripts.\n\nFeatures:\n • Batch synchronization of all scripts in a directory\n • Filter by one or more script types\n • Summary report with success/failure counts\n • JSON output for CI/CD integration",
|
|
4675
5434
|
"examples": [
|
|
4676
5435
|
{
|
|
4677
|
-
"
|
|
4678
|
-
"
|
|
4679
|
-
},
|
|
4680
|
-
{
|
|
4681
|
-
"command": "<%= config.bin %> <%= command.id %> --term \"getValue\" --scope x_my_app --auth dev-instance",
|
|
4682
|
-
"description": "Search within a specific application scope"
|
|
5436
|
+
"description": "Sync all scripts in a directory",
|
|
5437
|
+
"command": "<%= config.bin %> <%= command.id %> --directory ./scripts --auth dev-instance"
|
|
4683
5438
|
},
|
|
4684
5439
|
{
|
|
4685
|
-
"
|
|
4686
|
-
"
|
|
5440
|
+
"description": "Sync only Script Includes and Business Rules",
|
|
5441
|
+
"command": "<%= config.bin %> <%= command.id %> --directory ./scripts --types sys_script_include --types sys_script --auth dev-instance"
|
|
4687
5442
|
},
|
|
4688
5443
|
{
|
|
4689
|
-
"
|
|
4690
|
-
"
|
|
5444
|
+
"description": "Sync with JSON output for CI/CD",
|
|
5445
|
+
"command": "<%= config.bin %> <%= command.id %> -d ./scripts --json --auth dev-instance"
|
|
4691
5446
|
}
|
|
4692
5447
|
],
|
|
4693
5448
|
"flags": {
|
|
@@ -4715,6 +5470,23 @@
|
|
|
4715
5470
|
"allowNo": false,
|
|
4716
5471
|
"type": "boolean"
|
|
4717
5472
|
},
|
|
5473
|
+
"log-dir": {
|
|
5474
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5475
|
+
"helpGroup": "GLOBAL",
|
|
5476
|
+
"name": "log-dir",
|
|
5477
|
+
"required": false,
|
|
5478
|
+
"hasDynamicHelp": false,
|
|
5479
|
+
"multiple": false,
|
|
5480
|
+
"type": "option"
|
|
5481
|
+
},
|
|
5482
|
+
"log-file": {
|
|
5483
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5484
|
+
"helpGroup": "GLOBAL",
|
|
5485
|
+
"name": "log-file",
|
|
5486
|
+
"required": false,
|
|
5487
|
+
"allowNo": false,
|
|
5488
|
+
"type": "boolean"
|
|
5489
|
+
},
|
|
4718
5490
|
"log-level": {
|
|
4719
5491
|
"helpGroup": "GLOBAL",
|
|
4720
5492
|
"name": "log-level",
|
|
@@ -4731,54 +5503,35 @@
|
|
|
4731
5503
|
],
|
|
4732
5504
|
"type": "option"
|
|
4733
5505
|
},
|
|
4734
|
-
"
|
|
4735
|
-
"char": "
|
|
4736
|
-
"description": "
|
|
4737
|
-
"name": "
|
|
4738
|
-
"required":
|
|
4739
|
-
"hasDynamicHelp": false,
|
|
4740
|
-
"multiple": false,
|
|
4741
|
-
"type": "option"
|
|
4742
|
-
},
|
|
4743
|
-
"scope": {
|
|
4744
|
-
"char": "s",
|
|
4745
|
-
"description": "Application scope to search within",
|
|
4746
|
-
"name": "scope",
|
|
4747
|
-
"required": false,
|
|
4748
|
-
"hasDynamicHelp": false,
|
|
4749
|
-
"multiple": false,
|
|
4750
|
-
"type": "option"
|
|
4751
|
-
},
|
|
4752
|
-
"search-group": {
|
|
4753
|
-
"char": "g",
|
|
4754
|
-
"description": "Search group to search within (required when using --table)",
|
|
4755
|
-
"name": "search-group",
|
|
4756
|
-
"required": false,
|
|
4757
|
-
"hasDynamicHelp": false,
|
|
4758
|
-
"multiple": false,
|
|
4759
|
-
"type": "option"
|
|
4760
|
-
},
|
|
4761
|
-
"table": {
|
|
4762
|
-
"description": "Table name to search within (requires --search-group)",
|
|
4763
|
-
"name": "table",
|
|
4764
|
-
"required": false,
|
|
5506
|
+
"directory": {
|
|
5507
|
+
"char": "d",
|
|
5508
|
+
"description": "Directory containing script files to synchronize",
|
|
5509
|
+
"name": "directory",
|
|
5510
|
+
"required": true,
|
|
4765
5511
|
"hasDynamicHelp": false,
|
|
4766
5512
|
"multiple": false,
|
|
4767
5513
|
"type": "option"
|
|
4768
5514
|
},
|
|
4769
|
-
"
|
|
5515
|
+
"types": {
|
|
4770
5516
|
"char": "t",
|
|
4771
|
-
"description": "
|
|
4772
|
-
"name": "
|
|
4773
|
-
"required":
|
|
5517
|
+
"description": "Script types to synchronize. Can be specified multiple times to include multiple types.",
|
|
5518
|
+
"name": "types",
|
|
5519
|
+
"required": false,
|
|
4774
5520
|
"hasDynamicHelp": false,
|
|
4775
|
-
"multiple":
|
|
5521
|
+
"multiple": true,
|
|
5522
|
+
"options": [
|
|
5523
|
+
"sys_script_include",
|
|
5524
|
+
"sys_script",
|
|
5525
|
+
"sys_ui_script",
|
|
5526
|
+
"sys_ui_action",
|
|
5527
|
+
"sys_script_client"
|
|
5528
|
+
],
|
|
4776
5529
|
"type": "option"
|
|
4777
5530
|
}
|
|
4778
5531
|
},
|
|
4779
5532
|
"hasDynamicHelp": false,
|
|
4780
5533
|
"hiddenAliases": [],
|
|
4781
|
-
"id": "
|
|
5534
|
+
"id": "script-sync:sync",
|
|
4782
5535
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
4783
5536
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
4784
5537
|
"pluginType": "core",
|
|
@@ -4788,22 +5541,26 @@
|
|
|
4788
5541
|
"relativePath": [
|
|
4789
5542
|
"dist",
|
|
4790
5543
|
"commands",
|
|
4791
|
-
"
|
|
4792
|
-
"
|
|
5544
|
+
"script-sync",
|
|
5545
|
+
"sync.js"
|
|
4793
5546
|
]
|
|
4794
5547
|
},
|
|
4795
|
-
"search:
|
|
5548
|
+
"search:add-table": {
|
|
4796
5549
|
"aliases": [],
|
|
4797
5550
|
"args": {},
|
|
4798
|
-
"description": "
|
|
5551
|
+
"description": "Add a table to a code search group on a ServiceNow instance.\n\nThis command registers a new table and its searchable fields with a search group, making the table's records discoverable through code search. This is useful when you need to include custom tables in code search results.\n\nFeatures:\n • Add custom tables to search groups\n • Specify which fields should be indexed\n • JSON output for scripting and automation",
|
|
4799
5552
|
"examples": [
|
|
4800
5553
|
{
|
|
4801
|
-
"command": "<%= config.bin %> <%= command.id %> --search-group \"Script Includes\" --auth dev-instance",
|
|
4802
|
-
"description": "
|
|
5554
|
+
"command": "<%= config.bin %> <%= command.id %> --table sys_script_include --search-fields script --search-group \"Script Includes\" --auth dev-instance",
|
|
5555
|
+
"description": "Add a table to a search group"
|
|
4803
5556
|
},
|
|
4804
5557
|
{
|
|
4805
|
-
"command": "<%= config.bin %> <%= command.id %> --search-group \"
|
|
4806
|
-
"description": "
|
|
5558
|
+
"command": "<%= config.bin %> <%= command.id %> --table sys_ui_page --search-fields \"html,client_script,processing_script\" --search-group \"UI Pages\" --auth dev-instance",
|
|
5559
|
+
"description": "Add a table with multiple search fields"
|
|
5560
|
+
},
|
|
5561
|
+
{
|
|
5562
|
+
"command": "<%= config.bin %> <%= command.id %> --table u_custom_script --search-fields script --search-group \"Custom\" --json --auth dev-instance",
|
|
5563
|
+
"description": "Add a table with JSON output"
|
|
4807
5564
|
}
|
|
4808
5565
|
],
|
|
4809
5566
|
"flags": {
|
|
@@ -4831,6 +5588,23 @@
|
|
|
4831
5588
|
"allowNo": false,
|
|
4832
5589
|
"type": "boolean"
|
|
4833
5590
|
},
|
|
5591
|
+
"log-dir": {
|
|
5592
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5593
|
+
"helpGroup": "GLOBAL",
|
|
5594
|
+
"name": "log-dir",
|
|
5595
|
+
"required": false,
|
|
5596
|
+
"hasDynamicHelp": false,
|
|
5597
|
+
"multiple": false,
|
|
5598
|
+
"type": "option"
|
|
5599
|
+
},
|
|
5600
|
+
"log-file": {
|
|
5601
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5602
|
+
"helpGroup": "GLOBAL",
|
|
5603
|
+
"name": "log-file",
|
|
5604
|
+
"required": false,
|
|
5605
|
+
"allowNo": false,
|
|
5606
|
+
"type": "boolean"
|
|
5607
|
+
},
|
|
4834
5608
|
"log-level": {
|
|
4835
5609
|
"helpGroup": "GLOBAL",
|
|
4836
5610
|
"name": "log-level",
|
|
@@ -4847,19 +5621,37 @@
|
|
|
4847
5621
|
],
|
|
4848
5622
|
"type": "option"
|
|
4849
5623
|
},
|
|
5624
|
+
"search-fields": {
|
|
5625
|
+
"char": "f",
|
|
5626
|
+
"description": "Comma-separated list of fields to index for search",
|
|
5627
|
+
"name": "search-fields",
|
|
5628
|
+
"required": true,
|
|
5629
|
+
"hasDynamicHelp": false,
|
|
5630
|
+
"multiple": false,
|
|
5631
|
+
"type": "option"
|
|
5632
|
+
},
|
|
4850
5633
|
"search-group": {
|
|
4851
5634
|
"char": "g",
|
|
4852
|
-
"description": "Search group
|
|
5635
|
+
"description": "Search group to add the table to",
|
|
4853
5636
|
"name": "search-group",
|
|
4854
5637
|
"required": true,
|
|
4855
5638
|
"hasDynamicHelp": false,
|
|
4856
5639
|
"multiple": false,
|
|
4857
5640
|
"type": "option"
|
|
5641
|
+
},
|
|
5642
|
+
"table": {
|
|
5643
|
+
"char": "t",
|
|
5644
|
+
"description": "Table name to add to the search group",
|
|
5645
|
+
"name": "table",
|
|
5646
|
+
"required": true,
|
|
5647
|
+
"hasDynamicHelp": false,
|
|
5648
|
+
"multiple": false,
|
|
5649
|
+
"type": "option"
|
|
4858
5650
|
}
|
|
4859
5651
|
},
|
|
4860
5652
|
"hasDynamicHelp": false,
|
|
4861
5653
|
"hiddenAliases": [],
|
|
4862
|
-
"id": "search:
|
|
5654
|
+
"id": "search:add-table",
|
|
4863
5655
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
4864
5656
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
4865
5657
|
"pluginType": "core",
|
|
@@ -4870,25 +5662,21 @@
|
|
|
4870
5662
|
"dist",
|
|
4871
5663
|
"commands",
|
|
4872
5664
|
"search",
|
|
4873
|
-
"
|
|
5665
|
+
"add-table.js"
|
|
4874
5666
|
]
|
|
4875
5667
|
},
|
|
4876
|
-
"
|
|
5668
|
+
"search:groups": {
|
|
4877
5669
|
"aliases": [],
|
|
4878
5670
|
"args": {},
|
|
4879
|
-
"description": "
|
|
5671
|
+
"description": "List all available code search groups on a ServiceNow instance.\n\nSearch groups organize searchable tables into logical categories. Use this command to discover which search groups are configured, then use the group names with other search commands to narrow your search scope.\n\nFeatures:\n • List all configured search groups\n • JSON output for scripting and automation",
|
|
4880
5672
|
"examples": [
|
|
4881
5673
|
{
|
|
4882
|
-
"
|
|
4883
|
-
"
|
|
4884
|
-
},
|
|
4885
|
-
{
|
|
4886
|
-
"description": "Pull a Business Rule to a specific file",
|
|
4887
|
-
"command": "<%= config.bin %> <%= command.id %> --name MyBusinessRule --type sys_script --output ./scripts/my-rule.js --auth dev-instance"
|
|
5674
|
+
"command": "<%= config.bin %> <%= command.id %> --auth dev-instance",
|
|
5675
|
+
"description": "List all search groups"
|
|
4888
5676
|
},
|
|
4889
5677
|
{
|
|
4890
|
-
"
|
|
4891
|
-
"
|
|
5678
|
+
"command": "<%= config.bin %> <%= command.id %> --json --auth dev-instance",
|
|
5679
|
+
"description": "List search groups with JSON output"
|
|
4892
5680
|
}
|
|
4893
5681
|
],
|
|
4894
5682
|
"flags": {
|
|
@@ -4916,6 +5704,23 @@
|
|
|
4916
5704
|
"allowNo": false,
|
|
4917
5705
|
"type": "boolean"
|
|
4918
5706
|
},
|
|
5707
|
+
"log-dir": {
|
|
5708
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5709
|
+
"helpGroup": "GLOBAL",
|
|
5710
|
+
"name": "log-dir",
|
|
5711
|
+
"required": false,
|
|
5712
|
+
"hasDynamicHelp": false,
|
|
5713
|
+
"multiple": false,
|
|
5714
|
+
"type": "option"
|
|
5715
|
+
},
|
|
5716
|
+
"log-file": {
|
|
5717
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5718
|
+
"helpGroup": "GLOBAL",
|
|
5719
|
+
"name": "log-file",
|
|
5720
|
+
"required": false,
|
|
5721
|
+
"allowNo": false,
|
|
5722
|
+
"type": "boolean"
|
|
5723
|
+
},
|
|
4919
5724
|
"log-level": {
|
|
4920
5725
|
"helpGroup": "GLOBAL",
|
|
4921
5726
|
"name": "log-level",
|
|
@@ -4931,45 +5736,11 @@
|
|
|
4931
5736
|
"trace"
|
|
4932
5737
|
],
|
|
4933
5738
|
"type": "option"
|
|
4934
|
-
},
|
|
4935
|
-
"name": {
|
|
4936
|
-
"char": "n",
|
|
4937
|
-
"description": "Name of the script to pull",
|
|
4938
|
-
"name": "name",
|
|
4939
|
-
"required": true,
|
|
4940
|
-
"hasDynamicHelp": false,
|
|
4941
|
-
"multiple": false,
|
|
4942
|
-
"type": "option"
|
|
4943
|
-
},
|
|
4944
|
-
"type": {
|
|
4945
|
-
"char": "t",
|
|
4946
|
-
"description": "Type of script to pull",
|
|
4947
|
-
"name": "type",
|
|
4948
|
-
"required": true,
|
|
4949
|
-
"hasDynamicHelp": false,
|
|
4950
|
-
"multiple": false,
|
|
4951
|
-
"options": [
|
|
4952
|
-
"sys_script_include",
|
|
4953
|
-
"sys_script",
|
|
4954
|
-
"sys_ui_script",
|
|
4955
|
-
"sys_ui_action",
|
|
4956
|
-
"sys_script_client"
|
|
4957
|
-
],
|
|
4958
|
-
"type": "option"
|
|
4959
|
-
},
|
|
4960
|
-
"output": {
|
|
4961
|
-
"char": "o",
|
|
4962
|
-
"description": "Output file path. If not specified, a file name is auto-generated.",
|
|
4963
|
-
"name": "output",
|
|
4964
|
-
"required": false,
|
|
4965
|
-
"hasDynamicHelp": false,
|
|
4966
|
-
"multiple": false,
|
|
4967
|
-
"type": "option"
|
|
4968
5739
|
}
|
|
4969
5740
|
},
|
|
4970
5741
|
"hasDynamicHelp": false,
|
|
4971
5742
|
"hiddenAliases": [],
|
|
4972
|
-
"id": "
|
|
5743
|
+
"id": "search:groups",
|
|
4973
5744
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
4974
5745
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
4975
5746
|
"pluginType": "core",
|
|
@@ -4979,26 +5750,30 @@
|
|
|
4979
5750
|
"relativePath": [
|
|
4980
5751
|
"dist",
|
|
4981
5752
|
"commands",
|
|
4982
|
-
"
|
|
4983
|
-
"
|
|
5753
|
+
"search",
|
|
5754
|
+
"groups.js"
|
|
4984
5755
|
]
|
|
4985
5756
|
},
|
|
4986
|
-
"
|
|
5757
|
+
"search": {
|
|
4987
5758
|
"aliases": [],
|
|
4988
5759
|
"args": {},
|
|
4989
|
-
"description": "
|
|
5760
|
+
"description": "Search platform code across a ServiceNow instance.\n\nThis command allows you to search through code stored on the platform, including scripts, business rules, UI pages, and other scriptable records. You can search globally, within a specific application scope, or within a specific table and search group.\n\nFeatures:\n • Full-text code search across the platform\n • Scope-specific search within application boundaries\n • Table-specific search within a search group\n • JSON output for CI/CD integration\n • Configurable result limits",
|
|
4990
5761
|
"examples": [
|
|
4991
5762
|
{
|
|
4992
|
-
"
|
|
4993
|
-
"
|
|
5763
|
+
"command": "<%= config.bin %> <%= command.id %> --term \"GlideRecord\" --auth dev-instance",
|
|
5764
|
+
"description": "Search for a term across the entire instance"
|
|
4994
5765
|
},
|
|
4995
5766
|
{
|
|
4996
|
-
"
|
|
4997
|
-
"
|
|
5767
|
+
"command": "<%= config.bin %> <%= command.id %> --term \"getValue\" --scope x_my_app --auth dev-instance",
|
|
5768
|
+
"description": "Search within a specific application scope"
|
|
4998
5769
|
},
|
|
4999
5770
|
{
|
|
5000
|
-
"
|
|
5001
|
-
"
|
|
5771
|
+
"command": "<%= config.bin %> <%= command.id %> --term \"initialize\" --search-group \"Script Includes\" --table sys_script_include --auth dev-instance",
|
|
5772
|
+
"description": "Search within a specific table and search group"
|
|
5773
|
+
},
|
|
5774
|
+
{
|
|
5775
|
+
"command": "<%= config.bin %> <%= command.id %> --term \"GlideRecord\" --limit 10 --json --auth dev-instance",
|
|
5776
|
+
"description": "Search with a result limit and JSON output"
|
|
5002
5777
|
}
|
|
5003
5778
|
],
|
|
5004
5779
|
"flags": {
|
|
@@ -5026,6 +5801,23 @@
|
|
|
5026
5801
|
"allowNo": false,
|
|
5027
5802
|
"type": "boolean"
|
|
5028
5803
|
},
|
|
5804
|
+
"log-dir": {
|
|
5805
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5806
|
+
"helpGroup": "GLOBAL",
|
|
5807
|
+
"name": "log-dir",
|
|
5808
|
+
"required": false,
|
|
5809
|
+
"hasDynamicHelp": false,
|
|
5810
|
+
"multiple": false,
|
|
5811
|
+
"type": "option"
|
|
5812
|
+
},
|
|
5813
|
+
"log-file": {
|
|
5814
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5815
|
+
"helpGroup": "GLOBAL",
|
|
5816
|
+
"name": "log-file",
|
|
5817
|
+
"required": false,
|
|
5818
|
+
"allowNo": false,
|
|
5819
|
+
"type": "boolean"
|
|
5820
|
+
},
|
|
5029
5821
|
"log-level": {
|
|
5030
5822
|
"helpGroup": "GLOBAL",
|
|
5031
5823
|
"name": "log-level",
|
|
@@ -5042,35 +5834,45 @@
|
|
|
5042
5834
|
],
|
|
5043
5835
|
"type": "option"
|
|
5044
5836
|
},
|
|
5045
|
-
"
|
|
5046
|
-
"char": "
|
|
5047
|
-
"description": "
|
|
5048
|
-
"name": "
|
|
5049
|
-
"required":
|
|
5837
|
+
"limit": {
|
|
5838
|
+
"char": "l",
|
|
5839
|
+
"description": "Maximum number of results to return",
|
|
5840
|
+
"name": "limit",
|
|
5841
|
+
"required": false,
|
|
5050
5842
|
"hasDynamicHelp": false,
|
|
5051
5843
|
"multiple": false,
|
|
5052
5844
|
"type": "option"
|
|
5053
5845
|
},
|
|
5054
|
-
"
|
|
5055
|
-
"char": "
|
|
5056
|
-
"description": "
|
|
5057
|
-
"name": "
|
|
5058
|
-
"required":
|
|
5846
|
+
"scope": {
|
|
5847
|
+
"char": "s",
|
|
5848
|
+
"description": "Application scope to search within",
|
|
5849
|
+
"name": "scope",
|
|
5850
|
+
"required": false,
|
|
5059
5851
|
"hasDynamicHelp": false,
|
|
5060
5852
|
"multiple": false,
|
|
5061
|
-
"options": [
|
|
5062
|
-
"sys_script_include",
|
|
5063
|
-
"sys_script",
|
|
5064
|
-
"sys_ui_script",
|
|
5065
|
-
"sys_ui_action",
|
|
5066
|
-
"sys_script_client"
|
|
5067
|
-
],
|
|
5068
5853
|
"type": "option"
|
|
5069
5854
|
},
|
|
5070
|
-
"
|
|
5071
|
-
"char": "
|
|
5072
|
-
"description": "
|
|
5073
|
-
"name": "
|
|
5855
|
+
"search-group": {
|
|
5856
|
+
"char": "g",
|
|
5857
|
+
"description": "Search group to search within (required when using --table)",
|
|
5858
|
+
"name": "search-group",
|
|
5859
|
+
"required": false,
|
|
5860
|
+
"hasDynamicHelp": false,
|
|
5861
|
+
"multiple": false,
|
|
5862
|
+
"type": "option"
|
|
5863
|
+
},
|
|
5864
|
+
"table": {
|
|
5865
|
+
"description": "Table name to search within (requires --search-group)",
|
|
5866
|
+
"name": "table",
|
|
5867
|
+
"required": false,
|
|
5868
|
+
"hasDynamicHelp": false,
|
|
5869
|
+
"multiple": false,
|
|
5870
|
+
"type": "option"
|
|
5871
|
+
},
|
|
5872
|
+
"term": {
|
|
5873
|
+
"char": "t",
|
|
5874
|
+
"description": "Search term to look for in platform code",
|
|
5875
|
+
"name": "term",
|
|
5074
5876
|
"required": true,
|
|
5075
5877
|
"hasDynamicHelp": false,
|
|
5076
5878
|
"multiple": false,
|
|
@@ -5079,7 +5881,7 @@
|
|
|
5079
5881
|
},
|
|
5080
5882
|
"hasDynamicHelp": false,
|
|
5081
5883
|
"hiddenAliases": [],
|
|
5082
|
-
"id": "
|
|
5884
|
+
"id": "search",
|
|
5083
5885
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5084
5886
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5085
5887
|
"pluginType": "core",
|
|
@@ -5089,26 +5891,22 @@
|
|
|
5089
5891
|
"relativePath": [
|
|
5090
5892
|
"dist",
|
|
5091
5893
|
"commands",
|
|
5092
|
-
"
|
|
5093
|
-
"
|
|
5894
|
+
"search",
|
|
5895
|
+
"index.js"
|
|
5094
5896
|
]
|
|
5095
5897
|
},
|
|
5096
|
-
"
|
|
5898
|
+
"search:tables": {
|
|
5097
5899
|
"aliases": [],
|
|
5098
5900
|
"args": {},
|
|
5099
|
-
"description": "
|
|
5901
|
+
"description": "List tables configured for a specific code search group.\n\nEach search group contains one or more tables that are indexed for code search. Use this command to discover which tables belong to a search group, including the fields that are searchable on each table.\n\nFeatures:\n • List all tables in a search group\n • View searchable fields per table\n • JSON output for scripting and automation",
|
|
5100
5902
|
"examples": [
|
|
5101
5903
|
{
|
|
5102
|
-
"
|
|
5103
|
-
"
|
|
5104
|
-
},
|
|
5105
|
-
{
|
|
5106
|
-
"description": "Sync only Script Includes and Business Rules",
|
|
5107
|
-
"command": "<%= config.bin %> <%= command.id %> --directory ./scripts --types sys_script_include --types sys_script --auth dev-instance"
|
|
5904
|
+
"command": "<%= config.bin %> <%= command.id %> --search-group \"Script Includes\" --auth dev-instance",
|
|
5905
|
+
"description": "List tables in a search group"
|
|
5108
5906
|
},
|
|
5109
5907
|
{
|
|
5110
|
-
"
|
|
5111
|
-
"
|
|
5908
|
+
"command": "<%= config.bin %> <%= command.id %> --search-group \"Business Rules\" --json --auth dev-instance",
|
|
5909
|
+
"description": "List tables with JSON output"
|
|
5112
5910
|
}
|
|
5113
5911
|
],
|
|
5114
5912
|
"flags": {
|
|
@@ -5136,6 +5934,23 @@
|
|
|
5136
5934
|
"allowNo": false,
|
|
5137
5935
|
"type": "boolean"
|
|
5138
5936
|
},
|
|
5937
|
+
"log-dir": {
|
|
5938
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5939
|
+
"helpGroup": "GLOBAL",
|
|
5940
|
+
"name": "log-dir",
|
|
5941
|
+
"required": false,
|
|
5942
|
+
"hasDynamicHelp": false,
|
|
5943
|
+
"multiple": false,
|
|
5944
|
+
"type": "option"
|
|
5945
|
+
},
|
|
5946
|
+
"log-file": {
|
|
5947
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5948
|
+
"helpGroup": "GLOBAL",
|
|
5949
|
+
"name": "log-file",
|
|
5950
|
+
"required": false,
|
|
5951
|
+
"allowNo": false,
|
|
5952
|
+
"type": "boolean"
|
|
5953
|
+
},
|
|
5139
5954
|
"log-level": {
|
|
5140
5955
|
"helpGroup": "GLOBAL",
|
|
5141
5956
|
"name": "log-level",
|
|
@@ -5152,35 +5967,19 @@
|
|
|
5152
5967
|
],
|
|
5153
5968
|
"type": "option"
|
|
5154
5969
|
},
|
|
5155
|
-
"
|
|
5156
|
-
"char": "
|
|
5157
|
-
"description": "
|
|
5158
|
-
"name": "
|
|
5970
|
+
"search-group": {
|
|
5971
|
+
"char": "g",
|
|
5972
|
+
"description": "Search group name to list tables for",
|
|
5973
|
+
"name": "search-group",
|
|
5159
5974
|
"required": true,
|
|
5160
5975
|
"hasDynamicHelp": false,
|
|
5161
5976
|
"multiple": false,
|
|
5162
5977
|
"type": "option"
|
|
5163
|
-
},
|
|
5164
|
-
"types": {
|
|
5165
|
-
"char": "t",
|
|
5166
|
-
"description": "Script types to synchronize. Can be specified multiple times to include multiple types.",
|
|
5167
|
-
"name": "types",
|
|
5168
|
-
"required": false,
|
|
5169
|
-
"hasDynamicHelp": false,
|
|
5170
|
-
"multiple": true,
|
|
5171
|
-
"options": [
|
|
5172
|
-
"sys_script_include",
|
|
5173
|
-
"sys_script",
|
|
5174
|
-
"sys_ui_script",
|
|
5175
|
-
"sys_ui_action",
|
|
5176
|
-
"sys_script_client"
|
|
5177
|
-
],
|
|
5178
|
-
"type": "option"
|
|
5179
5978
|
}
|
|
5180
5979
|
},
|
|
5181
5980
|
"hasDynamicHelp": false,
|
|
5182
5981
|
"hiddenAliases": [],
|
|
5183
|
-
"id": "
|
|
5982
|
+
"id": "search:tables",
|
|
5184
5983
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5185
5984
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5186
5985
|
"pluginType": "core",
|
|
@@ -5190,22 +5989,26 @@
|
|
|
5190
5989
|
"relativePath": [
|
|
5191
5990
|
"dist",
|
|
5192
5991
|
"commands",
|
|
5193
|
-
"
|
|
5194
|
-
"
|
|
5992
|
+
"search",
|
|
5993
|
+
"tables.js"
|
|
5195
5994
|
]
|
|
5196
5995
|
},
|
|
5197
|
-
"
|
|
5996
|
+
"store:install": {
|
|
5198
5997
|
"aliases": [],
|
|
5199
5998
|
"args": {},
|
|
5200
|
-
"description": "
|
|
5999
|
+
"description": "Install an application from the ServiceNow Store.",
|
|
5201
6000
|
"examples": [
|
|
5202
6001
|
{
|
|
5203
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
5204
|
-
"description": "
|
|
6002
|
+
"command": "<%= config.bin %> <%= command.id %> --app-id abc123 --version 1.0.0 --auth dev",
|
|
6003
|
+
"description": "Install a store application and wait for completion"
|
|
5205
6004
|
},
|
|
5206
6005
|
{
|
|
5207
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
5208
|
-
"description": "
|
|
6006
|
+
"command": "<%= config.bin %> <%= command.id %> --app-id abc123 --version 1.0.0 --no-wait --auth dev",
|
|
6007
|
+
"description": "Install without waiting for completion"
|
|
6008
|
+
},
|
|
6009
|
+
{
|
|
6010
|
+
"command": "<%= config.bin %> <%= command.id %> -a abc123 -v 1.0.0 --demo-data --auth dev",
|
|
6011
|
+
"description": "Install with demo data"
|
|
5209
6012
|
}
|
|
5210
6013
|
],
|
|
5211
6014
|
"flags": {
|
|
@@ -5233,6 +6036,23 @@
|
|
|
5233
6036
|
"allowNo": false,
|
|
5234
6037
|
"type": "boolean"
|
|
5235
6038
|
},
|
|
6039
|
+
"log-dir": {
|
|
6040
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
6041
|
+
"helpGroup": "GLOBAL",
|
|
6042
|
+
"name": "log-dir",
|
|
6043
|
+
"required": false,
|
|
6044
|
+
"hasDynamicHelp": false,
|
|
6045
|
+
"multiple": false,
|
|
6046
|
+
"type": "option"
|
|
6047
|
+
},
|
|
6048
|
+
"log-file": {
|
|
6049
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
6050
|
+
"helpGroup": "GLOBAL",
|
|
6051
|
+
"name": "log-file",
|
|
6052
|
+
"required": false,
|
|
6053
|
+
"allowNo": false,
|
|
6054
|
+
"type": "boolean"
|
|
6055
|
+
},
|
|
5236
6056
|
"log-level": {
|
|
5237
6057
|
"helpGroup": "GLOBAL",
|
|
5238
6058
|
"name": "log-level",
|
|
@@ -5249,19 +6069,51 @@
|
|
|
5249
6069
|
],
|
|
5250
6070
|
"type": "option"
|
|
5251
6071
|
},
|
|
5252
|
-
"
|
|
5253
|
-
"char": "
|
|
5254
|
-
"description": "
|
|
5255
|
-
"name": "
|
|
6072
|
+
"app-id": {
|
|
6073
|
+
"char": "a",
|
|
6074
|
+
"description": "Store application sys_id",
|
|
6075
|
+
"name": "app-id",
|
|
6076
|
+
"required": true,
|
|
6077
|
+
"hasDynamicHelp": false,
|
|
6078
|
+
"multiple": false,
|
|
6079
|
+
"type": "option"
|
|
6080
|
+
},
|
|
6081
|
+
"demo-data": {
|
|
6082
|
+
"description": "Load demo data during installation",
|
|
6083
|
+
"name": "demo-data",
|
|
6084
|
+
"required": false,
|
|
6085
|
+
"allowNo": false,
|
|
6086
|
+
"type": "boolean"
|
|
6087
|
+
},
|
|
6088
|
+
"no-wait": {
|
|
6089
|
+
"description": "Do not wait for installation to complete",
|
|
6090
|
+
"name": "no-wait",
|
|
6091
|
+
"required": false,
|
|
6092
|
+
"allowNo": false,
|
|
6093
|
+
"type": "boolean"
|
|
6094
|
+
},
|
|
6095
|
+
"poll-interval": {
|
|
6096
|
+
"description": "Polling interval in milliseconds",
|
|
6097
|
+
"name": "poll-interval",
|
|
5256
6098
|
"required": false,
|
|
6099
|
+
"default": 5000,
|
|
5257
6100
|
"hasDynamicHelp": false,
|
|
5258
6101
|
"multiple": false,
|
|
5259
6102
|
"type": "option"
|
|
5260
6103
|
},
|
|
5261
|
-
"
|
|
5262
|
-
"
|
|
5263
|
-
"
|
|
5264
|
-
"
|
|
6104
|
+
"timeout": {
|
|
6105
|
+
"description": "Installation timeout in milliseconds",
|
|
6106
|
+
"name": "timeout",
|
|
6107
|
+
"required": false,
|
|
6108
|
+
"default": 1800000,
|
|
6109
|
+
"hasDynamicHelp": false,
|
|
6110
|
+
"multiple": false,
|
|
6111
|
+
"type": "option"
|
|
6112
|
+
},
|
|
6113
|
+
"version": {
|
|
6114
|
+
"char": "v",
|
|
6115
|
+
"description": "Application version to install",
|
|
6116
|
+
"name": "version",
|
|
5265
6117
|
"required": true,
|
|
5266
6118
|
"hasDynamicHelp": false,
|
|
5267
6119
|
"multiple": false,
|
|
@@ -5270,7 +6122,7 @@
|
|
|
5270
6122
|
},
|
|
5271
6123
|
"hasDynamicHelp": false,
|
|
5272
6124
|
"hiddenAliases": [],
|
|
5273
|
-
"id": "
|
|
6125
|
+
"id": "store:install",
|
|
5274
6126
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5275
6127
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5276
6128
|
"pluginType": "core",
|
|
@@ -5280,26 +6132,26 @@
|
|
|
5280
6132
|
"relativePath": [
|
|
5281
6133
|
"dist",
|
|
5282
6134
|
"commands",
|
|
5283
|
-
"
|
|
5284
|
-
"
|
|
6135
|
+
"store",
|
|
6136
|
+
"install.js"
|
|
5285
6137
|
]
|
|
5286
6138
|
},
|
|
5287
|
-
"
|
|
6139
|
+
"store:search": {
|
|
5288
6140
|
"aliases": [],
|
|
5289
6141
|
"args": {},
|
|
5290
|
-
"description": "
|
|
6142
|
+
"description": "Search for applications in the ServiceNow Store.",
|
|
5291
6143
|
"examples": [
|
|
5292
6144
|
{
|
|
5293
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
5294
|
-
"description": "
|
|
6145
|
+
"command": "<%= config.bin %> <%= command.id %> --term \"ITSM\" --auth dev",
|
|
6146
|
+
"description": "Search for applications matching a term"
|
|
5295
6147
|
},
|
|
5296
6148
|
{
|
|
5297
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
5298
|
-
"description": "
|
|
6149
|
+
"command": "<%= config.bin %> <%= command.id %> --tab installed --auth dev",
|
|
6150
|
+
"description": "List installed applications"
|
|
5299
6151
|
},
|
|
5300
6152
|
{
|
|
5301
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
5302
|
-
"description": "
|
|
6153
|
+
"command": "<%= config.bin %> <%= command.id %> --tab updates --limit 10 --auth dev",
|
|
6154
|
+
"description": "List applications with available updates"
|
|
5303
6155
|
}
|
|
5304
6156
|
],
|
|
5305
6157
|
"flags": {
|
|
@@ -5327,6 +6179,23 @@
|
|
|
5327
6179
|
"allowNo": false,
|
|
5328
6180
|
"type": "boolean"
|
|
5329
6181
|
},
|
|
6182
|
+
"log-dir": {
|
|
6183
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
6184
|
+
"helpGroup": "GLOBAL",
|
|
6185
|
+
"name": "log-dir",
|
|
6186
|
+
"required": false,
|
|
6187
|
+
"hasDynamicHelp": false,
|
|
6188
|
+
"multiple": false,
|
|
6189
|
+
"type": "option"
|
|
6190
|
+
},
|
|
6191
|
+
"log-file": {
|
|
6192
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
6193
|
+
"helpGroup": "GLOBAL",
|
|
6194
|
+
"name": "log-file",
|
|
6195
|
+
"required": false,
|
|
6196
|
+
"allowNo": false,
|
|
6197
|
+
"type": "boolean"
|
|
6198
|
+
},
|
|
5330
6199
|
"log-level": {
|
|
5331
6200
|
"helpGroup": "GLOBAL",
|
|
5332
6201
|
"name": "log-level",
|
|
@@ -5343,38 +6212,34 @@
|
|
|
5343
6212
|
],
|
|
5344
6213
|
"type": "option"
|
|
5345
6214
|
},
|
|
5346
|
-
"
|
|
5347
|
-
"
|
|
5348
|
-
"
|
|
5349
|
-
"name": "group",
|
|
6215
|
+
"limit": {
|
|
6216
|
+
"description": "Maximum number of results to return",
|
|
6217
|
+
"name": "limit",
|
|
5350
6218
|
"required": false,
|
|
6219
|
+
"default": 20,
|
|
5351
6220
|
"hasDynamicHelp": false,
|
|
5352
6221
|
"multiple": false,
|
|
5353
6222
|
"type": "option"
|
|
5354
6223
|
},
|
|
5355
|
-
"
|
|
5356
|
-
"
|
|
5357
|
-
"
|
|
5358
|
-
"name": "number",
|
|
5359
|
-
"required": true,
|
|
5360
|
-
"hasDynamicHelp": false,
|
|
5361
|
-
"multiple": false,
|
|
5362
|
-
"type": "option"
|
|
5363
|
-
},
|
|
5364
|
-
"table": {
|
|
5365
|
-
"description": "ServiceNow table name",
|
|
5366
|
-
"name": "table",
|
|
6224
|
+
"tab": {
|
|
6225
|
+
"description": "Store tab context to search",
|
|
6226
|
+
"name": "tab",
|
|
5367
6227
|
"required": false,
|
|
5368
|
-
"default": "
|
|
6228
|
+
"default": "available_for_you",
|
|
5369
6229
|
"hasDynamicHelp": false,
|
|
5370
6230
|
"multiple": false,
|
|
6231
|
+
"options": [
|
|
6232
|
+
"available_for_you",
|
|
6233
|
+
"installed",
|
|
6234
|
+
"updates"
|
|
6235
|
+
],
|
|
5371
6236
|
"type": "option"
|
|
5372
6237
|
},
|
|
5373
|
-
"
|
|
5374
|
-
"char": "
|
|
5375
|
-
"description": "
|
|
5376
|
-
"name": "
|
|
5377
|
-
"required":
|
|
6238
|
+
"term": {
|
|
6239
|
+
"char": "t",
|
|
6240
|
+
"description": "Search term",
|
|
6241
|
+
"name": "term",
|
|
6242
|
+
"required": false,
|
|
5378
6243
|
"hasDynamicHelp": false,
|
|
5379
6244
|
"multiple": false,
|
|
5380
6245
|
"type": "option"
|
|
@@ -5382,7 +6247,7 @@
|
|
|
5382
6247
|
},
|
|
5383
6248
|
"hasDynamicHelp": false,
|
|
5384
6249
|
"hiddenAliases": [],
|
|
5385
|
-
"id": "
|
|
6250
|
+
"id": "store:search",
|
|
5386
6251
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5387
6252
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5388
6253
|
"pluginType": "core",
|
|
@@ -5392,22 +6257,26 @@
|
|
|
5392
6257
|
"relativePath": [
|
|
5393
6258
|
"dist",
|
|
5394
6259
|
"commands",
|
|
5395
|
-
"
|
|
5396
|
-
"
|
|
6260
|
+
"store",
|
|
6261
|
+
"search.js"
|
|
5397
6262
|
]
|
|
5398
6263
|
},
|
|
5399
|
-
"
|
|
6264
|
+
"store:update": {
|
|
5400
6265
|
"aliases": [],
|
|
5401
6266
|
"args": {},
|
|
5402
|
-
"description": "
|
|
6267
|
+
"description": "Update a ServiceNow Store application to a new version.",
|
|
5403
6268
|
"examples": [
|
|
5404
6269
|
{
|
|
5405
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
5406
|
-
"description": "
|
|
6270
|
+
"command": "<%= config.bin %> <%= command.id %> --app-id abc123 --version 2.0.0 --auth dev",
|
|
6271
|
+
"description": "Update a store application and wait for completion"
|
|
5407
6272
|
},
|
|
5408
6273
|
{
|
|
5409
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
5410
|
-
"description": "
|
|
6274
|
+
"command": "<%= config.bin %> <%= command.id %> --app-id abc123 --version 2.0.0 --no-wait --auth dev",
|
|
6275
|
+
"description": "Update without waiting for completion"
|
|
6276
|
+
},
|
|
6277
|
+
{
|
|
6278
|
+
"command": "<%= config.bin %> <%= command.id %> -a abc123 -v 2.0.0 --timeout 3600000 --auth dev",
|
|
6279
|
+
"description": "Update with custom timeout (1 hour)"
|
|
5411
6280
|
}
|
|
5412
6281
|
],
|
|
5413
6282
|
"flags": {
|
|
@@ -5435,6 +6304,23 @@
|
|
|
5435
6304
|
"allowNo": false,
|
|
5436
6305
|
"type": "boolean"
|
|
5437
6306
|
},
|
|
6307
|
+
"log-dir": {
|
|
6308
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
6309
|
+
"helpGroup": "GLOBAL",
|
|
6310
|
+
"name": "log-dir",
|
|
6311
|
+
"required": false,
|
|
6312
|
+
"hasDynamicHelp": false,
|
|
6313
|
+
"multiple": false,
|
|
6314
|
+
"type": "option"
|
|
6315
|
+
},
|
|
6316
|
+
"log-file": {
|
|
6317
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
6318
|
+
"helpGroup": "GLOBAL",
|
|
6319
|
+
"name": "log-file",
|
|
6320
|
+
"required": false,
|
|
6321
|
+
"allowNo": false,
|
|
6322
|
+
"type": "boolean"
|
|
6323
|
+
},
|
|
5438
6324
|
"log-level": {
|
|
5439
6325
|
"helpGroup": "GLOBAL",
|
|
5440
6326
|
"name": "log-level",
|
|
@@ -5451,26 +6337,44 @@
|
|
|
5451
6337
|
],
|
|
5452
6338
|
"type": "option"
|
|
5453
6339
|
},
|
|
5454
|
-
"
|
|
5455
|
-
"
|
|
5456
|
-
"
|
|
6340
|
+
"app-id": {
|
|
6341
|
+
"char": "a",
|
|
6342
|
+
"description": "Store application sys_id",
|
|
6343
|
+
"name": "app-id",
|
|
6344
|
+
"required": true,
|
|
6345
|
+
"hasDynamicHelp": false,
|
|
6346
|
+
"multiple": false,
|
|
6347
|
+
"type": "option"
|
|
6348
|
+
},
|
|
6349
|
+
"no-wait": {
|
|
6350
|
+
"description": "Do not wait for update to complete",
|
|
6351
|
+
"name": "no-wait",
|
|
6352
|
+
"required": false,
|
|
6353
|
+
"allowNo": false,
|
|
6354
|
+
"type": "boolean"
|
|
6355
|
+
},
|
|
6356
|
+
"poll-interval": {
|
|
6357
|
+
"description": "Polling interval in milliseconds",
|
|
6358
|
+
"name": "poll-interval",
|
|
5457
6359
|
"required": false,
|
|
6360
|
+
"default": 5000,
|
|
5458
6361
|
"hasDynamicHelp": false,
|
|
5459
6362
|
"multiple": false,
|
|
5460
6363
|
"type": "option"
|
|
5461
6364
|
},
|
|
5462
|
-
"
|
|
5463
|
-
"description": "
|
|
5464
|
-
"name": "
|
|
5465
|
-
"required":
|
|
6365
|
+
"timeout": {
|
|
6366
|
+
"description": "Update timeout in milliseconds",
|
|
6367
|
+
"name": "timeout",
|
|
6368
|
+
"required": false,
|
|
6369
|
+
"default": 1800000,
|
|
5466
6370
|
"hasDynamicHelp": false,
|
|
5467
6371
|
"multiple": false,
|
|
5468
6372
|
"type": "option"
|
|
5469
6373
|
},
|
|
5470
|
-
"
|
|
5471
|
-
"char": "
|
|
5472
|
-
"description": "
|
|
5473
|
-
"name": "
|
|
6374
|
+
"version": {
|
|
6375
|
+
"char": "v",
|
|
6376
|
+
"description": "Target application version",
|
|
6377
|
+
"name": "version",
|
|
5474
6378
|
"required": true,
|
|
5475
6379
|
"hasDynamicHelp": false,
|
|
5476
6380
|
"multiple": false,
|
|
@@ -5479,7 +6383,7 @@
|
|
|
5479
6383
|
},
|
|
5480
6384
|
"hasDynamicHelp": false,
|
|
5481
6385
|
"hiddenAliases": [],
|
|
5482
|
-
"id": "
|
|
6386
|
+
"id": "store:update",
|
|
5483
6387
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5484
6388
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5485
6389
|
"pluginType": "core",
|
|
@@ -5489,26 +6393,18 @@
|
|
|
5489
6393
|
"relativePath": [
|
|
5490
6394
|
"dist",
|
|
5491
6395
|
"commands",
|
|
5492
|
-
"
|
|
5493
|
-
"
|
|
6396
|
+
"store",
|
|
6397
|
+
"update.js"
|
|
5494
6398
|
]
|
|
5495
6399
|
},
|
|
5496
|
-
"
|
|
6400
|
+
"store:validate": {
|
|
5497
6401
|
"aliases": [],
|
|
5498
6402
|
"args": {},
|
|
5499
|
-
"description": "
|
|
6403
|
+
"description": "Validate a batch installation definition file.",
|
|
5500
6404
|
"examples": [
|
|
5501
6405
|
{
|
|
5502
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
5503
|
-
"description": "
|
|
5504
|
-
},
|
|
5505
|
-
{
|
|
5506
|
-
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 -c \"Internal update\" --work-note --auth dev",
|
|
5507
|
-
"description": "Add a work note to an incident"
|
|
5508
|
-
},
|
|
5509
|
-
{
|
|
5510
|
-
"command": "<%= config.bin %> <%= command.id %> --number CHG0010001 --table change_request --comment \"Approved\" --auth dev",
|
|
5511
|
-
"description": "Add a comment to a change request"
|
|
6406
|
+
"command": "<%= config.bin %> <%= command.id %> --file ./batch-definition.json --auth dev",
|
|
6407
|
+
"description": "Validate a batch definition file"
|
|
5512
6408
|
}
|
|
5513
6409
|
],
|
|
5514
6410
|
"flags": {
|
|
@@ -5536,6 +6432,23 @@
|
|
|
5536
6432
|
"allowNo": false,
|
|
5537
6433
|
"type": "boolean"
|
|
5538
6434
|
},
|
|
6435
|
+
"log-dir": {
|
|
6436
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
6437
|
+
"helpGroup": "GLOBAL",
|
|
6438
|
+
"name": "log-dir",
|
|
6439
|
+
"required": false,
|
|
6440
|
+
"hasDynamicHelp": false,
|
|
6441
|
+
"multiple": false,
|
|
6442
|
+
"type": "option"
|
|
6443
|
+
},
|
|
6444
|
+
"log-file": {
|
|
6445
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
6446
|
+
"helpGroup": "GLOBAL",
|
|
6447
|
+
"name": "log-file",
|
|
6448
|
+
"required": false,
|
|
6449
|
+
"allowNo": false,
|
|
6450
|
+
"type": "boolean"
|
|
6451
|
+
},
|
|
5539
6452
|
"log-level": {
|
|
5540
6453
|
"helpGroup": "GLOBAL",
|
|
5541
6454
|
"name": "log-level",
|
|
@@ -5552,44 +6465,19 @@
|
|
|
5552
6465
|
],
|
|
5553
6466
|
"type": "option"
|
|
5554
6467
|
},
|
|
5555
|
-
"
|
|
5556
|
-
"char": "
|
|
5557
|
-
"description": "
|
|
5558
|
-
"name": "
|
|
5559
|
-
"required": true,
|
|
5560
|
-
"hasDynamicHelp": false,
|
|
5561
|
-
"multiple": false,
|
|
5562
|
-
"type": "option"
|
|
5563
|
-
},
|
|
5564
|
-
"number": {
|
|
5565
|
-
"char": "n",
|
|
5566
|
-
"description": "Task number (e.g., INC0010001)",
|
|
5567
|
-
"name": "number",
|
|
6468
|
+
"file": {
|
|
6469
|
+
"char": "f",
|
|
6470
|
+
"description": "Path to batch definition JSON file",
|
|
6471
|
+
"name": "file",
|
|
5568
6472
|
"required": true,
|
|
5569
6473
|
"hasDynamicHelp": false,
|
|
5570
6474
|
"multiple": false,
|
|
5571
6475
|
"type": "option"
|
|
5572
|
-
},
|
|
5573
|
-
"table": {
|
|
5574
|
-
"description": "ServiceNow table name",
|
|
5575
|
-
"name": "table",
|
|
5576
|
-
"required": false,
|
|
5577
|
-
"default": "task",
|
|
5578
|
-
"hasDynamicHelp": false,
|
|
5579
|
-
"multiple": false,
|
|
5580
|
-
"type": "option"
|
|
5581
|
-
},
|
|
5582
|
-
"work-note": {
|
|
5583
|
-
"description": "Add as work note instead of comment",
|
|
5584
|
-
"name": "work-note",
|
|
5585
|
-
"required": false,
|
|
5586
|
-
"allowNo": false,
|
|
5587
|
-
"type": "boolean"
|
|
5588
6476
|
}
|
|
5589
6477
|
},
|
|
5590
6478
|
"hasDynamicHelp": false,
|
|
5591
6479
|
"hiddenAliases": [],
|
|
5592
|
-
"id": "
|
|
6480
|
+
"id": "store:validate",
|
|
5593
6481
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5594
6482
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5595
6483
|
"pluginType": "core",
|
|
@@ -5599,26 +6487,22 @@
|
|
|
5599
6487
|
"relativePath": [
|
|
5600
6488
|
"dist",
|
|
5601
6489
|
"commands",
|
|
5602
|
-
"
|
|
5603
|
-
"
|
|
6490
|
+
"store",
|
|
6491
|
+
"validate.js"
|
|
5604
6492
|
]
|
|
5605
6493
|
},
|
|
5606
|
-
"task:
|
|
6494
|
+
"task:approve": {
|
|
5607
6495
|
"aliases": [],
|
|
5608
6496
|
"args": {},
|
|
5609
|
-
"description": "
|
|
6497
|
+
"description": "Approve a ServiceNow change request.\n\nThis command approves a change request identified by its number. You can optionally provide approval comments.\n\nFeatures:\n - Approve change requests\n - Optionally add approval comments\n - Auto-resolves change request number to sys_id",
|
|
5610
6498
|
"examples": [
|
|
5611
6499
|
{
|
|
5612
|
-
"command": "<%= config.bin %> <%= command.id %> --number
|
|
5613
|
-
"description": "
|
|
5614
|
-
},
|
|
5615
|
-
{
|
|
5616
|
-
"command": "<%= config.bin %> <%= command.id %> -n CHG0010001 --table change_request --auth dev",
|
|
5617
|
-
"description": "Find a change request by number"
|
|
6500
|
+
"command": "<%= config.bin %> <%= command.id %> --number CHG0010001 --auth dev",
|
|
6501
|
+
"description": "Approve a change request"
|
|
5618
6502
|
},
|
|
5619
6503
|
{
|
|
5620
|
-
"command": "<%= config.bin %> <%= command.id %> -n
|
|
5621
|
-
"description": "
|
|
6504
|
+
"command": "<%= config.bin %> <%= command.id %> -n CHG0010001 -c \"Looks good, approved\" --auth dev",
|
|
6505
|
+
"description": "Approve a change request with comments"
|
|
5622
6506
|
}
|
|
5623
6507
|
],
|
|
5624
6508
|
"flags": {
|
|
@@ -5646,6 +6530,23 @@
|
|
|
5646
6530
|
"allowNo": false,
|
|
5647
6531
|
"type": "boolean"
|
|
5648
6532
|
},
|
|
6533
|
+
"log-dir": {
|
|
6534
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
6535
|
+
"helpGroup": "GLOBAL",
|
|
6536
|
+
"name": "log-dir",
|
|
6537
|
+
"required": false,
|
|
6538
|
+
"hasDynamicHelp": false,
|
|
6539
|
+
"multiple": false,
|
|
6540
|
+
"type": "option"
|
|
6541
|
+
},
|
|
6542
|
+
"log-file": {
|
|
6543
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
6544
|
+
"helpGroup": "GLOBAL",
|
|
6545
|
+
"name": "log-file",
|
|
6546
|
+
"required": false,
|
|
6547
|
+
"allowNo": false,
|
|
6548
|
+
"type": "boolean"
|
|
6549
|
+
},
|
|
5649
6550
|
"log-level": {
|
|
5650
6551
|
"helpGroup": "GLOBAL",
|
|
5651
6552
|
"name": "log-level",
|
|
@@ -5662,20 +6563,20 @@
|
|
|
5662
6563
|
],
|
|
5663
6564
|
"type": "option"
|
|
5664
6565
|
},
|
|
5665
|
-
"
|
|
5666
|
-
"char": "
|
|
5667
|
-
"description": "
|
|
5668
|
-
"name": "
|
|
5669
|
-
"required":
|
|
6566
|
+
"comments": {
|
|
6567
|
+
"char": "c",
|
|
6568
|
+
"description": "Approval comments",
|
|
6569
|
+
"name": "comments",
|
|
6570
|
+
"required": false,
|
|
5670
6571
|
"hasDynamicHelp": false,
|
|
5671
6572
|
"multiple": false,
|
|
5672
6573
|
"type": "option"
|
|
5673
6574
|
},
|
|
5674
|
-
"
|
|
5675
|
-
"
|
|
5676
|
-
"
|
|
5677
|
-
"
|
|
5678
|
-
"
|
|
6575
|
+
"number": {
|
|
6576
|
+
"char": "n",
|
|
6577
|
+
"description": "Change request number (e.g., CHG0010001)",
|
|
6578
|
+
"name": "number",
|
|
6579
|
+
"required": true,
|
|
5679
6580
|
"hasDynamicHelp": false,
|
|
5680
6581
|
"multiple": false,
|
|
5681
6582
|
"type": "option"
|
|
@@ -5683,7 +6584,7 @@
|
|
|
5683
6584
|
},
|
|
5684
6585
|
"hasDynamicHelp": false,
|
|
5685
6586
|
"hiddenAliases": [],
|
|
5686
|
-
"id": "task:
|
|
6587
|
+
"id": "task:approve",
|
|
5687
6588
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5688
6589
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5689
6590
|
"pluginType": "core",
|
|
@@ -5694,21 +6595,25 @@
|
|
|
5694
6595
|
"dist",
|
|
5695
6596
|
"commands",
|
|
5696
6597
|
"task",
|
|
5697
|
-
"
|
|
6598
|
+
"approve.js"
|
|
5698
6599
|
]
|
|
5699
6600
|
},
|
|
5700
|
-
"task:
|
|
6601
|
+
"task:assign": {
|
|
5701
6602
|
"aliases": [],
|
|
5702
6603
|
"args": {},
|
|
5703
|
-
"description": "
|
|
6604
|
+
"description": "Assign a ServiceNow task to a user or group.\n\nThis command assigns a task record identified by its number to a specified user and/or group. You can assign to a user, a group, or both simultaneously.\n\nFeatures:\n - Assign tasks to individual users\n - Assign tasks to assignment groups\n - Assign to both user and group at once\n - Supports any task-based table\n - Auto-resolves task number to sys_id",
|
|
5704
6605
|
"examples": [
|
|
5705
6606
|
{
|
|
5706
|
-
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --
|
|
5707
|
-
"description": "
|
|
6607
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --user admin --auth dev",
|
|
6608
|
+
"description": "Assign an incident to a user"
|
|
5708
6609
|
},
|
|
5709
6610
|
{
|
|
5710
|
-
"command": "<%= config.bin %> <%= command.id %> -n INC0010001
|
|
5711
|
-
"description": "
|
|
6611
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 -u admin -g \"Service Desk\" --auth dev",
|
|
6612
|
+
"description": "Assign an incident to a user and group"
|
|
6613
|
+
},
|
|
6614
|
+
{
|
|
6615
|
+
"command": "<%= config.bin %> <%= command.id %> --number CHG0010001 --table change_request --user admin --auth dev",
|
|
6616
|
+
"description": "Assign a change request to a user"
|
|
5712
6617
|
}
|
|
5713
6618
|
],
|
|
5714
6619
|
"flags": {
|
|
@@ -5736,6 +6641,23 @@
|
|
|
5736
6641
|
"allowNo": false,
|
|
5737
6642
|
"type": "boolean"
|
|
5738
6643
|
},
|
|
6644
|
+
"log-dir": {
|
|
6645
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
6646
|
+
"helpGroup": "GLOBAL",
|
|
6647
|
+
"name": "log-dir",
|
|
6648
|
+
"required": false,
|
|
6649
|
+
"hasDynamicHelp": false,
|
|
6650
|
+
"multiple": false,
|
|
6651
|
+
"type": "option"
|
|
6652
|
+
},
|
|
6653
|
+
"log-file": {
|
|
6654
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
6655
|
+
"helpGroup": "GLOBAL",
|
|
6656
|
+
"name": "log-file",
|
|
6657
|
+
"required": false,
|
|
6658
|
+
"allowNo": false,
|
|
6659
|
+
"type": "boolean"
|
|
6660
|
+
},
|
|
5739
6661
|
"log-level": {
|
|
5740
6662
|
"helpGroup": "GLOBAL",
|
|
5741
6663
|
"name": "log-level",
|
|
@@ -5752,26 +6674,37 @@
|
|
|
5752
6674
|
],
|
|
5753
6675
|
"type": "option"
|
|
5754
6676
|
},
|
|
5755
|
-
"
|
|
5756
|
-
"
|
|
5757
|
-
"
|
|
6677
|
+
"group": {
|
|
6678
|
+
"char": "g",
|
|
6679
|
+
"description": "Assignment group",
|
|
6680
|
+
"name": "group",
|
|
5758
6681
|
"required": false,
|
|
5759
6682
|
"hasDynamicHelp": false,
|
|
5760
6683
|
"multiple": false,
|
|
5761
6684
|
"type": "option"
|
|
5762
6685
|
},
|
|
5763
|
-
"
|
|
5764
|
-
"
|
|
5765
|
-
"
|
|
6686
|
+
"number": {
|
|
6687
|
+
"char": "n",
|
|
6688
|
+
"description": "Task number (e.g., INC0010001)",
|
|
6689
|
+
"name": "number",
|
|
5766
6690
|
"required": true,
|
|
5767
6691
|
"hasDynamicHelp": false,
|
|
5768
6692
|
"multiple": false,
|
|
5769
6693
|
"type": "option"
|
|
5770
6694
|
},
|
|
5771
|
-
"
|
|
5772
|
-
"
|
|
5773
|
-
"
|
|
5774
|
-
"
|
|
6695
|
+
"table": {
|
|
6696
|
+
"description": "ServiceNow table name",
|
|
6697
|
+
"name": "table",
|
|
6698
|
+
"required": false,
|
|
6699
|
+
"default": "task",
|
|
6700
|
+
"hasDynamicHelp": false,
|
|
6701
|
+
"multiple": false,
|
|
6702
|
+
"type": "option"
|
|
6703
|
+
},
|
|
6704
|
+
"user": {
|
|
6705
|
+
"char": "u",
|
|
6706
|
+
"description": "User to assign the task to",
|
|
6707
|
+
"name": "user",
|
|
5775
6708
|
"required": true,
|
|
5776
6709
|
"hasDynamicHelp": false,
|
|
5777
6710
|
"multiple": false,
|
|
@@ -5780,7 +6713,7 @@
|
|
|
5780
6713
|
},
|
|
5781
6714
|
"hasDynamicHelp": false,
|
|
5782
6715
|
"hiddenAliases": [],
|
|
5783
|
-
"id": "task:
|
|
6716
|
+
"id": "task:assign",
|
|
5784
6717
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5785
6718
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5786
6719
|
"pluginType": "core",
|
|
@@ -5791,25 +6724,21 @@
|
|
|
5791
6724
|
"dist",
|
|
5792
6725
|
"commands",
|
|
5793
6726
|
"task",
|
|
5794
|
-
"
|
|
6727
|
+
"assign.js"
|
|
5795
6728
|
]
|
|
5796
6729
|
},
|
|
5797
|
-
"
|
|
6730
|
+
"task:close": {
|
|
5798
6731
|
"aliases": [],
|
|
5799
6732
|
"args": {},
|
|
5800
|
-
"description": "
|
|
6733
|
+
"description": "Close a ServiceNow incident.\n\nThis command closes an incident identified by its number, setting the close notes and optionally a close code. The incident must be in a state that allows closure.\n\nFeatures:\n - Close incidents with close notes\n - Optionally specify a close code\n - Auto-resolves incident number to sys_id",
|
|
5801
6734
|
"examples": [
|
|
5802
6735
|
{
|
|
5803
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
5804
|
-
"description": "
|
|
5805
|
-
},
|
|
5806
|
-
{
|
|
5807
|
-
"command": "<%= config.bin %> <%= command.id %> --app-id abc123 --version 1.0.0 --no-wait --auth dev",
|
|
5808
|
-
"description": "Install without waiting for completion"
|
|
6736
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --notes \"Issue confirmed resolved by user\" --auth dev",
|
|
6737
|
+
"description": "Close an incident with close notes"
|
|
5809
6738
|
},
|
|
5810
6739
|
{
|
|
5811
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
5812
|
-
"description": "
|
|
6740
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 --notes \"Closed\" --close-code \"Solved (Permanently)\" --auth dev",
|
|
6741
|
+
"description": "Close with a specific close code"
|
|
5813
6742
|
}
|
|
5814
6743
|
],
|
|
5815
6744
|
"flags": {
|
|
@@ -5837,6 +6766,23 @@
|
|
|
5837
6766
|
"allowNo": false,
|
|
5838
6767
|
"type": "boolean"
|
|
5839
6768
|
},
|
|
6769
|
+
"log-dir": {
|
|
6770
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
6771
|
+
"helpGroup": "GLOBAL",
|
|
6772
|
+
"name": "log-dir",
|
|
6773
|
+
"required": false,
|
|
6774
|
+
"hasDynamicHelp": false,
|
|
6775
|
+
"multiple": false,
|
|
6776
|
+
"type": "option"
|
|
6777
|
+
},
|
|
6778
|
+
"log-file": {
|
|
6779
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
6780
|
+
"helpGroup": "GLOBAL",
|
|
6781
|
+
"name": "log-file",
|
|
6782
|
+
"required": false,
|
|
6783
|
+
"allowNo": false,
|
|
6784
|
+
"type": "boolean"
|
|
6785
|
+
},
|
|
5840
6786
|
"log-level": {
|
|
5841
6787
|
"helpGroup": "GLOBAL",
|
|
5842
6788
|
"name": "log-level",
|
|
@@ -5853,51 +6799,26 @@
|
|
|
5853
6799
|
],
|
|
5854
6800
|
"type": "option"
|
|
5855
6801
|
},
|
|
5856
|
-
"
|
|
5857
|
-
"
|
|
5858
|
-
"
|
|
5859
|
-
"name": "app-id",
|
|
5860
|
-
"required": true,
|
|
5861
|
-
"hasDynamicHelp": false,
|
|
5862
|
-
"multiple": false,
|
|
5863
|
-
"type": "option"
|
|
5864
|
-
},
|
|
5865
|
-
"demo-data": {
|
|
5866
|
-
"description": "Load demo data during installation",
|
|
5867
|
-
"name": "demo-data",
|
|
5868
|
-
"required": false,
|
|
5869
|
-
"allowNo": false,
|
|
5870
|
-
"type": "boolean"
|
|
5871
|
-
},
|
|
5872
|
-
"no-wait": {
|
|
5873
|
-
"description": "Do not wait for installation to complete",
|
|
5874
|
-
"name": "no-wait",
|
|
5875
|
-
"required": false,
|
|
5876
|
-
"allowNo": false,
|
|
5877
|
-
"type": "boolean"
|
|
5878
|
-
},
|
|
5879
|
-
"poll-interval": {
|
|
5880
|
-
"description": "Polling interval in milliseconds",
|
|
5881
|
-
"name": "poll-interval",
|
|
6802
|
+
"close-code": {
|
|
6803
|
+
"description": "Close code for the closure",
|
|
6804
|
+
"name": "close-code",
|
|
5882
6805
|
"required": false,
|
|
5883
|
-
"default": 5000,
|
|
5884
6806
|
"hasDynamicHelp": false,
|
|
5885
6807
|
"multiple": false,
|
|
5886
6808
|
"type": "option"
|
|
5887
6809
|
},
|
|
5888
|
-
"
|
|
5889
|
-
"description": "
|
|
5890
|
-
"name": "
|
|
5891
|
-
"required":
|
|
5892
|
-
"default": 1800000,
|
|
6810
|
+
"notes": {
|
|
6811
|
+
"description": "Close notes",
|
|
6812
|
+
"name": "notes",
|
|
6813
|
+
"required": true,
|
|
5893
6814
|
"hasDynamicHelp": false,
|
|
5894
6815
|
"multiple": false,
|
|
5895
6816
|
"type": "option"
|
|
5896
6817
|
},
|
|
5897
|
-
"
|
|
5898
|
-
"char": "
|
|
5899
|
-
"description": "
|
|
5900
|
-
"name": "
|
|
6818
|
+
"number": {
|
|
6819
|
+
"char": "n",
|
|
6820
|
+
"description": "Incident number (e.g., INC0010001)",
|
|
6821
|
+
"name": "number",
|
|
5901
6822
|
"required": true,
|
|
5902
6823
|
"hasDynamicHelp": false,
|
|
5903
6824
|
"multiple": false,
|
|
@@ -5906,7 +6827,7 @@
|
|
|
5906
6827
|
},
|
|
5907
6828
|
"hasDynamicHelp": false,
|
|
5908
6829
|
"hiddenAliases": [],
|
|
5909
|
-
"id": "
|
|
6830
|
+
"id": "task:close",
|
|
5910
6831
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5911
6832
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5912
6833
|
"pluginType": "core",
|
|
@@ -5916,26 +6837,26 @@
|
|
|
5916
6837
|
"relativePath": [
|
|
5917
6838
|
"dist",
|
|
5918
6839
|
"commands",
|
|
5919
|
-
"
|
|
5920
|
-
"
|
|
6840
|
+
"task",
|
|
6841
|
+
"close.js"
|
|
5921
6842
|
]
|
|
5922
6843
|
},
|
|
5923
|
-
"
|
|
6844
|
+
"task:comment": {
|
|
5924
6845
|
"aliases": [],
|
|
5925
6846
|
"args": {},
|
|
5926
|
-
"description": "
|
|
6847
|
+
"description": "Add a comment or work note to a ServiceNow task.\n\nThis command adds a comment or work note to a task record identified by its number. By default, comments are added as customer-visible comments. Use the --work-note flag to add an internal work note instead.\n\nFeatures:\n - Add customer-visible comments to any task\n - Add internal work notes visible only to fulfiller teams\n - Supports any task-based table (incident, change_request, etc.)\n - Auto-resolves task number to sys_id",
|
|
5927
6848
|
"examples": [
|
|
5928
6849
|
{
|
|
5929
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
5930
|
-
"description": "
|
|
6850
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --comment \"Investigating the issue\" --auth dev",
|
|
6851
|
+
"description": "Add a comment to an incident"
|
|
5931
6852
|
},
|
|
5932
6853
|
{
|
|
5933
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
5934
|
-
"description": "
|
|
6854
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 -c \"Internal update\" --work-note --auth dev",
|
|
6855
|
+
"description": "Add a work note to an incident"
|
|
5935
6856
|
},
|
|
5936
6857
|
{
|
|
5937
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
5938
|
-
"description": "
|
|
6858
|
+
"command": "<%= config.bin %> <%= command.id %> --number CHG0010001 --table change_request --comment \"Approved\" --auth dev",
|
|
6859
|
+
"description": "Add a comment to a change request"
|
|
5939
6860
|
}
|
|
5940
6861
|
],
|
|
5941
6862
|
"flags": {
|
|
@@ -5963,6 +6884,23 @@
|
|
|
5963
6884
|
"allowNo": false,
|
|
5964
6885
|
"type": "boolean"
|
|
5965
6886
|
},
|
|
6887
|
+
"log-dir": {
|
|
6888
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
6889
|
+
"helpGroup": "GLOBAL",
|
|
6890
|
+
"name": "log-dir",
|
|
6891
|
+
"required": false,
|
|
6892
|
+
"hasDynamicHelp": false,
|
|
6893
|
+
"multiple": false,
|
|
6894
|
+
"type": "option"
|
|
6895
|
+
},
|
|
6896
|
+
"log-file": {
|
|
6897
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
6898
|
+
"helpGroup": "GLOBAL",
|
|
6899
|
+
"name": "log-file",
|
|
6900
|
+
"required": false,
|
|
6901
|
+
"allowNo": false,
|
|
6902
|
+
"type": "boolean"
|
|
6903
|
+
},
|
|
5966
6904
|
"log-level": {
|
|
5967
6905
|
"helpGroup": "GLOBAL",
|
|
5968
6906
|
"name": "log-level",
|
|
@@ -5979,42 +6917,44 @@
|
|
|
5979
6917
|
],
|
|
5980
6918
|
"type": "option"
|
|
5981
6919
|
},
|
|
5982
|
-
"
|
|
5983
|
-
"
|
|
5984
|
-
"
|
|
5985
|
-
"
|
|
5986
|
-
"
|
|
6920
|
+
"comment": {
|
|
6921
|
+
"char": "c",
|
|
6922
|
+
"description": "Comment text to add",
|
|
6923
|
+
"name": "comment",
|
|
6924
|
+
"required": true,
|
|
5987
6925
|
"hasDynamicHelp": false,
|
|
5988
6926
|
"multiple": false,
|
|
5989
6927
|
"type": "option"
|
|
5990
6928
|
},
|
|
5991
|
-
"
|
|
5992
|
-
"
|
|
5993
|
-
"
|
|
5994
|
-
"
|
|
5995
|
-
"
|
|
6929
|
+
"number": {
|
|
6930
|
+
"char": "n",
|
|
6931
|
+
"description": "Task number (e.g., INC0010001)",
|
|
6932
|
+
"name": "number",
|
|
6933
|
+
"required": true,
|
|
5996
6934
|
"hasDynamicHelp": false,
|
|
5997
6935
|
"multiple": false,
|
|
5998
|
-
"options": [
|
|
5999
|
-
"available_for_you",
|
|
6000
|
-
"installed",
|
|
6001
|
-
"updates"
|
|
6002
|
-
],
|
|
6003
6936
|
"type": "option"
|
|
6004
6937
|
},
|
|
6005
|
-
"
|
|
6006
|
-
"
|
|
6007
|
-
"
|
|
6008
|
-
"name": "term",
|
|
6938
|
+
"table": {
|
|
6939
|
+
"description": "ServiceNow table name",
|
|
6940
|
+
"name": "table",
|
|
6009
6941
|
"required": false,
|
|
6942
|
+
"default": "task",
|
|
6010
6943
|
"hasDynamicHelp": false,
|
|
6011
6944
|
"multiple": false,
|
|
6012
6945
|
"type": "option"
|
|
6946
|
+
},
|
|
6947
|
+
"work-note": {
|
|
6948
|
+
"description": "Add as work note instead of comment",
|
|
6949
|
+
"name": "work-note",
|
|
6950
|
+
"required": false,
|
|
6951
|
+
"allowNo": false,
|
|
6952
|
+
"type": "boolean"
|
|
6013
6953
|
}
|
|
6014
6954
|
},
|
|
6015
6955
|
"hasDynamicHelp": false,
|
|
6016
6956
|
"hiddenAliases": [],
|
|
6017
|
-
"id": "
|
|
6957
|
+
"id": "task:comment",
|
|
6018
6958
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6019
6959
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6020
6960
|
"pluginType": "core",
|
|
@@ -6024,26 +6964,26 @@
|
|
|
6024
6964
|
"relativePath": [
|
|
6025
6965
|
"dist",
|
|
6026
6966
|
"commands",
|
|
6027
|
-
"
|
|
6028
|
-
"
|
|
6967
|
+
"task",
|
|
6968
|
+
"comment.js"
|
|
6029
6969
|
]
|
|
6030
6970
|
},
|
|
6031
|
-
"
|
|
6971
|
+
"task:find": {
|
|
6032
6972
|
"aliases": [],
|
|
6033
6973
|
"args": {},
|
|
6034
|
-
"description": "
|
|
6974
|
+
"description": "Find a ServiceNow task by its number.\n\nThis command looks up a task record by its number in the specified table. Returns the full task details including sys_id, description, state, and assignment information.\n\nFeatures:\n - Look up any task by number\n - Supports any task-based table\n - JSON output for scripting and automation",
|
|
6035
6975
|
"examples": [
|
|
6036
6976
|
{
|
|
6037
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6038
|
-
"description": "
|
|
6977
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --auth dev",
|
|
6978
|
+
"description": "Find an incident by number"
|
|
6039
6979
|
},
|
|
6040
6980
|
{
|
|
6041
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
6042
|
-
"description": "
|
|
6981
|
+
"command": "<%= config.bin %> <%= command.id %> -n CHG0010001 --table change_request --auth dev",
|
|
6982
|
+
"description": "Find a change request by number"
|
|
6043
6983
|
},
|
|
6044
6984
|
{
|
|
6045
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
6046
|
-
"description": "
|
|
6985
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 --json --auth dev",
|
|
6986
|
+
"description": "Find an incident and output as JSON"
|
|
6047
6987
|
}
|
|
6048
6988
|
],
|
|
6049
6989
|
"flags": {
|
|
@@ -6071,61 +7011,53 @@
|
|
|
6071
7011
|
"allowNo": false,
|
|
6072
7012
|
"type": "boolean"
|
|
6073
7013
|
},
|
|
6074
|
-
"log-
|
|
7014
|
+
"log-dir": {
|
|
7015
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
6075
7016
|
"helpGroup": "GLOBAL",
|
|
6076
|
-
"name": "log-
|
|
6077
|
-
"
|
|
6078
|
-
"default": "info",
|
|
6079
|
-
"hasDynamicHelp": false,
|
|
6080
|
-
"multiple": false,
|
|
6081
|
-
"options": [
|
|
6082
|
-
"debug",
|
|
6083
|
-
"warn",
|
|
6084
|
-
"error",
|
|
6085
|
-
"info",
|
|
6086
|
-
"trace"
|
|
6087
|
-
],
|
|
6088
|
-
"type": "option"
|
|
6089
|
-
},
|
|
6090
|
-
"app-id": {
|
|
6091
|
-
"char": "a",
|
|
6092
|
-
"description": "Store application sys_id",
|
|
6093
|
-
"name": "app-id",
|
|
6094
|
-
"required": true,
|
|
7017
|
+
"name": "log-dir",
|
|
7018
|
+
"required": false,
|
|
6095
7019
|
"hasDynamicHelp": false,
|
|
6096
7020
|
"multiple": false,
|
|
6097
7021
|
"type": "option"
|
|
6098
|
-
},
|
|
6099
|
-
"
|
|
6100
|
-
"description": "
|
|
6101
|
-
"
|
|
7022
|
+
},
|
|
7023
|
+
"log-file": {
|
|
7024
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7025
|
+
"helpGroup": "GLOBAL",
|
|
7026
|
+
"name": "log-file",
|
|
6102
7027
|
"required": false,
|
|
6103
7028
|
"allowNo": false,
|
|
6104
7029
|
"type": "boolean"
|
|
6105
7030
|
},
|
|
6106
|
-
"
|
|
6107
|
-
"
|
|
6108
|
-
"name": "
|
|
6109
|
-
"
|
|
6110
|
-
"default":
|
|
7031
|
+
"log-level": {
|
|
7032
|
+
"helpGroup": "GLOBAL",
|
|
7033
|
+
"name": "log-level",
|
|
7034
|
+
"summary": "Specify level for logging.",
|
|
7035
|
+
"default": "info",
|
|
6111
7036
|
"hasDynamicHelp": false,
|
|
6112
7037
|
"multiple": false,
|
|
7038
|
+
"options": [
|
|
7039
|
+
"debug",
|
|
7040
|
+
"warn",
|
|
7041
|
+
"error",
|
|
7042
|
+
"info",
|
|
7043
|
+
"trace"
|
|
7044
|
+
],
|
|
6113
7045
|
"type": "option"
|
|
6114
7046
|
},
|
|
6115
|
-
"
|
|
6116
|
-
"
|
|
6117
|
-
"
|
|
6118
|
-
"
|
|
6119
|
-
"
|
|
7047
|
+
"number": {
|
|
7048
|
+
"char": "n",
|
|
7049
|
+
"description": "Task number (e.g., INC0010001, CHG0010001)",
|
|
7050
|
+
"name": "number",
|
|
7051
|
+
"required": true,
|
|
6120
7052
|
"hasDynamicHelp": false,
|
|
6121
7053
|
"multiple": false,
|
|
6122
7054
|
"type": "option"
|
|
6123
7055
|
},
|
|
6124
|
-
"
|
|
6125
|
-
"
|
|
6126
|
-
"
|
|
6127
|
-
"
|
|
6128
|
-
"
|
|
7056
|
+
"table": {
|
|
7057
|
+
"description": "ServiceNow table name",
|
|
7058
|
+
"name": "table",
|
|
7059
|
+
"required": false,
|
|
7060
|
+
"default": "task",
|
|
6129
7061
|
"hasDynamicHelp": false,
|
|
6130
7062
|
"multiple": false,
|
|
6131
7063
|
"type": "option"
|
|
@@ -6133,7 +7065,7 @@
|
|
|
6133
7065
|
},
|
|
6134
7066
|
"hasDynamicHelp": false,
|
|
6135
7067
|
"hiddenAliases": [],
|
|
6136
|
-
"id": "
|
|
7068
|
+
"id": "task:find",
|
|
6137
7069
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6138
7070
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6139
7071
|
"pluginType": "core",
|
|
@@ -6143,18 +7075,22 @@
|
|
|
6143
7075
|
"relativePath": [
|
|
6144
7076
|
"dist",
|
|
6145
7077
|
"commands",
|
|
6146
|
-
"
|
|
6147
|
-
"
|
|
7078
|
+
"task",
|
|
7079
|
+
"find.js"
|
|
6148
7080
|
]
|
|
6149
7081
|
},
|
|
6150
|
-
"
|
|
7082
|
+
"task:resolve": {
|
|
6151
7083
|
"aliases": [],
|
|
6152
7084
|
"args": {},
|
|
6153
|
-
"description": "
|
|
7085
|
+
"description": "Resolve a ServiceNow incident with resolution notes.\n\nThis command resolves an incident identified by its number, setting the resolution notes and optionally a close code. The incident must be in a state that allows resolution.\n\nFeatures:\n - Resolve incidents with resolution notes\n - Optionally specify a close code\n - Auto-resolves incident number to sys_id",
|
|
6154
7086
|
"examples": [
|
|
6155
7087
|
{
|
|
6156
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6157
|
-
"description": "
|
|
7088
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --notes \"Issue resolved by restarting the service\" --auth dev",
|
|
7089
|
+
"description": "Resolve an incident with resolution notes"
|
|
7090
|
+
},
|
|
7091
|
+
{
|
|
7092
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 --notes \"Fixed\" --close-code \"Solved (Permanently)\" --auth dev",
|
|
7093
|
+
"description": "Resolve with a specific close code"
|
|
6158
7094
|
}
|
|
6159
7095
|
],
|
|
6160
7096
|
"flags": {
|
|
@@ -6182,6 +7118,23 @@
|
|
|
6182
7118
|
"allowNo": false,
|
|
6183
7119
|
"type": "boolean"
|
|
6184
7120
|
},
|
|
7121
|
+
"log-dir": {
|
|
7122
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
7123
|
+
"helpGroup": "GLOBAL",
|
|
7124
|
+
"name": "log-dir",
|
|
7125
|
+
"required": false,
|
|
7126
|
+
"hasDynamicHelp": false,
|
|
7127
|
+
"multiple": false,
|
|
7128
|
+
"type": "option"
|
|
7129
|
+
},
|
|
7130
|
+
"log-file": {
|
|
7131
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7132
|
+
"helpGroup": "GLOBAL",
|
|
7133
|
+
"name": "log-file",
|
|
7134
|
+
"required": false,
|
|
7135
|
+
"allowNo": false,
|
|
7136
|
+
"type": "boolean"
|
|
7137
|
+
},
|
|
6185
7138
|
"log-level": {
|
|
6186
7139
|
"helpGroup": "GLOBAL",
|
|
6187
7140
|
"name": "log-level",
|
|
@@ -6198,10 +7151,26 @@
|
|
|
6198
7151
|
],
|
|
6199
7152
|
"type": "option"
|
|
6200
7153
|
},
|
|
6201
|
-
"
|
|
6202
|
-
"
|
|
6203
|
-
"
|
|
6204
|
-
"
|
|
7154
|
+
"close-code": {
|
|
7155
|
+
"description": "Close code for the resolution",
|
|
7156
|
+
"name": "close-code",
|
|
7157
|
+
"required": false,
|
|
7158
|
+
"hasDynamicHelp": false,
|
|
7159
|
+
"multiple": false,
|
|
7160
|
+
"type": "option"
|
|
7161
|
+
},
|
|
7162
|
+
"notes": {
|
|
7163
|
+
"description": "Resolution notes",
|
|
7164
|
+
"name": "notes",
|
|
7165
|
+
"required": true,
|
|
7166
|
+
"hasDynamicHelp": false,
|
|
7167
|
+
"multiple": false,
|
|
7168
|
+
"type": "option"
|
|
7169
|
+
},
|
|
7170
|
+
"number": {
|
|
7171
|
+
"char": "n",
|
|
7172
|
+
"description": "Incident number (e.g., INC0010001)",
|
|
7173
|
+
"name": "number",
|
|
6205
7174
|
"required": true,
|
|
6206
7175
|
"hasDynamicHelp": false,
|
|
6207
7176
|
"multiple": false,
|
|
@@ -6210,7 +7179,7 @@
|
|
|
6210
7179
|
},
|
|
6211
7180
|
"hasDynamicHelp": false,
|
|
6212
7181
|
"hiddenAliases": [],
|
|
6213
|
-
"id": "
|
|
7182
|
+
"id": "task:resolve",
|
|
6214
7183
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6215
7184
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6216
7185
|
"pluginType": "core",
|
|
@@ -6220,22 +7189,22 @@
|
|
|
6220
7189
|
"relativePath": [
|
|
6221
7190
|
"dist",
|
|
6222
7191
|
"commands",
|
|
6223
|
-
"
|
|
6224
|
-
"
|
|
7192
|
+
"task",
|
|
7193
|
+
"resolve.js"
|
|
6225
7194
|
]
|
|
6226
7195
|
},
|
|
6227
|
-
"
|
|
7196
|
+
"update-set:clone": {
|
|
6228
7197
|
"aliases": [],
|
|
6229
7198
|
"args": {},
|
|
6230
|
-
"description": "
|
|
7199
|
+
"description": "Clone an update set and its records.",
|
|
6231
7200
|
"examples": [
|
|
6232
7201
|
{
|
|
6233
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6234
|
-
"description": "
|
|
7202
|
+
"command": "<%= config.bin %> <%= command.id %> --source us-001 --name \"Cloned Set\" --auth dev-instance",
|
|
7203
|
+
"description": "Clone an update set"
|
|
6235
7204
|
},
|
|
6236
7205
|
{
|
|
6237
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
6238
|
-
"description": "
|
|
7206
|
+
"command": "<%= config.bin %> <%= command.id %> --source us-001 --name \"Cloned Set\" --json --auth dev-instance",
|
|
7207
|
+
"description": "Clone with JSON output"
|
|
6239
7208
|
}
|
|
6240
7209
|
],
|
|
6241
7210
|
"flags": {
|
|
@@ -6263,6 +7232,23 @@
|
|
|
6263
7232
|
"allowNo": false,
|
|
6264
7233
|
"type": "boolean"
|
|
6265
7234
|
},
|
|
7235
|
+
"log-dir": {
|
|
7236
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
7237
|
+
"helpGroup": "GLOBAL",
|
|
7238
|
+
"name": "log-dir",
|
|
7239
|
+
"required": false,
|
|
7240
|
+
"hasDynamicHelp": false,
|
|
7241
|
+
"multiple": false,
|
|
7242
|
+
"type": "option"
|
|
7243
|
+
},
|
|
7244
|
+
"log-file": {
|
|
7245
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7246
|
+
"helpGroup": "GLOBAL",
|
|
7247
|
+
"name": "log-file",
|
|
7248
|
+
"required": false,
|
|
7249
|
+
"allowNo": false,
|
|
7250
|
+
"type": "boolean"
|
|
7251
|
+
},
|
|
6266
7252
|
"log-level": {
|
|
6267
7253
|
"helpGroup": "GLOBAL",
|
|
6268
7254
|
"name": "log-level",
|
|
@@ -6279,10 +7265,19 @@
|
|
|
6279
7265
|
],
|
|
6280
7266
|
"type": "option"
|
|
6281
7267
|
},
|
|
6282
|
-
"
|
|
7268
|
+
"name": {
|
|
7269
|
+
"char": "n",
|
|
7270
|
+
"description": "Name for the cloned update set",
|
|
7271
|
+
"name": "name",
|
|
7272
|
+
"required": true,
|
|
7273
|
+
"hasDynamicHelp": false,
|
|
7274
|
+
"multiple": false,
|
|
7275
|
+
"type": "option"
|
|
7276
|
+
},
|
|
7277
|
+
"source": {
|
|
6283
7278
|
"char": "s",
|
|
6284
|
-
"description": "
|
|
6285
|
-
"name": "
|
|
7279
|
+
"description": "Source update set sys_id",
|
|
7280
|
+
"name": "source",
|
|
6286
7281
|
"required": true,
|
|
6287
7282
|
"hasDynamicHelp": false,
|
|
6288
7283
|
"multiple": false,
|
|
@@ -6291,7 +7286,7 @@
|
|
|
6291
7286
|
},
|
|
6292
7287
|
"hasDynamicHelp": false,
|
|
6293
7288
|
"hiddenAliases": [],
|
|
6294
|
-
"id": "
|
|
7289
|
+
"id": "update-set:clone",
|
|
6295
7290
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6296
7291
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6297
7292
|
"pluginType": "core",
|
|
@@ -6301,22 +7296,26 @@
|
|
|
6301
7296
|
"relativePath": [
|
|
6302
7297
|
"dist",
|
|
6303
7298
|
"commands",
|
|
6304
|
-
"
|
|
6305
|
-
"
|
|
7299
|
+
"update-set",
|
|
7300
|
+
"clone.js"
|
|
6306
7301
|
]
|
|
6307
7302
|
},
|
|
6308
|
-
"
|
|
7303
|
+
"update-set:create": {
|
|
6309
7304
|
"aliases": [],
|
|
6310
7305
|
"args": {},
|
|
6311
|
-
"description": "
|
|
7306
|
+
"description": "Create a new update set.",
|
|
6312
7307
|
"examples": [
|
|
6313
7308
|
{
|
|
6314
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6315
|
-
"description": "
|
|
7309
|
+
"command": "<%= config.bin %> <%= command.id %> --name \"My Feature Set\" --auth dev-instance",
|
|
7310
|
+
"description": "Create a new update set with a name"
|
|
6316
7311
|
},
|
|
6317
7312
|
{
|
|
6318
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
6319
|
-
"description": "
|
|
7313
|
+
"command": "<%= config.bin %> <%= command.id %> --name \"My Feature Set\" --description \"Update set for feature X\" --auth dev-instance",
|
|
7314
|
+
"description": "Create with name and description"
|
|
7315
|
+
},
|
|
7316
|
+
{
|
|
7317
|
+
"command": "<%= config.bin %> <%= command.id %> --name \"My Feature Set\" --application x_my_app --auth dev-instance",
|
|
7318
|
+
"description": "Create within a specific application scope"
|
|
6320
7319
|
}
|
|
6321
7320
|
],
|
|
6322
7321
|
"flags": {
|
|
@@ -6344,6 +7343,23 @@
|
|
|
6344
7343
|
"allowNo": false,
|
|
6345
7344
|
"type": "boolean"
|
|
6346
7345
|
},
|
|
7346
|
+
"log-dir": {
|
|
7347
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
7348
|
+
"helpGroup": "GLOBAL",
|
|
7349
|
+
"name": "log-dir",
|
|
7350
|
+
"required": false,
|
|
7351
|
+
"hasDynamicHelp": false,
|
|
7352
|
+
"multiple": false,
|
|
7353
|
+
"type": "option"
|
|
7354
|
+
},
|
|
7355
|
+
"log-file": {
|
|
7356
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7357
|
+
"helpGroup": "GLOBAL",
|
|
7358
|
+
"name": "log-file",
|
|
7359
|
+
"required": false,
|
|
7360
|
+
"allowNo": false,
|
|
7361
|
+
"type": "boolean"
|
|
7362
|
+
},
|
|
6347
7363
|
"log-level": {
|
|
6348
7364
|
"helpGroup": "GLOBAL",
|
|
6349
7365
|
"name": "log-level",
|
|
@@ -6360,19 +7376,27 @@
|
|
|
6360
7376
|
],
|
|
6361
7377
|
"type": "option"
|
|
6362
7378
|
},
|
|
6363
|
-
"
|
|
6364
|
-
"
|
|
6365
|
-
"
|
|
6366
|
-
"
|
|
6367
|
-
"required": true,
|
|
7379
|
+
"application": {
|
|
7380
|
+
"description": "Application scope for the new update set",
|
|
7381
|
+
"name": "application",
|
|
7382
|
+
"required": false,
|
|
6368
7383
|
"hasDynamicHelp": false,
|
|
6369
7384
|
"multiple": false,
|
|
6370
7385
|
"type": "option"
|
|
6371
7386
|
},
|
|
6372
|
-
"
|
|
6373
|
-
"char": "
|
|
6374
|
-
"description": "
|
|
6375
|
-
"name": "
|
|
7387
|
+
"description": {
|
|
7388
|
+
"char": "d",
|
|
7389
|
+
"description": "Description for the new update set",
|
|
7390
|
+
"name": "description",
|
|
7391
|
+
"required": false,
|
|
7392
|
+
"hasDynamicHelp": false,
|
|
7393
|
+
"multiple": false,
|
|
7394
|
+
"type": "option"
|
|
7395
|
+
},
|
|
7396
|
+
"name": {
|
|
7397
|
+
"char": "n",
|
|
7398
|
+
"description": "Name for the new update set",
|
|
7399
|
+
"name": "name",
|
|
6376
7400
|
"required": true,
|
|
6377
7401
|
"hasDynamicHelp": false,
|
|
6378
7402
|
"multiple": false,
|
|
@@ -6381,7 +7405,7 @@
|
|
|
6381
7405
|
},
|
|
6382
7406
|
"hasDynamicHelp": false,
|
|
6383
7407
|
"hiddenAliases": [],
|
|
6384
|
-
"id": "
|
|
7408
|
+
"id": "update-set:create",
|
|
6385
7409
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6386
7410
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6387
7411
|
"pluginType": "core",
|
|
@@ -6391,22 +7415,26 @@
|
|
|
6391
7415
|
"relativePath": [
|
|
6392
7416
|
"dist",
|
|
6393
7417
|
"commands",
|
|
6394
|
-
"
|
|
6395
|
-
"
|
|
7418
|
+
"update-set",
|
|
7419
|
+
"create.js"
|
|
6396
7420
|
]
|
|
6397
7421
|
},
|
|
6398
|
-
"update-set:
|
|
7422
|
+
"update-set:current": {
|
|
6399
7423
|
"aliases": [],
|
|
6400
7424
|
"args": {},
|
|
6401
|
-
"description": "
|
|
7425
|
+
"description": "Get or set the current update set.",
|
|
6402
7426
|
"examples": [
|
|
6403
7427
|
{
|
|
6404
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6405
|
-
"description": "
|
|
7428
|
+
"command": "<%= config.bin %> <%= command.id %> --auth dev-instance",
|
|
7429
|
+
"description": "Get the current update set"
|
|
6406
7430
|
},
|
|
6407
7431
|
{
|
|
6408
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6409
|
-
"description": "
|
|
7432
|
+
"command": "<%= config.bin %> <%= command.id %> --set us-001 --auth dev-instance",
|
|
7433
|
+
"description": "Set the current update set by sys_id"
|
|
7434
|
+
},
|
|
7435
|
+
{
|
|
7436
|
+
"command": "<%= config.bin %> <%= command.id %> --json --auth dev-instance",
|
|
7437
|
+
"description": "Get the current update set as JSON"
|
|
6410
7438
|
}
|
|
6411
7439
|
],
|
|
6412
7440
|
"flags": {
|
|
@@ -6434,6 +7462,23 @@
|
|
|
6434
7462
|
"allowNo": false,
|
|
6435
7463
|
"type": "boolean"
|
|
6436
7464
|
},
|
|
7465
|
+
"log-dir": {
|
|
7466
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
7467
|
+
"helpGroup": "GLOBAL",
|
|
7468
|
+
"name": "log-dir",
|
|
7469
|
+
"required": false,
|
|
7470
|
+
"hasDynamicHelp": false,
|
|
7471
|
+
"multiple": false,
|
|
7472
|
+
"type": "option"
|
|
7473
|
+
},
|
|
7474
|
+
"log-file": {
|
|
7475
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7476
|
+
"helpGroup": "GLOBAL",
|
|
7477
|
+
"name": "log-file",
|
|
7478
|
+
"required": false,
|
|
7479
|
+
"allowNo": false,
|
|
7480
|
+
"type": "boolean"
|
|
7481
|
+
},
|
|
6437
7482
|
"log-level": {
|
|
6438
7483
|
"helpGroup": "GLOBAL",
|
|
6439
7484
|
"name": "log-level",
|
|
@@ -6450,20 +7495,11 @@
|
|
|
6450
7495
|
],
|
|
6451
7496
|
"type": "option"
|
|
6452
7497
|
},
|
|
6453
|
-
"
|
|
6454
|
-
"char": "n",
|
|
6455
|
-
"description": "Name for the cloned update set",
|
|
6456
|
-
"name": "name",
|
|
6457
|
-
"required": true,
|
|
6458
|
-
"hasDynamicHelp": false,
|
|
6459
|
-
"multiple": false,
|
|
6460
|
-
"type": "option"
|
|
6461
|
-
},
|
|
6462
|
-
"source": {
|
|
7498
|
+
"set": {
|
|
6463
7499
|
"char": "s",
|
|
6464
|
-
"description": "
|
|
6465
|
-
"name": "
|
|
6466
|
-
"required":
|
|
7500
|
+
"description": "sys_id of update set to make current",
|
|
7501
|
+
"name": "set",
|
|
7502
|
+
"required": false,
|
|
6467
7503
|
"hasDynamicHelp": false,
|
|
6468
7504
|
"multiple": false,
|
|
6469
7505
|
"type": "option"
|
|
@@ -6471,7 +7507,7 @@
|
|
|
6471
7507
|
},
|
|
6472
7508
|
"hasDynamicHelp": false,
|
|
6473
7509
|
"hiddenAliases": [],
|
|
6474
|
-
"id": "update-set:
|
|
7510
|
+
"id": "update-set:current",
|
|
6475
7511
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6476
7512
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6477
7513
|
"pluginType": "core",
|
|
@@ -6482,25 +7518,25 @@
|
|
|
6482
7518
|
"dist",
|
|
6483
7519
|
"commands",
|
|
6484
7520
|
"update-set",
|
|
6485
|
-
"
|
|
7521
|
+
"current.js"
|
|
6486
7522
|
]
|
|
6487
7523
|
},
|
|
6488
|
-
"update-set
|
|
7524
|
+
"update-set": {
|
|
6489
7525
|
"aliases": [],
|
|
6490
7526
|
"args": {},
|
|
6491
|
-
"description": "
|
|
7527
|
+
"description": "List update sets on a ServiceNow instance.",
|
|
6492
7528
|
"examples": [
|
|
6493
|
-
{
|
|
6494
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6495
|
-
"description": "
|
|
7529
|
+
{
|
|
7530
|
+
"command": "<%= config.bin %> <%= command.id %> --auth dev-instance",
|
|
7531
|
+
"description": "List update sets with default limit"
|
|
6496
7532
|
},
|
|
6497
7533
|
{
|
|
6498
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6499
|
-
"description": "
|
|
7534
|
+
"command": "<%= config.bin %> <%= command.id %> --query \"state=in progress\" --limit 50 --auth dev-instance",
|
|
7535
|
+
"description": "List update sets with a custom query filter"
|
|
6500
7536
|
},
|
|
6501
7537
|
{
|
|
6502
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6503
|
-
"description": "
|
|
7538
|
+
"command": "<%= config.bin %> <%= command.id %> --json --auth dev-instance",
|
|
7539
|
+
"description": "List update sets with JSON output"
|
|
6504
7540
|
}
|
|
6505
7541
|
],
|
|
6506
7542
|
"flags": {
|
|
@@ -6528,6 +7564,23 @@
|
|
|
6528
7564
|
"allowNo": false,
|
|
6529
7565
|
"type": "boolean"
|
|
6530
7566
|
},
|
|
7567
|
+
"log-dir": {
|
|
7568
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
7569
|
+
"helpGroup": "GLOBAL",
|
|
7570
|
+
"name": "log-dir",
|
|
7571
|
+
"required": false,
|
|
7572
|
+
"hasDynamicHelp": false,
|
|
7573
|
+
"multiple": false,
|
|
7574
|
+
"type": "option"
|
|
7575
|
+
},
|
|
7576
|
+
"log-file": {
|
|
7577
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7578
|
+
"helpGroup": "GLOBAL",
|
|
7579
|
+
"name": "log-file",
|
|
7580
|
+
"required": false,
|
|
7581
|
+
"allowNo": false,
|
|
7582
|
+
"type": "boolean"
|
|
7583
|
+
},
|
|
6531
7584
|
"log-level": {
|
|
6532
7585
|
"helpGroup": "GLOBAL",
|
|
6533
7586
|
"name": "log-level",
|
|
@@ -6544,36 +7597,28 @@
|
|
|
6544
7597
|
],
|
|
6545
7598
|
"type": "option"
|
|
6546
7599
|
},
|
|
6547
|
-
"
|
|
6548
|
-
"description": "
|
|
6549
|
-
"name": "
|
|
7600
|
+
"limit": {
|
|
7601
|
+
"description": "Maximum number of update sets to return",
|
|
7602
|
+
"name": "limit",
|
|
6550
7603
|
"required": false,
|
|
7604
|
+
"default": 20,
|
|
6551
7605
|
"hasDynamicHelp": false,
|
|
6552
7606
|
"multiple": false,
|
|
6553
7607
|
"type": "option"
|
|
6554
7608
|
},
|
|
6555
|
-
"
|
|
6556
|
-
"char": "
|
|
6557
|
-
"description": "
|
|
6558
|
-
"name": "
|
|
7609
|
+
"query": {
|
|
7610
|
+
"char": "q",
|
|
7611
|
+
"description": "Encoded query filter",
|
|
7612
|
+
"name": "query",
|
|
6559
7613
|
"required": false,
|
|
6560
7614
|
"hasDynamicHelp": false,
|
|
6561
7615
|
"multiple": false,
|
|
6562
7616
|
"type": "option"
|
|
6563
|
-
},
|
|
6564
|
-
"name": {
|
|
6565
|
-
"char": "n",
|
|
6566
|
-
"description": "Name for the new update set",
|
|
6567
|
-
"name": "name",
|
|
6568
|
-
"required": true,
|
|
6569
|
-
"hasDynamicHelp": false,
|
|
6570
|
-
"multiple": false,
|
|
6571
|
-
"type": "option"
|
|
6572
7617
|
}
|
|
6573
7618
|
},
|
|
6574
7619
|
"hasDynamicHelp": false,
|
|
6575
7620
|
"hiddenAliases": [],
|
|
6576
|
-
"id": "update-set
|
|
7621
|
+
"id": "update-set",
|
|
6577
7622
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6578
7623
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6579
7624
|
"pluginType": "core",
|
|
@@ -6584,25 +7629,21 @@
|
|
|
6584
7629
|
"dist",
|
|
6585
7630
|
"commands",
|
|
6586
7631
|
"update-set",
|
|
6587
|
-
"
|
|
7632
|
+
"index.js"
|
|
6588
7633
|
]
|
|
6589
7634
|
},
|
|
6590
|
-
"update-set:
|
|
7635
|
+
"update-set:inspect": {
|
|
6591
7636
|
"aliases": [],
|
|
6592
7637
|
"args": {},
|
|
6593
|
-
"description": "
|
|
7638
|
+
"description": "Inspect the components of an update set.",
|
|
6594
7639
|
"examples": [
|
|
6595
7640
|
{
|
|
6596
|
-
"command": "<%= config.bin %> <%= command.id %> --auth dev-instance",
|
|
6597
|
-
"description": "
|
|
6598
|
-
},
|
|
6599
|
-
{
|
|
6600
|
-
"command": "<%= config.bin %> <%= command.id %> --set us-001 --auth dev-instance",
|
|
6601
|
-
"description": "Set the current update set by sys_id"
|
|
7641
|
+
"command": "<%= config.bin %> <%= command.id %> --sys-id us-001 --auth dev-instance",
|
|
7642
|
+
"description": "Inspect an update set by sys_id"
|
|
6602
7643
|
},
|
|
6603
7644
|
{
|
|
6604
|
-
"command": "<%= config.bin %> <%= command.id %> --json --auth dev-instance",
|
|
6605
|
-
"description": "
|
|
7645
|
+
"command": "<%= config.bin %> <%= command.id %> --sys-id us-001 --json --auth dev-instance",
|
|
7646
|
+
"description": "Inspect with JSON output"
|
|
6606
7647
|
}
|
|
6607
7648
|
],
|
|
6608
7649
|
"flags": {
|
|
@@ -6630,6 +7671,23 @@
|
|
|
6630
7671
|
"allowNo": false,
|
|
6631
7672
|
"type": "boolean"
|
|
6632
7673
|
},
|
|
7674
|
+
"log-dir": {
|
|
7675
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
7676
|
+
"helpGroup": "GLOBAL",
|
|
7677
|
+
"name": "log-dir",
|
|
7678
|
+
"required": false,
|
|
7679
|
+
"hasDynamicHelp": false,
|
|
7680
|
+
"multiple": false,
|
|
7681
|
+
"type": "option"
|
|
7682
|
+
},
|
|
7683
|
+
"log-file": {
|
|
7684
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7685
|
+
"helpGroup": "GLOBAL",
|
|
7686
|
+
"name": "log-file",
|
|
7687
|
+
"required": false,
|
|
7688
|
+
"allowNo": false,
|
|
7689
|
+
"type": "boolean"
|
|
7690
|
+
},
|
|
6633
7691
|
"log-level": {
|
|
6634
7692
|
"helpGroup": "GLOBAL",
|
|
6635
7693
|
"name": "log-level",
|
|
@@ -6646,11 +7704,11 @@
|
|
|
6646
7704
|
],
|
|
6647
7705
|
"type": "option"
|
|
6648
7706
|
},
|
|
6649
|
-
"
|
|
7707
|
+
"sys-id": {
|
|
6650
7708
|
"char": "s",
|
|
6651
|
-
"description": "sys_id of update set to
|
|
6652
|
-
"name": "
|
|
6653
|
-
"required":
|
|
7709
|
+
"description": "sys_id of the update set to inspect",
|
|
7710
|
+
"name": "sys-id",
|
|
7711
|
+
"required": true,
|
|
6654
7712
|
"hasDynamicHelp": false,
|
|
6655
7713
|
"multiple": false,
|
|
6656
7714
|
"type": "option"
|
|
@@ -6658,7 +7716,7 @@
|
|
|
6658
7716
|
},
|
|
6659
7717
|
"hasDynamicHelp": false,
|
|
6660
7718
|
"hiddenAliases": [],
|
|
6661
|
-
"id": "update-set:
|
|
7719
|
+
"id": "update-set:inspect",
|
|
6662
7720
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6663
7721
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6664
7722
|
"pluginType": "core",
|
|
@@ -6669,25 +7727,25 @@
|
|
|
6669
7727
|
"dist",
|
|
6670
7728
|
"commands",
|
|
6671
7729
|
"update-set",
|
|
6672
|
-
"
|
|
7730
|
+
"inspect.js"
|
|
6673
7731
|
]
|
|
6674
7732
|
},
|
|
6675
|
-
"update-set": {
|
|
7733
|
+
"update-set:move": {
|
|
6676
7734
|
"aliases": [],
|
|
6677
7735
|
"args": {},
|
|
6678
|
-
"description": "
|
|
7736
|
+
"description": "Move records between update sets.",
|
|
6679
7737
|
"examples": [
|
|
6680
7738
|
{
|
|
6681
|
-
"command": "<%= config.bin %> <%= command.id %> --auth dev-instance",
|
|
6682
|
-
"description": "
|
|
7739
|
+
"command": "<%= config.bin %> <%= command.id %> --target us-002 --source us-001 --auth dev-instance",
|
|
7740
|
+
"description": "Move all records from one update set to another"
|
|
6683
7741
|
},
|
|
6684
7742
|
{
|
|
6685
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6686
|
-
"description": "
|
|
7743
|
+
"command": "<%= config.bin %> <%= command.id %> --target us-002 --records \"rec-001,rec-002,rec-003\" --auth dev-instance",
|
|
7744
|
+
"description": "Move specific records to a target update set"
|
|
6687
7745
|
},
|
|
6688
7746
|
{
|
|
6689
|
-
"command": "<%= config.bin %> <%= command.id %> --json --auth dev-instance",
|
|
6690
|
-
"description": "
|
|
7747
|
+
"command": "<%= config.bin %> <%= command.id %> --target us-002 --source us-001 --json --auth dev-instance",
|
|
7748
|
+
"description": "Move records with JSON output"
|
|
6691
7749
|
}
|
|
6692
7750
|
],
|
|
6693
7751
|
"flags": {
|
|
@@ -6715,6 +7773,23 @@
|
|
|
6715
7773
|
"allowNo": false,
|
|
6716
7774
|
"type": "boolean"
|
|
6717
7775
|
},
|
|
7776
|
+
"log-dir": {
|
|
7777
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
7778
|
+
"helpGroup": "GLOBAL",
|
|
7779
|
+
"name": "log-dir",
|
|
7780
|
+
"required": false,
|
|
7781
|
+
"hasDynamicHelp": false,
|
|
7782
|
+
"multiple": false,
|
|
7783
|
+
"type": "option"
|
|
7784
|
+
},
|
|
7785
|
+
"log-file": {
|
|
7786
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7787
|
+
"helpGroup": "GLOBAL",
|
|
7788
|
+
"name": "log-file",
|
|
7789
|
+
"required": false,
|
|
7790
|
+
"allowNo": false,
|
|
7791
|
+
"type": "boolean"
|
|
7792
|
+
},
|
|
6718
7793
|
"log-level": {
|
|
6719
7794
|
"helpGroup": "GLOBAL",
|
|
6720
7795
|
"name": "log-level",
|
|
@@ -6731,28 +7806,34 @@
|
|
|
6731
7806
|
],
|
|
6732
7807
|
"type": "option"
|
|
6733
7808
|
},
|
|
6734
|
-
"
|
|
6735
|
-
"description": "
|
|
6736
|
-
"name": "
|
|
7809
|
+
"records": {
|
|
7810
|
+
"description": "Comma-separated sys_ids of records to move",
|
|
7811
|
+
"name": "records",
|
|
6737
7812
|
"required": false,
|
|
6738
|
-
"default": 20,
|
|
6739
7813
|
"hasDynamicHelp": false,
|
|
6740
7814
|
"multiple": false,
|
|
6741
7815
|
"type": "option"
|
|
6742
7816
|
},
|
|
6743
|
-
"
|
|
6744
|
-
"
|
|
6745
|
-
"
|
|
6746
|
-
"name": "query",
|
|
7817
|
+
"source": {
|
|
7818
|
+
"description": "Source update set sys_id",
|
|
7819
|
+
"name": "source",
|
|
6747
7820
|
"required": false,
|
|
6748
7821
|
"hasDynamicHelp": false,
|
|
6749
7822
|
"multiple": false,
|
|
6750
7823
|
"type": "option"
|
|
7824
|
+
},
|
|
7825
|
+
"target": {
|
|
7826
|
+
"description": "Target update set sys_id",
|
|
7827
|
+
"name": "target",
|
|
7828
|
+
"required": true,
|
|
7829
|
+
"hasDynamicHelp": false,
|
|
7830
|
+
"multiple": false,
|
|
7831
|
+
"type": "option"
|
|
6751
7832
|
}
|
|
6752
7833
|
},
|
|
6753
7834
|
"hasDynamicHelp": false,
|
|
6754
7835
|
"hiddenAliases": [],
|
|
6755
|
-
"id": "update-set",
|
|
7836
|
+
"id": "update-set:move",
|
|
6756
7837
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6757
7838
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6758
7839
|
"pluginType": "core",
|
|
@@ -6763,21 +7844,21 @@
|
|
|
6763
7844
|
"dist",
|
|
6764
7845
|
"commands",
|
|
6765
7846
|
"update-set",
|
|
6766
|
-
"
|
|
7847
|
+
"move.js"
|
|
6767
7848
|
]
|
|
6768
7849
|
},
|
|
6769
|
-
"
|
|
7850
|
+
"workflow:create": {
|
|
6770
7851
|
"aliases": [],
|
|
6771
7852
|
"args": {},
|
|
6772
|
-
"description": "
|
|
7853
|
+
"description": "Create a complete workflow from a JSON specification file.",
|
|
6773
7854
|
"examples": [
|
|
6774
7855
|
{
|
|
6775
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6776
|
-
"description": "
|
|
7856
|
+
"command": "<%= config.bin %> <%= command.id %> --spec ./workflow.json --auth dev",
|
|
7857
|
+
"description": "Create a workflow from a JSON spec file"
|
|
6777
7858
|
},
|
|
6778
7859
|
{
|
|
6779
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
6780
|
-
"description": "
|
|
7860
|
+
"command": "<%= config.bin %> <%= command.id %> -s ./workflow.json --json --auth dev",
|
|
7861
|
+
"description": "Create a workflow and output result as JSON"
|
|
6781
7862
|
}
|
|
6782
7863
|
],
|
|
6783
7864
|
"flags": {
|
|
@@ -6805,6 +7886,23 @@
|
|
|
6805
7886
|
"allowNo": false,
|
|
6806
7887
|
"type": "boolean"
|
|
6807
7888
|
},
|
|
7889
|
+
"log-dir": {
|
|
7890
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
7891
|
+
"helpGroup": "GLOBAL",
|
|
7892
|
+
"name": "log-dir",
|
|
7893
|
+
"required": false,
|
|
7894
|
+
"hasDynamicHelp": false,
|
|
7895
|
+
"multiple": false,
|
|
7896
|
+
"type": "option"
|
|
7897
|
+
},
|
|
7898
|
+
"log-file": {
|
|
7899
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7900
|
+
"helpGroup": "GLOBAL",
|
|
7901
|
+
"name": "log-file",
|
|
7902
|
+
"required": false,
|
|
7903
|
+
"allowNo": false,
|
|
7904
|
+
"type": "boolean"
|
|
7905
|
+
},
|
|
6808
7906
|
"log-level": {
|
|
6809
7907
|
"helpGroup": "GLOBAL",
|
|
6810
7908
|
"name": "log-level",
|
|
@@ -6821,10 +7919,10 @@
|
|
|
6821
7919
|
],
|
|
6822
7920
|
"type": "option"
|
|
6823
7921
|
},
|
|
6824
|
-
"
|
|
7922
|
+
"spec": {
|
|
6825
7923
|
"char": "s",
|
|
6826
|
-
"description": "
|
|
6827
|
-
"name": "
|
|
7924
|
+
"description": "Path to workflow JSON specification file",
|
|
7925
|
+
"name": "spec",
|
|
6828
7926
|
"required": true,
|
|
6829
7927
|
"hasDynamicHelp": false,
|
|
6830
7928
|
"multiple": false,
|
|
@@ -6833,7 +7931,7 @@
|
|
|
6833
7931
|
},
|
|
6834
7932
|
"hasDynamicHelp": false,
|
|
6835
7933
|
"hiddenAliases": [],
|
|
6836
|
-
"id": "
|
|
7934
|
+
"id": "workflow:create",
|
|
6837
7935
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6838
7936
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6839
7937
|
"pluginType": "core",
|
|
@@ -6843,26 +7941,22 @@
|
|
|
6843
7941
|
"relativePath": [
|
|
6844
7942
|
"dist",
|
|
6845
7943
|
"commands",
|
|
6846
|
-
"
|
|
6847
|
-
"
|
|
7944
|
+
"workflow",
|
|
7945
|
+
"create.js"
|
|
6848
7946
|
]
|
|
6849
7947
|
},
|
|
6850
|
-
"
|
|
7948
|
+
"workflow:publish": {
|
|
6851
7949
|
"aliases": [],
|
|
6852
7950
|
"args": {},
|
|
6853
|
-
"description": "
|
|
7951
|
+
"description": "Publish a workflow version.",
|
|
6854
7952
|
"examples": [
|
|
6855
7953
|
{
|
|
6856
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6857
|
-
"description": "
|
|
6858
|
-
},
|
|
6859
|
-
{
|
|
6860
|
-
"command": "<%= config.bin %> <%= command.id %> --target us-002 --records \"rec-001,rec-002,rec-003\" --auth dev-instance",
|
|
6861
|
-
"description": "Move specific records to a target update set"
|
|
7954
|
+
"command": "<%= config.bin %> <%= command.id %> --version-id wfv-001 --start-activity act-001 --auth dev",
|
|
7955
|
+
"description": "Publish a workflow version"
|
|
6862
7956
|
},
|
|
6863
7957
|
{
|
|
6864
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
6865
|
-
"description": "
|
|
7958
|
+
"command": "<%= config.bin %> <%= command.id %> -v wfv-001 -s act-001 --json --auth dev",
|
|
7959
|
+
"description": "Publish a workflow version and output as JSON"
|
|
6866
7960
|
}
|
|
6867
7961
|
],
|
|
6868
7962
|
"flags": {
|
|
@@ -6890,6 +7984,23 @@
|
|
|
6890
7984
|
"allowNo": false,
|
|
6891
7985
|
"type": "boolean"
|
|
6892
7986
|
},
|
|
7987
|
+
"log-dir": {
|
|
7988
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
7989
|
+
"helpGroup": "GLOBAL",
|
|
7990
|
+
"name": "log-dir",
|
|
7991
|
+
"required": false,
|
|
7992
|
+
"hasDynamicHelp": false,
|
|
7993
|
+
"multiple": false,
|
|
7994
|
+
"type": "option"
|
|
7995
|
+
},
|
|
7996
|
+
"log-file": {
|
|
7997
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
7998
|
+
"helpGroup": "GLOBAL",
|
|
7999
|
+
"name": "log-file",
|
|
8000
|
+
"required": false,
|
|
8001
|
+
"allowNo": false,
|
|
8002
|
+
"type": "boolean"
|
|
8003
|
+
},
|
|
6893
8004
|
"log-level": {
|
|
6894
8005
|
"helpGroup": "GLOBAL",
|
|
6895
8006
|
"name": "log-level",
|
|
@@ -6906,25 +8017,19 @@
|
|
|
6906
8017
|
],
|
|
6907
8018
|
"type": "option"
|
|
6908
8019
|
},
|
|
6909
|
-
"
|
|
6910
|
-
"
|
|
6911
|
-
"
|
|
6912
|
-
"
|
|
6913
|
-
"
|
|
6914
|
-
"multiple": false,
|
|
6915
|
-
"type": "option"
|
|
6916
|
-
},
|
|
6917
|
-
"source": {
|
|
6918
|
-
"description": "Source update set sys_id",
|
|
6919
|
-
"name": "source",
|
|
6920
|
-
"required": false,
|
|
8020
|
+
"start-activity": {
|
|
8021
|
+
"char": "s",
|
|
8022
|
+
"description": "Sys ID of the start activity",
|
|
8023
|
+
"name": "start-activity",
|
|
8024
|
+
"required": true,
|
|
6921
8025
|
"hasDynamicHelp": false,
|
|
6922
8026
|
"multiple": false,
|
|
6923
8027
|
"type": "option"
|
|
6924
8028
|
},
|
|
6925
|
-
"
|
|
6926
|
-
"
|
|
6927
|
-
"
|
|
8029
|
+
"version-id": {
|
|
8030
|
+
"char": "v",
|
|
8031
|
+
"description": "Sys ID of the workflow version to publish",
|
|
8032
|
+
"name": "version-id",
|
|
6928
8033
|
"required": true,
|
|
6929
8034
|
"hasDynamicHelp": false,
|
|
6930
8035
|
"multiple": false,
|
|
@@ -6933,7 +8038,7 @@
|
|
|
6933
8038
|
},
|
|
6934
8039
|
"hasDynamicHelp": false,
|
|
6935
8040
|
"hiddenAliases": [],
|
|
6936
|
-
"id": "
|
|
8041
|
+
"id": "workflow:publish",
|
|
6937
8042
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6938
8043
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6939
8044
|
"pluginType": "core",
|
|
@@ -6943,8 +8048,8 @@
|
|
|
6943
8048
|
"relativePath": [
|
|
6944
8049
|
"dist",
|
|
6945
8050
|
"commands",
|
|
6946
|
-
"
|
|
6947
|
-
"
|
|
8051
|
+
"workflow",
|
|
8052
|
+
"publish.js"
|
|
6948
8053
|
]
|
|
6949
8054
|
},
|
|
6950
8055
|
"xml:export": {
|
|
@@ -6991,6 +8096,23 @@
|
|
|
6991
8096
|
"allowNo": false,
|
|
6992
8097
|
"type": "boolean"
|
|
6993
8098
|
},
|
|
8099
|
+
"log-dir": {
|
|
8100
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
8101
|
+
"helpGroup": "GLOBAL",
|
|
8102
|
+
"name": "log-dir",
|
|
8103
|
+
"required": false,
|
|
8104
|
+
"hasDynamicHelp": false,
|
|
8105
|
+
"multiple": false,
|
|
8106
|
+
"type": "option"
|
|
8107
|
+
},
|
|
8108
|
+
"log-file": {
|
|
8109
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
8110
|
+
"helpGroup": "GLOBAL",
|
|
8111
|
+
"name": "log-file",
|
|
8112
|
+
"required": false,
|
|
8113
|
+
"allowNo": false,
|
|
8114
|
+
"type": "boolean"
|
|
8115
|
+
},
|
|
6994
8116
|
"log-level": {
|
|
6995
8117
|
"helpGroup": "GLOBAL",
|
|
6996
8118
|
"name": "log-level",
|
|
@@ -7091,6 +8213,23 @@
|
|
|
7091
8213
|
"allowNo": false,
|
|
7092
8214
|
"type": "boolean"
|
|
7093
8215
|
},
|
|
8216
|
+
"log-dir": {
|
|
8217
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
8218
|
+
"helpGroup": "GLOBAL",
|
|
8219
|
+
"name": "log-dir",
|
|
8220
|
+
"required": false,
|
|
8221
|
+
"hasDynamicHelp": false,
|
|
8222
|
+
"multiple": false,
|
|
8223
|
+
"type": "option"
|
|
8224
|
+
},
|
|
8225
|
+
"log-file": {
|
|
8226
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
8227
|
+
"helpGroup": "GLOBAL",
|
|
8228
|
+
"name": "log-file",
|
|
8229
|
+
"required": false,
|
|
8230
|
+
"allowNo": false,
|
|
8231
|
+
"type": "boolean"
|
|
8232
|
+
},
|
|
7094
8233
|
"log-level": {
|
|
7095
8234
|
"helpGroup": "GLOBAL",
|
|
7096
8235
|
"name": "log-level",
|
|
@@ -7143,5 +8282,5 @@
|
|
|
7143
8282
|
]
|
|
7144
8283
|
}
|
|
7145
8284
|
},
|
|
7146
|
-
"version": "5.0
|
|
8285
|
+
"version": "5.1.0"
|
|
7147
8286
|
}
|