@sonisoft/now-sdk-ext-cli 5.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +72 -72
- package/bin/argv-guard.js +25 -0
- package/bin/argv-secrets.js +103 -0
- package/bin/dev.js +6 -2
- package/bin/run.js +6 -2
- package/dist/commands/auth/doctor.d.ts.map +1 -1
- package/dist/commands/auth/doctor.js +15 -3
- package/dist/commands/auth/doctor.js.map +1 -1
- package/oclif.manifest.json +1066 -1066
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -689,7 +689,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
|
|
|
689
689
|
$ nex COMMAND
|
|
690
690
|
running command...
|
|
691
691
|
$ nex (--version)
|
|
692
|
-
@sonisoft/now-sdk-ext-cli/5.0.
|
|
692
|
+
@sonisoft/now-sdk-ext-cli/5.0.1 linux-x64 node-v26.5.0
|
|
693
693
|
$ nex --help [COMMAND]
|
|
694
694
|
USAGE
|
|
695
695
|
$ nex COMMAND
|
|
@@ -828,7 +828,7 @@ EXAMPLES
|
|
|
828
828
|
$ nex aggregate count --table incident --query "active=true" --json --auth dev
|
|
829
829
|
```
|
|
830
830
|
|
|
831
|
-
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
831
|
+
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/aggregate/count.ts)_
|
|
832
832
|
|
|
833
833
|
## `nex aggregate group`
|
|
834
834
|
|
|
@@ -888,7 +888,7 @@ EXAMPLES
|
|
|
888
888
|
$ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
|
|
889
889
|
```
|
|
890
890
|
|
|
891
|
-
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
891
|
+
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/aggregate/group.ts)_
|
|
892
892
|
|
|
893
893
|
## `nex aggregate query`
|
|
894
894
|
|
|
@@ -942,7 +942,7 @@ EXAMPLES
|
|
|
942
942
|
$ nex aggregate query --table incident --sum reassignment_count --json --auth dev
|
|
943
943
|
```
|
|
944
944
|
|
|
945
|
-
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
945
|
+
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/aggregate/query.ts)_
|
|
946
946
|
|
|
947
947
|
## `nex app`
|
|
948
948
|
|
|
@@ -997,7 +997,7 @@ EXAMPLES
|
|
|
997
997
|
$ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
998
998
|
```
|
|
999
999
|
|
|
1000
|
-
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1000
|
+
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/app/index.ts)_
|
|
1001
1001
|
|
|
1002
1002
|
## `nex app install`
|
|
1003
1003
|
|
|
@@ -1057,7 +1057,7 @@ EXAMPLES
|
|
|
1057
1057
|
$ nex app install -b -d ./apps.json -a dev-instance --log-level debug
|
|
1058
1058
|
```
|
|
1059
1059
|
|
|
1060
|
-
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1060
|
+
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/app/install.ts)_
|
|
1061
1061
|
|
|
1062
1062
|
## `nex app repo-install`
|
|
1063
1063
|
|
|
@@ -1133,7 +1133,7 @@ EXAMPLES
|
|
|
1133
1133
|
$ nex app repo-install -s x_my_app -a dev-instance --log-level debug
|
|
1134
1134
|
```
|
|
1135
1135
|
|
|
1136
|
-
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1136
|
+
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/app/repo-install.ts)_
|
|
1137
1137
|
|
|
1138
1138
|
## `nex app repo-list`
|
|
1139
1139
|
|
|
@@ -1199,7 +1199,7 @@ EXAMPLES
|
|
|
1199
1199
|
$ nex app repo-list -a dev-instance
|
|
1200
1200
|
```
|
|
1201
1201
|
|
|
1202
|
-
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1202
|
+
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/app/repo-list.ts)_
|
|
1203
1203
|
|
|
1204
1204
|
## `nex app uninstall`
|
|
1205
1205
|
|
|
@@ -1253,7 +1253,7 @@ EXAMPLES
|
|
|
1253
1253
|
$ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
1254
1254
|
```
|
|
1255
1255
|
|
|
1256
|
-
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1256
|
+
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/app/uninstall.ts)_
|
|
1257
1257
|
|
|
1258
1258
|
## `nex atf`
|
|
1259
1259
|
|
|
@@ -1327,7 +1327,7 @@ EXAMPLES
|
|
|
1327
1327
|
$ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
|
|
1328
1328
|
```
|
|
1329
1329
|
|
|
1330
|
-
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1330
|
+
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/atf/index.ts)_
|
|
1331
1331
|
|
|
1332
1332
|
## `nex attachment get`
|
|
1333
1333
|
|
|
@@ -1361,7 +1361,7 @@ EXAMPLES
|
|
|
1361
1361
|
$ nex attachment get -s att123 --json --auth dev
|
|
1362
1362
|
```
|
|
1363
1363
|
|
|
1364
|
-
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1364
|
+
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/attachment/get.ts)_
|
|
1365
1365
|
|
|
1366
1366
|
## `nex attachment list`
|
|
1367
1367
|
|
|
@@ -1398,7 +1398,7 @@ EXAMPLES
|
|
|
1398
1398
|
$ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
|
|
1399
1399
|
```
|
|
1400
1400
|
|
|
1401
|
-
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1401
|
+
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/attachment/list.ts)_
|
|
1402
1402
|
|
|
1403
1403
|
## `nex attachment upload`
|
|
1404
1404
|
|
|
@@ -1436,7 +1436,7 @@ EXAMPLES
|
|
|
1436
1436
|
$ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
|
|
1437
1437
|
```
|
|
1438
1438
|
|
|
1439
|
-
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1439
|
+
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/attachment/upload.ts)_
|
|
1440
1440
|
|
|
1441
1441
|
## `nex auth delete [ALIAS]`
|
|
1442
1442
|
|
|
@@ -1471,7 +1471,7 @@ EXAMPLES
|
|
|
1471
1471
|
$ nex auth delete --all
|
|
1472
1472
|
```
|
|
1473
1473
|
|
|
1474
|
-
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1474
|
+
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/auth/delete.ts)_
|
|
1475
1475
|
|
|
1476
1476
|
## `nex auth doctor`
|
|
1477
1477
|
|
|
@@ -1499,7 +1499,7 @@ EXAMPLES
|
|
|
1499
1499
|
$ nex auth doctor --json
|
|
1500
1500
|
```
|
|
1501
1501
|
|
|
1502
|
-
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1502
|
+
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/auth/doctor.ts)_
|
|
1503
1503
|
|
|
1504
1504
|
## `nex auth list`
|
|
1505
1505
|
|
|
@@ -1532,7 +1532,7 @@ EXAMPLES
|
|
|
1532
1532
|
$ nex auth list --json
|
|
1533
1533
|
```
|
|
1534
1534
|
|
|
1535
|
-
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1535
|
+
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/auth/list.ts)_
|
|
1536
1536
|
|
|
1537
1537
|
## `nex auth use ALIAS`
|
|
1538
1538
|
|
|
@@ -1560,7 +1560,7 @@ EXAMPLES
|
|
|
1560
1560
|
$ nex auth use dev206299
|
|
1561
1561
|
```
|
|
1562
1562
|
|
|
1563
|
-
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1563
|
+
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/auth/use.ts)_
|
|
1564
1564
|
|
|
1565
1565
|
## `nex autocomplete [SHELL]`
|
|
1566
1566
|
|
|
@@ -1627,7 +1627,7 @@ EXAMPLES
|
|
|
1627
1627
|
$ nex batch create --file ./records.json --no-transaction --auth dev
|
|
1628
1628
|
```
|
|
1629
1629
|
|
|
1630
|
-
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1630
|
+
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/batch/create.ts)_
|
|
1631
1631
|
|
|
1632
1632
|
## `nex batch update`
|
|
1633
1633
|
|
|
@@ -1663,7 +1663,7 @@ EXAMPLES
|
|
|
1663
1663
|
$ nex batch update --file ./updates.json --stop-on-error --auth dev
|
|
1664
1664
|
```
|
|
1665
1665
|
|
|
1666
|
-
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1666
|
+
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/batch/update.ts)_
|
|
1667
1667
|
|
|
1668
1668
|
## `nex bulk delete`
|
|
1669
1669
|
|
|
@@ -1719,7 +1719,7 @@ EXAMPLES
|
|
|
1719
1719
|
$ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
|
|
1720
1720
|
```
|
|
1721
1721
|
|
|
1722
|
-
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1722
|
+
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/bulk/delete.ts)_
|
|
1723
1723
|
|
|
1724
1724
|
## `nex bulk update`
|
|
1725
1725
|
|
|
@@ -1779,7 +1779,7 @@ EXAMPLES
|
|
|
1779
1779
|
$ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
|
|
1780
1780
|
```
|
|
1781
1781
|
|
|
1782
|
-
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1782
|
+
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/bulk/update.ts)_
|
|
1783
1783
|
|
|
1784
1784
|
## `nex exec SCOPE [FILE]`
|
|
1785
1785
|
|
|
@@ -1901,7 +1901,7 @@ EXAMPLES
|
|
|
1901
1901
|
$ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
|
|
1902
1902
|
```
|
|
1903
1903
|
|
|
1904
|
-
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1904
|
+
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/exec/index.ts)_
|
|
1905
1905
|
|
|
1906
1906
|
## `nex flow action`
|
|
1907
1907
|
|
|
@@ -1946,7 +1946,7 @@ EXAMPLES
|
|
|
1946
1946
|
'{"table":"incident","values":{"short_description":"Test"}}' --auth dev
|
|
1947
1947
|
```
|
|
1948
1948
|
|
|
1949
|
-
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1949
|
+
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/action.ts)_
|
|
1950
1950
|
|
|
1951
1951
|
## `nex flow cancel`
|
|
1952
1952
|
|
|
@@ -1985,7 +1985,7 @@ EXAMPLES
|
|
|
1985
1985
|
$ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
|
|
1986
1986
|
```
|
|
1987
1987
|
|
|
1988
|
-
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
1988
|
+
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/cancel.ts)_
|
|
1989
1989
|
|
|
1990
1990
|
## `nex flow copy`
|
|
1991
1991
|
|
|
@@ -2042,7 +2042,7 @@ EXAMPLES
|
|
|
2042
2042
|
dev
|
|
2043
2043
|
```
|
|
2044
2044
|
|
|
2045
|
-
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2045
|
+
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/copy.ts)_
|
|
2046
2046
|
|
|
2047
2047
|
## `nex flow details`
|
|
2048
2048
|
|
|
@@ -2095,7 +2095,7 @@ EXAMPLES
|
|
|
2095
2095
|
$ nex flow details -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2096
2096
|
```
|
|
2097
2097
|
|
|
2098
|
-
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2098
|
+
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/details.ts)_
|
|
2099
2099
|
|
|
2100
2100
|
## `nex flow error`
|
|
2101
2101
|
|
|
@@ -2129,7 +2129,7 @@ EXAMPLES
|
|
|
2129
2129
|
$ nex flow error --context-id abc123def456 --auth dev
|
|
2130
2130
|
```
|
|
2131
2131
|
|
|
2132
|
-
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2132
|
+
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/error.ts)_
|
|
2133
2133
|
|
|
2134
2134
|
## `nex flow logs`
|
|
2135
2135
|
|
|
@@ -2179,7 +2179,7 @@ EXAMPLES
|
|
|
2179
2179
|
$ nex flow logs -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2180
2180
|
```
|
|
2181
2181
|
|
|
2182
|
-
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2182
|
+
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/logs.ts)_
|
|
2183
2183
|
|
|
2184
2184
|
## `nex flow message`
|
|
2185
2185
|
|
|
@@ -2220,7 +2220,7 @@ EXAMPLES
|
|
|
2220
2220
|
$ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
|
|
2221
2221
|
```
|
|
2222
2222
|
|
|
2223
|
-
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2223
|
+
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/message.ts)_
|
|
2224
2224
|
|
|
2225
2225
|
## `nex flow outputs`
|
|
2226
2226
|
|
|
@@ -2258,7 +2258,7 @@ EXAMPLES
|
|
|
2258
2258
|
$ nex flow outputs --context-id abc123def456 --json --auth dev
|
|
2259
2259
|
```
|
|
2260
2260
|
|
|
2261
|
-
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2261
|
+
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/outputs.ts)_
|
|
2262
2262
|
|
|
2263
2263
|
## `nex flow run`
|
|
2264
2264
|
|
|
@@ -2315,7 +2315,7 @@ EXAMPLES
|
|
|
2315
2315
|
$ nex flow run --name global.my_flow --mode background --auth dev
|
|
2316
2316
|
```
|
|
2317
2317
|
|
|
2318
|
-
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2318
|
+
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/run.ts)_
|
|
2319
2319
|
|
|
2320
2320
|
## `nex flow status`
|
|
2321
2321
|
|
|
@@ -2351,7 +2351,7 @@ EXAMPLES
|
|
|
2351
2351
|
$ nex flow status --context-id abc123def456 --auth dev
|
|
2352
2352
|
```
|
|
2353
2353
|
|
|
2354
|
-
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2354
|
+
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/status.ts)_
|
|
2355
2355
|
|
|
2356
2356
|
## `nex flow subflow`
|
|
2357
2357
|
|
|
@@ -2402,7 +2402,7 @@ EXAMPLES
|
|
|
2402
2402
|
$ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
|
|
2403
2403
|
```
|
|
2404
2404
|
|
|
2405
|
-
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2405
|
+
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/subflow.ts)_
|
|
2406
2406
|
|
|
2407
2407
|
## `nex flow test`
|
|
2408
2408
|
|
|
@@ -2456,7 +2456,7 @@ EXAMPLES
|
|
|
2456
2456
|
$ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
|
|
2457
2457
|
```
|
|
2458
2458
|
|
|
2459
|
-
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2459
|
+
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/flow/test.ts)_
|
|
2460
2460
|
|
|
2461
2461
|
## `nex health check`
|
|
2462
2462
|
|
|
@@ -2518,7 +2518,7 @@ EXAMPLES
|
|
|
2518
2518
|
$ nex health check --json --auth dev
|
|
2519
2519
|
```
|
|
2520
2520
|
|
|
2521
|
-
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2521
|
+
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/health/check.ts)_
|
|
2522
2522
|
|
|
2523
2523
|
## `nex help [COMMAND]`
|
|
2524
2524
|
|
|
@@ -2645,7 +2645,7 @@ EXAMPLES
|
|
|
2645
2645
|
$ nex log --no-color --auth dev-instance
|
|
2646
2646
|
```
|
|
2647
2647
|
|
|
2648
|
-
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2648
|
+
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/log/index.ts)_
|
|
2649
2649
|
|
|
2650
2650
|
## `nex plugins`
|
|
2651
2651
|
|
|
@@ -2989,7 +2989,7 @@ EXAMPLES
|
|
|
2989
2989
|
$ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
|
|
2990
2990
|
```
|
|
2991
2991
|
|
|
2992
|
-
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
2992
|
+
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/query/index.ts)_
|
|
2993
2993
|
|
|
2994
2994
|
## `nex query app`
|
|
2995
2995
|
|
|
@@ -3034,7 +3034,7 @@ EXAMPLES
|
|
|
3034
3034
|
$ nex query app --search "HR" --active --auth dev
|
|
3035
3035
|
```
|
|
3036
3036
|
|
|
3037
|
-
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3037
|
+
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/query/app.ts)_
|
|
3038
3038
|
|
|
3039
3039
|
## `nex query columns`
|
|
3040
3040
|
|
|
@@ -3081,7 +3081,7 @@ EXAMPLES
|
|
|
3081
3081
|
$ nex query columns --table incident --json --auth dev
|
|
3082
3082
|
```
|
|
3083
3083
|
|
|
3084
|
-
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3084
|
+
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/query/columns.ts)_
|
|
3085
3085
|
|
|
3086
3086
|
## `nex query syslog`
|
|
3087
3087
|
|
|
@@ -3130,7 +3130,7 @@ EXAMPLES
|
|
|
3130
3130
|
$ nex query syslog --query "sourceLIKEincident" --json --auth dev
|
|
3131
3131
|
```
|
|
3132
3132
|
|
|
3133
|
-
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3133
|
+
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/query/syslog.ts)_
|
|
3134
3134
|
|
|
3135
3135
|
## `nex schema`
|
|
3136
3136
|
|
|
@@ -3180,7 +3180,7 @@ EXAMPLES
|
|
|
3180
3180
|
$ nex schema --table incident --include-choices --include-relationships --auth dev
|
|
3181
3181
|
```
|
|
3182
3182
|
|
|
3183
|
-
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3183
|
+
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/schema/index.ts)_
|
|
3184
3184
|
|
|
3185
3185
|
## `nex schema field`
|
|
3186
3186
|
|
|
@@ -3219,7 +3219,7 @@ EXAMPLES
|
|
|
3219
3219
|
$ nex schema field --table incident --field priority --json --auth dev
|
|
3220
3220
|
```
|
|
3221
3221
|
|
|
3222
|
-
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3222
|
+
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/schema/field.ts)_
|
|
3223
3223
|
|
|
3224
3224
|
## `nex schema validate-catalog`
|
|
3225
3225
|
|
|
@@ -3256,7 +3256,7 @@ EXAMPLES
|
|
|
3256
3256
|
$ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
|
|
3257
3257
|
```
|
|
3258
3258
|
|
|
3259
|
-
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3259
|
+
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/schema/validate-catalog.ts)_
|
|
3260
3260
|
|
|
3261
3261
|
## `nex scope`
|
|
3262
3262
|
|
|
@@ -3294,7 +3294,7 @@ EXAMPLES
|
|
|
3294
3294
|
$ nex scope -l --json --auth dev
|
|
3295
3295
|
```
|
|
3296
3296
|
|
|
3297
|
-
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3297
|
+
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/scope/index.ts)_
|
|
3298
3298
|
|
|
3299
3299
|
## `nex scope set`
|
|
3300
3300
|
|
|
@@ -3328,7 +3328,7 @@ EXAMPLES
|
|
|
3328
3328
|
$ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
|
|
3329
3329
|
```
|
|
3330
3330
|
|
|
3331
|
-
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3331
|
+
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/scope/set.ts)_
|
|
3332
3332
|
|
|
3333
3333
|
## `nex script-sync pull`
|
|
3334
3334
|
|
|
@@ -3379,7 +3379,7 @@ EXAMPLES
|
|
|
3379
3379
|
$ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
|
|
3380
3380
|
```
|
|
3381
3381
|
|
|
3382
|
-
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3382
|
+
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/script-sync/pull.ts)_
|
|
3383
3383
|
|
|
3384
3384
|
## `nex script-sync push`
|
|
3385
3385
|
|
|
@@ -3431,7 +3431,7 @@ EXAMPLES
|
|
|
3431
3431
|
$ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
|
|
3432
3432
|
```
|
|
3433
3433
|
|
|
3434
|
-
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3434
|
+
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/script-sync/push.ts)_
|
|
3435
3435
|
|
|
3436
3436
|
## `nex script-sync sync`
|
|
3437
3437
|
|
|
@@ -3481,7 +3481,7 @@ EXAMPLES
|
|
|
3481
3481
|
$ nex script-sync sync -d ./scripts --json --auth dev-instance
|
|
3482
3482
|
```
|
|
3483
3483
|
|
|
3484
|
-
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3484
|
+
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/script-sync/sync.ts)_
|
|
3485
3485
|
|
|
3486
3486
|
## `nex search`
|
|
3487
3487
|
|
|
@@ -3539,7 +3539,7 @@ EXAMPLES
|
|
|
3539
3539
|
$ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
|
|
3540
3540
|
```
|
|
3541
3541
|
|
|
3542
|
-
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3542
|
+
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/search/index.ts)_
|
|
3543
3543
|
|
|
3544
3544
|
## `nex search add-table`
|
|
3545
3545
|
|
|
@@ -3591,7 +3591,7 @@ EXAMPLES
|
|
|
3591
3591
|
dev-instance
|
|
3592
3592
|
```
|
|
3593
3593
|
|
|
3594
|
-
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3594
|
+
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/search/add-table.ts)_
|
|
3595
3595
|
|
|
3596
3596
|
## `nex search groups`
|
|
3597
3597
|
|
|
@@ -3631,7 +3631,7 @@ EXAMPLES
|
|
|
3631
3631
|
$ nex search groups --json --auth dev-instance
|
|
3632
3632
|
```
|
|
3633
3633
|
|
|
3634
|
-
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3634
|
+
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/search/groups.ts)_
|
|
3635
3635
|
|
|
3636
3636
|
## `nex search tables`
|
|
3637
3637
|
|
|
@@ -3673,7 +3673,7 @@ EXAMPLES
|
|
|
3673
3673
|
$ nex search tables --search-group "Business Rules" --json --auth dev-instance
|
|
3674
3674
|
```
|
|
3675
3675
|
|
|
3676
|
-
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3676
|
+
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/search/tables.ts)_
|
|
3677
3677
|
|
|
3678
3678
|
## `nex store install`
|
|
3679
3679
|
|
|
@@ -3717,7 +3717,7 @@ EXAMPLES
|
|
|
3717
3717
|
$ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
|
|
3718
3718
|
```
|
|
3719
3719
|
|
|
3720
|
-
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3720
|
+
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/store/install.ts)_
|
|
3721
3721
|
|
|
3722
3722
|
## `nex store search`
|
|
3723
3723
|
|
|
@@ -3759,7 +3759,7 @@ EXAMPLES
|
|
|
3759
3759
|
$ nex store search --tab updates --limit 10 --auth dev
|
|
3760
3760
|
```
|
|
3761
3761
|
|
|
3762
|
-
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3762
|
+
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/store/search.ts)_
|
|
3763
3763
|
|
|
3764
3764
|
## `nex store update`
|
|
3765
3765
|
|
|
@@ -3802,7 +3802,7 @@ EXAMPLES
|
|
|
3802
3802
|
$ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
|
|
3803
3803
|
```
|
|
3804
3804
|
|
|
3805
|
-
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3805
|
+
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/store/update.ts)_
|
|
3806
3806
|
|
|
3807
3807
|
## `nex store validate`
|
|
3808
3808
|
|
|
@@ -3832,7 +3832,7 @@ EXAMPLES
|
|
|
3832
3832
|
$ nex store validate --file ./batch-definition.json --auth dev
|
|
3833
3833
|
```
|
|
3834
3834
|
|
|
3835
|
-
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3835
|
+
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/store/validate.ts)_
|
|
3836
3836
|
|
|
3837
3837
|
## `nex task approve`
|
|
3838
3838
|
|
|
@@ -3875,7 +3875,7 @@ EXAMPLES
|
|
|
3875
3875
|
$ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
|
|
3876
3876
|
```
|
|
3877
3877
|
|
|
3878
|
-
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3878
|
+
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/task/approve.ts)_
|
|
3879
3879
|
|
|
3880
3880
|
## `nex task assign`
|
|
3881
3881
|
|
|
@@ -3927,7 +3927,7 @@ EXAMPLES
|
|
|
3927
3927
|
$ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
|
|
3928
3928
|
```
|
|
3929
3929
|
|
|
3930
|
-
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3930
|
+
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/task/assign.ts)_
|
|
3931
3931
|
|
|
3932
3932
|
## `nex task close`
|
|
3933
3933
|
|
|
@@ -3972,7 +3972,7 @@ EXAMPLES
|
|
|
3972
3972
|
$ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
|
|
3973
3973
|
```
|
|
3974
3974
|
|
|
3975
|
-
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
3975
|
+
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/task/close.ts)_
|
|
3976
3976
|
|
|
3977
3977
|
## `nex task comment`
|
|
3978
3978
|
|
|
@@ -4023,7 +4023,7 @@ EXAMPLES
|
|
|
4023
4023
|
$ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
|
|
4024
4024
|
```
|
|
4025
4025
|
|
|
4026
|
-
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4026
|
+
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/task/comment.ts)_
|
|
4027
4027
|
|
|
4028
4028
|
## `nex task find`
|
|
4029
4029
|
|
|
@@ -4071,7 +4071,7 @@ EXAMPLES
|
|
|
4071
4071
|
$ nex task find -n INC0010001 --json --auth dev
|
|
4072
4072
|
```
|
|
4073
4073
|
|
|
4074
|
-
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4074
|
+
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/task/find.ts)_
|
|
4075
4075
|
|
|
4076
4076
|
## `nex task resolve`
|
|
4077
4077
|
|
|
@@ -4116,7 +4116,7 @@ EXAMPLES
|
|
|
4116
4116
|
$ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
|
|
4117
4117
|
```
|
|
4118
4118
|
|
|
4119
|
-
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4119
|
+
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/task/resolve.ts)_
|
|
4120
4120
|
|
|
4121
4121
|
## `nex update-set`
|
|
4122
4122
|
|
|
@@ -4156,7 +4156,7 @@ EXAMPLES
|
|
|
4156
4156
|
$ nex update-set --json --auth dev-instance
|
|
4157
4157
|
```
|
|
4158
4158
|
|
|
4159
|
-
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4159
|
+
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/update-set/index.ts)_
|
|
4160
4160
|
|
|
4161
4161
|
## `nex update-set clone`
|
|
4162
4162
|
|
|
@@ -4192,7 +4192,7 @@ EXAMPLES
|
|
|
4192
4192
|
$ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
|
|
4193
4193
|
```
|
|
4194
4194
|
|
|
4195
|
-
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4195
|
+
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/update-set/clone.ts)_
|
|
4196
4196
|
|
|
4197
4197
|
## `nex update-set create`
|
|
4198
4198
|
|
|
@@ -4233,7 +4233,7 @@ EXAMPLES
|
|
|
4233
4233
|
$ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
|
|
4234
4234
|
```
|
|
4235
4235
|
|
|
4236
|
-
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4236
|
+
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/update-set/create.ts)_
|
|
4237
4237
|
|
|
4238
4238
|
## `nex update-set current`
|
|
4239
4239
|
|
|
@@ -4271,7 +4271,7 @@ EXAMPLES
|
|
|
4271
4271
|
$ nex update-set current --json --auth dev-instance
|
|
4272
4272
|
```
|
|
4273
4273
|
|
|
4274
|
-
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4274
|
+
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/update-set/current.ts)_
|
|
4275
4275
|
|
|
4276
4276
|
## `nex update-set inspect`
|
|
4277
4277
|
|
|
@@ -4305,7 +4305,7 @@ EXAMPLES
|
|
|
4305
4305
|
$ nex update-set inspect --sys-id us-001 --json --auth dev-instance
|
|
4306
4306
|
```
|
|
4307
4307
|
|
|
4308
|
-
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4308
|
+
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/update-set/inspect.ts)_
|
|
4309
4309
|
|
|
4310
4310
|
## `nex update-set move`
|
|
4311
4311
|
|
|
@@ -4346,7 +4346,7 @@ EXAMPLES
|
|
|
4346
4346
|
$ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
|
|
4347
4347
|
```
|
|
4348
4348
|
|
|
4349
|
-
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4349
|
+
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/update-set/move.ts)_
|
|
4350
4350
|
|
|
4351
4351
|
## `nex workflow create`
|
|
4352
4352
|
|
|
@@ -4380,7 +4380,7 @@ EXAMPLES
|
|
|
4380
4380
|
$ nex workflow create -s ./workflow.json --json --auth dev
|
|
4381
4381
|
```
|
|
4382
4382
|
|
|
4383
|
-
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4383
|
+
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/workflow/create.ts)_
|
|
4384
4384
|
|
|
4385
4385
|
## `nex workflow publish`
|
|
4386
4386
|
|
|
@@ -4416,7 +4416,7 @@ EXAMPLES
|
|
|
4416
4416
|
$ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
|
|
4417
4417
|
```
|
|
4418
4418
|
|
|
4419
|
-
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4419
|
+
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/workflow/publish.ts)_
|
|
4420
4420
|
|
|
4421
4421
|
## `nex xml export`
|
|
4422
4422
|
|
|
@@ -4466,7 +4466,7 @@ EXAMPLES
|
|
|
4466
4466
|
$ nex xml export --table sys_script --sys-id abc123 --json --auth dev
|
|
4467
4467
|
```
|
|
4468
4468
|
|
|
4469
|
-
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4469
|
+
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/xml/export.ts)_
|
|
4470
4470
|
|
|
4471
4471
|
## `nex xml import`
|
|
4472
4472
|
|
|
@@ -4510,7 +4510,7 @@ EXAMPLES
|
|
|
4510
4510
|
$ nex xml import --file ./records.xml --table incident --json --auth dev
|
|
4511
4511
|
```
|
|
4512
4512
|
|
|
4513
|
-
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.
|
|
4513
|
+
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.1/src/commands/xml/import.ts)_
|
|
4514
4514
|
<!-- commandsstop -->
|
|
4515
4515
|
|
|
4516
4516
|
---
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* eslint-disable n/no-process-exit, unicorn/no-process-exit -- this runs before
|
|
2
|
+
oclif exists, so there is no error handler to throw into; an uncaught rejection
|
|
3
|
+
here would print a stack trace instead of the remediation. */
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Side-effecting half of the argv secret check.
|
|
7
|
+
*
|
|
8
|
+
* Split from bin/argv-secrets.js so the detection logic can be imported and
|
|
9
|
+
* tested without the import itself terminating the test process.
|
|
10
|
+
*
|
|
11
|
+
* Imported for its side effect by bin/run.js and bin/dev.js, before
|
|
12
|
+
* credstore-boot.js — a secret in argv should be refused before anything reads,
|
|
13
|
+
* stores, or logs a credential.
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
import {findSecretArgument, secretArgumentMessage} from './argv-secrets.js'
|
|
17
|
+
|
|
18
|
+
// slice(2): skip the node binary and the script path, so a secret-shaped
|
|
19
|
+
// filename in the invocation cannot trip the check.
|
|
20
|
+
const found = findSecretArgument(process.argv.slice(2))
|
|
21
|
+
|
|
22
|
+
if (found) {
|
|
23
|
+
process.stderr.write(secretArgumentMessage(found))
|
|
24
|
+
process.exit(2)
|
|
25
|
+
}
|