@sonisoft/now-sdk-ext-cli 5.6.0 → 5.7.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 +139 -80
- package/dist/commands/auth/browser-session.js +2 -2
- package/dist/commands/auth/browser-session.js.map +1 -1
- package/dist/commands/auth/open.d.ts +19 -0
- package/dist/commands/auth/open.d.ts.map +1 -0
- package/dist/commands/auth/open.js +88 -0
- package/dist/commands/auth/open.js.map +1 -0
- package/dist/commands/exec/index.d.ts +2 -0
- package/dist/commands/exec/index.d.ts.map +1 -1
- package/dist/commands/exec/index.js +24 -1
- package/dist/commands/exec/index.js.map +1 -1
- package/dist/common/scope-autocomplete.d.ts.map +1 -1
- package/dist/common/scope-autocomplete.js +5 -3
- package/dist/common/scope-autocomplete.js.map +1 -1
- package/dist/common/script-scope-error.d.ts +32 -0
- package/dist/common/script-scope-error.d.ts.map +1 -0
- package/dist/common/script-scope-error.js +46 -0
- package/dist/common/script-scope-error.js.map +1 -0
- package/dist/common/sdk-logger.d.ts +9 -0
- package/dist/common/sdk-logger.d.ts.map +1 -0
- package/dist/common/sdk-logger.js +21 -0
- package/dist/common/sdk-logger.js.map +1 -0
- package/dist/services/desktop-browser.service.d.ts +56 -0
- package/dist/services/desktop-browser.service.d.ts.map +1 -0
- package/dist/services/desktop-browser.service.js +283 -0
- package/dist/services/desktop-browser.service.js.map +1 -0
- package/oclif.manifest.json +529 -438
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -661,7 +661,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
|
|
|
661
661
|
$ nex COMMAND
|
|
662
662
|
running command...
|
|
663
663
|
$ nex (--version)
|
|
664
|
-
@sonisoft/now-sdk-ext-cli/5.
|
|
664
|
+
@sonisoft/now-sdk-ext-cli/5.7.1 linux-x64 node-v26.5.0
|
|
665
665
|
$ nex --help [COMMAND]
|
|
666
666
|
USAGE
|
|
667
667
|
$ nex COMMAND
|
|
@@ -712,6 +712,7 @@ rather than silently denying nothing.
|
|
|
712
712
|
* [`nex auth delete [ALIAS]`](#nex-auth-delete-alias)
|
|
713
713
|
* [`nex auth doctor`](#nex-auth-doctor)
|
|
714
714
|
* [`nex auth list`](#nex-auth-list)
|
|
715
|
+
* [`nex auth open`](#nex-auth-open)
|
|
715
716
|
* [`nex auth use ALIAS`](#nex-auth-use-alias)
|
|
716
717
|
* [`nex autocomplete [SHELL]`](#nex-autocomplete-shell)
|
|
717
718
|
* [`nex batch create`](#nex-batch-create)
|
|
@@ -840,7 +841,7 @@ EXAMPLES
|
|
|
840
841
|
$ nex aggregate count --table incident --query "active=true" --json --auth dev
|
|
841
842
|
```
|
|
842
843
|
|
|
843
|
-
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
844
|
+
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/aggregate/count.ts)_
|
|
844
845
|
|
|
845
846
|
## `nex aggregate group`
|
|
846
847
|
|
|
@@ -908,7 +909,7 @@ EXAMPLES
|
|
|
908
909
|
$ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
|
|
909
910
|
```
|
|
910
911
|
|
|
911
|
-
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
912
|
+
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/aggregate/group.ts)_
|
|
912
913
|
|
|
913
914
|
## `nex aggregate query`
|
|
914
915
|
|
|
@@ -971,7 +972,7 @@ EXAMPLES
|
|
|
971
972
|
$ nex aggregate query --table incident --sum reassignment_count --json --auth dev
|
|
972
973
|
```
|
|
973
974
|
|
|
974
|
-
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
975
|
+
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/aggregate/query.ts)_
|
|
975
976
|
|
|
976
977
|
## `nex app`
|
|
977
978
|
|
|
@@ -1034,7 +1035,7 @@ EXAMPLES
|
|
|
1034
1035
|
$ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
1035
1036
|
```
|
|
1036
1037
|
|
|
1037
|
-
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1038
|
+
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/app/index.ts)_
|
|
1038
1039
|
|
|
1039
1040
|
## `nex app install`
|
|
1040
1041
|
|
|
@@ -1102,7 +1103,7 @@ EXAMPLES
|
|
|
1102
1103
|
$ nex app install -b -d ./apps.json -a dev-instance --log-level debug
|
|
1103
1104
|
```
|
|
1104
1105
|
|
|
1105
|
-
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1106
|
+
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/app/install.ts)_
|
|
1106
1107
|
|
|
1107
1108
|
## `nex app repo-install`
|
|
1108
1109
|
|
|
@@ -1187,7 +1188,7 @@ EXAMPLES
|
|
|
1187
1188
|
$ nex app repo-install -s x_my_app -a dev-instance --log-level debug
|
|
1188
1189
|
```
|
|
1189
1190
|
|
|
1190
|
-
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1191
|
+
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/app/repo-install.ts)_
|
|
1191
1192
|
|
|
1192
1193
|
## `nex app repo-list`
|
|
1193
1194
|
|
|
@@ -1262,7 +1263,7 @@ EXAMPLES
|
|
|
1262
1263
|
$ nex app repo-list -a dev-instance
|
|
1263
1264
|
```
|
|
1264
1265
|
|
|
1265
|
-
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1266
|
+
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/app/repo-list.ts)_
|
|
1266
1267
|
|
|
1267
1268
|
## `nex app uninstall`
|
|
1268
1269
|
|
|
@@ -1324,7 +1325,7 @@ EXAMPLES
|
|
|
1324
1325
|
$ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
1325
1326
|
```
|
|
1326
1327
|
|
|
1327
|
-
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1328
|
+
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/app/uninstall.ts)_
|
|
1328
1329
|
|
|
1329
1330
|
## `nex atf`
|
|
1330
1331
|
|
|
@@ -1407,7 +1408,7 @@ EXAMPLES
|
|
|
1407
1408
|
$ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
|
|
1408
1409
|
```
|
|
1409
1410
|
|
|
1410
|
-
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1411
|
+
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/atf/index.ts)_
|
|
1411
1412
|
|
|
1412
1413
|
## `nex attachment get`
|
|
1413
1414
|
|
|
@@ -1450,7 +1451,7 @@ EXAMPLES
|
|
|
1450
1451
|
$ nex attachment get -s att123 --json --auth dev
|
|
1451
1452
|
```
|
|
1452
1453
|
|
|
1453
|
-
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1454
|
+
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/attachment/get.ts)_
|
|
1454
1455
|
|
|
1455
1456
|
## `nex attachment list`
|
|
1456
1457
|
|
|
@@ -1495,7 +1496,7 @@ EXAMPLES
|
|
|
1495
1496
|
$ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
|
|
1496
1497
|
```
|
|
1497
1498
|
|
|
1498
|
-
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1499
|
+
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/attachment/list.ts)_
|
|
1499
1500
|
|
|
1500
1501
|
## `nex attachment upload`
|
|
1501
1502
|
|
|
@@ -1542,7 +1543,7 @@ EXAMPLES
|
|
|
1542
1543
|
$ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
|
|
1543
1544
|
```
|
|
1544
1545
|
|
|
1545
|
-
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1546
|
+
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/attachment/upload.ts)_
|
|
1546
1547
|
|
|
1547
1548
|
## `nex auth browser-session`
|
|
1548
1549
|
|
|
@@ -1565,7 +1566,7 @@ DESCRIPTION
|
|
|
1565
1566
|
Create a verified Playwright cookie session using a stored SDK alias.
|
|
1566
1567
|
```
|
|
1567
1568
|
|
|
1568
|
-
_See code: [src/commands/auth/browser-session.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1569
|
+
_See code: [src/commands/auth/browser-session.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/auth/browser-session.ts)_
|
|
1569
1570
|
|
|
1570
1571
|
## `nex auth delete [ALIAS]`
|
|
1571
1572
|
|
|
@@ -1600,7 +1601,7 @@ EXAMPLES
|
|
|
1600
1601
|
$ nex auth delete --all
|
|
1601
1602
|
```
|
|
1602
1603
|
|
|
1603
|
-
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1604
|
+
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/auth/delete.ts)_
|
|
1604
1605
|
|
|
1605
1606
|
## `nex auth doctor`
|
|
1606
1607
|
|
|
@@ -1628,7 +1629,7 @@ EXAMPLES
|
|
|
1628
1629
|
$ nex auth doctor --json
|
|
1629
1630
|
```
|
|
1630
1631
|
|
|
1631
|
-
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1632
|
+
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/auth/doctor.ts)_
|
|
1632
1633
|
|
|
1633
1634
|
## `nex auth list`
|
|
1634
1635
|
|
|
@@ -1661,7 +1662,47 @@ EXAMPLES
|
|
|
1661
1662
|
$ nex auth list --json
|
|
1662
1663
|
```
|
|
1663
1664
|
|
|
1664
|
-
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1665
|
+
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/auth/list.ts)_
|
|
1666
|
+
|
|
1667
|
+
## `nex auth open`
|
|
1668
|
+
|
|
1669
|
+
Open a verified UI session in a dedicated desktop browser using a stored SDK alias.
|
|
1670
|
+
|
|
1671
|
+
```
|
|
1672
|
+
USAGE
|
|
1673
|
+
$ nex auth open -a <value> [--json] [--browser edge|chrome|brave] [--cdp <value>] [--cred-store] [--force]
|
|
1674
|
+
[--output <value>]
|
|
1675
|
+
|
|
1676
|
+
FLAGS
|
|
1677
|
+
-a, --auth=<value> (required) Stored SDK credential alias.
|
|
1678
|
+
--browser=<option> [default: edge] Desktop browser to launch. Ignored when --cdp is set.
|
|
1679
|
+
<options: edge|chrome|brave>
|
|
1680
|
+
--cdp=<value> Existing DevTools URL. Skips launching a browser.
|
|
1681
|
+
--cred-store Use the headless credential store.
|
|
1682
|
+
--force Replace an existing regular output file.
|
|
1683
|
+
--output=<value> Optional owner-only Playwright storage-state file.
|
|
1684
|
+
|
|
1685
|
+
GLOBAL FLAGS
|
|
1686
|
+
--json Format output as json.
|
|
1687
|
+
|
|
1688
|
+
DESCRIPTION
|
|
1689
|
+
Open a verified UI session in a dedicated desktop browser using a stored SDK alias.
|
|
1690
|
+
|
|
1691
|
+
EXAMPLES
|
|
1692
|
+
Open the alias in Edge
|
|
1693
|
+
|
|
1694
|
+
$ nex auth open -a bcbsscdev --cred-store
|
|
1695
|
+
|
|
1696
|
+
Open in Chrome
|
|
1697
|
+
|
|
1698
|
+
$ nex auth open -a dev206299 --browser chrome
|
|
1699
|
+
|
|
1700
|
+
Inject into an already-debuggable browser
|
|
1701
|
+
|
|
1702
|
+
$ nex auth open -a dev206299 --cdp http://127.0.0.1:9222
|
|
1703
|
+
```
|
|
1704
|
+
|
|
1705
|
+
_See code: [src/commands/auth/open.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/auth/open.ts)_
|
|
1665
1706
|
|
|
1666
1707
|
## `nex auth use ALIAS`
|
|
1667
1708
|
|
|
@@ -1689,7 +1730,7 @@ EXAMPLES
|
|
|
1689
1730
|
$ nex auth use dev206299
|
|
1690
1731
|
```
|
|
1691
1732
|
|
|
1692
|
-
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1733
|
+
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/auth/use.ts)_
|
|
1693
1734
|
|
|
1694
1735
|
## `nex autocomplete [SHELL]`
|
|
1695
1736
|
|
|
@@ -1764,7 +1805,7 @@ EXAMPLES
|
|
|
1764
1805
|
$ nex batch create --file ./records.json --no-transaction --auth dev
|
|
1765
1806
|
```
|
|
1766
1807
|
|
|
1767
|
-
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1808
|
+
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/batch/create.ts)_
|
|
1768
1809
|
|
|
1769
1810
|
## `nex batch update`
|
|
1770
1811
|
|
|
@@ -1808,7 +1849,7 @@ EXAMPLES
|
|
|
1808
1849
|
$ nex batch update --file ./updates.json --stop-on-error --auth dev
|
|
1809
1850
|
```
|
|
1810
1851
|
|
|
1811
|
-
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1852
|
+
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/batch/update.ts)_
|
|
1812
1853
|
|
|
1813
1854
|
## `nex behavior`
|
|
1814
1855
|
|
|
@@ -1866,7 +1907,7 @@ EXAMPLES
|
|
|
1866
1907
|
$ nex behavior --table change_request --category business_rules --details scripts --auth dev --json
|
|
1867
1908
|
```
|
|
1868
1909
|
|
|
1869
|
-
_See code: [src/commands/behavior/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1910
|
+
_See code: [src/commands/behavior/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/behavior/index.ts)_
|
|
1870
1911
|
|
|
1871
1912
|
## `nex behavior details`
|
|
1872
1913
|
|
|
@@ -1911,7 +1952,7 @@ EXAMPLES
|
|
|
1911
1952
|
$ nex behavior details --reference business_rules:sys_script:0123456789abcdef0123456789abcdef --details scripts --auth dev --json
|
|
1912
1953
|
```
|
|
1913
1954
|
|
|
1914
|
-
_See code: [src/commands/behavior/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1955
|
+
_See code: [src/commands/behavior/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/behavior/details.ts)_
|
|
1915
1956
|
|
|
1916
1957
|
## `nex bulk delete`
|
|
1917
1958
|
|
|
@@ -1975,7 +2016,7 @@ EXAMPLES
|
|
|
1975
2016
|
$ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
|
|
1976
2017
|
```
|
|
1977
2018
|
|
|
1978
|
-
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2019
|
+
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/bulk/delete.ts)_
|
|
1979
2020
|
|
|
1980
2021
|
## `nex bulk update`
|
|
1981
2022
|
|
|
@@ -2044,7 +2085,7 @@ EXAMPLES
|
|
|
2044
2085
|
$ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
|
|
2045
2086
|
```
|
|
2046
2087
|
|
|
2047
|
-
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2088
|
+
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/bulk/update.ts)_
|
|
2048
2089
|
|
|
2049
2090
|
## `nex exec SCOPE [FILE]`
|
|
2050
2091
|
|
|
@@ -2056,7 +2097,8 @@ USAGE
|
|
|
2056
2097
|
<value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [-p <value>]
|
|
2057
2098
|
|
|
2058
2099
|
ARGUMENTS
|
|
2059
|
-
SCOPE Scope to execute script in
|
|
2100
|
+
SCOPE Scope to execute script in: "global", the scope of an application developed on the instance (sys_app), or a
|
|
2101
|
+
scope sys_id. Installed store apps cannot be used.
|
|
2060
2102
|
[FILE] File to execute in scripts background. If omitted, starts REPL mode.
|
|
2061
2103
|
|
|
2062
2104
|
FLAGS
|
|
@@ -2107,6 +2149,11 @@ DESCRIPTION
|
|
|
2107
2149
|
• All occurrences of each placeholder are replaced
|
|
2108
2150
|
• Example: {token}, {username}, {environment}
|
|
2109
2151
|
|
|
2152
|
+
Scopes:
|
|
2153
|
+
Scripts - Background runs in "global" or in an application developed on the instance (sys_app).
|
|
2154
|
+
Installed store/repository apps (sys_store_app) cannot be used: run in global and call their
|
|
2155
|
+
APIs fully qualified (e.g. sn_app.Util). An unusable scope fails before the script is sent.
|
|
2156
|
+
|
|
2110
2157
|
REPL Controls:
|
|
2111
2158
|
• Press Enter to add a new line
|
|
2112
2159
|
• Type .exec or press Ctrl+D to execute the script
|
|
@@ -2174,7 +2221,7 @@ EXAMPLES
|
|
|
2174
2221
|
$ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
|
|
2175
2222
|
```
|
|
2176
2223
|
|
|
2177
|
-
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2224
|
+
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/exec/index.ts)_
|
|
2178
2225
|
|
|
2179
2226
|
## `nex flow action`
|
|
2180
2227
|
|
|
@@ -2228,7 +2275,7 @@ EXAMPLES
|
|
|
2228
2275
|
'{"table":"incident","values":{"short_description":"Test"}}' --auth dev
|
|
2229
2276
|
```
|
|
2230
2277
|
|
|
2231
|
-
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2278
|
+
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/action.ts)_
|
|
2232
2279
|
|
|
2233
2280
|
## `nex flow cancel`
|
|
2234
2281
|
|
|
@@ -2275,7 +2322,7 @@ EXAMPLES
|
|
|
2275
2322
|
$ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
|
|
2276
2323
|
```
|
|
2277
2324
|
|
|
2278
|
-
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2325
|
+
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/cancel.ts)_
|
|
2279
2326
|
|
|
2280
2327
|
## `nex flow copy`
|
|
2281
2328
|
|
|
@@ -2340,7 +2387,7 @@ EXAMPLES
|
|
|
2340
2387
|
dev
|
|
2341
2388
|
```
|
|
2342
2389
|
|
|
2343
|
-
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2390
|
+
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/copy.ts)_
|
|
2344
2391
|
|
|
2345
2392
|
## `nex flow definition`
|
|
2346
2393
|
|
|
@@ -2413,7 +2460,7 @@ EXAMPLES
|
|
|
2413
2460
|
$ nex flow definition -i 887dda5583237210fdb8f7b6feaad32c --type action --json --auth dev | jq .summary.steps
|
|
2414
2461
|
```
|
|
2415
2462
|
|
|
2416
|
-
_See code: [src/commands/flow/definition.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2463
|
+
_See code: [src/commands/flow/definition.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/definition.ts)_
|
|
2417
2464
|
|
|
2418
2465
|
## `nex flow details`
|
|
2419
2466
|
|
|
@@ -2474,7 +2521,7 @@ EXAMPLES
|
|
|
2474
2521
|
$ nex flow details -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2475
2522
|
```
|
|
2476
2523
|
|
|
2477
|
-
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2524
|
+
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/details.ts)_
|
|
2478
2525
|
|
|
2479
2526
|
## `nex flow error`
|
|
2480
2527
|
|
|
@@ -2516,7 +2563,7 @@ EXAMPLES
|
|
|
2516
2563
|
$ nex flow error --context-id abc123def456 --auth dev
|
|
2517
2564
|
```
|
|
2518
2565
|
|
|
2519
|
-
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2566
|
+
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/error.ts)_
|
|
2520
2567
|
|
|
2521
2568
|
## `nex flow logs`
|
|
2522
2569
|
|
|
@@ -2574,7 +2621,7 @@ EXAMPLES
|
|
|
2574
2621
|
$ nex flow logs -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2575
2622
|
```
|
|
2576
2623
|
|
|
2577
|
-
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2624
|
+
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/logs.ts)_
|
|
2578
2625
|
|
|
2579
2626
|
## `nex flow message`
|
|
2580
2627
|
|
|
@@ -2624,7 +2671,7 @@ EXAMPLES
|
|
|
2624
2671
|
$ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
|
|
2625
2672
|
```
|
|
2626
2673
|
|
|
2627
|
-
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2674
|
+
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/message.ts)_
|
|
2628
2675
|
|
|
2629
2676
|
## `nex flow outputs`
|
|
2630
2677
|
|
|
@@ -2670,7 +2717,7 @@ EXAMPLES
|
|
|
2670
2717
|
$ nex flow outputs --context-id abc123def456 --json --auth dev
|
|
2671
2718
|
```
|
|
2672
2719
|
|
|
2673
|
-
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2720
|
+
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/outputs.ts)_
|
|
2674
2721
|
|
|
2675
2722
|
## `nex flow run`
|
|
2676
2723
|
|
|
@@ -2736,7 +2783,7 @@ EXAMPLES
|
|
|
2736
2783
|
$ nex flow run --name global.my_flow --mode background --auth dev
|
|
2737
2784
|
```
|
|
2738
2785
|
|
|
2739
|
-
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2786
|
+
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/run.ts)_
|
|
2740
2787
|
|
|
2741
2788
|
## `nex flow status`
|
|
2742
2789
|
|
|
@@ -2780,7 +2827,7 @@ EXAMPLES
|
|
|
2780
2827
|
$ nex flow status --context-id abc123def456 --auth dev
|
|
2781
2828
|
```
|
|
2782
2829
|
|
|
2783
|
-
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2830
|
+
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/status.ts)_
|
|
2784
2831
|
|
|
2785
2832
|
## `nex flow subflow`
|
|
2786
2833
|
|
|
@@ -2840,7 +2887,7 @@ EXAMPLES
|
|
|
2840
2887
|
$ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
|
|
2841
2888
|
```
|
|
2842
2889
|
|
|
2843
|
-
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2890
|
+
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/subflow.ts)_
|
|
2844
2891
|
|
|
2845
2892
|
## `nex flow test`
|
|
2846
2893
|
|
|
@@ -2903,7 +2950,7 @@ EXAMPLES
|
|
|
2903
2950
|
$ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
|
|
2904
2951
|
```
|
|
2905
2952
|
|
|
2906
|
-
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2953
|
+
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/flow/test.ts)_
|
|
2907
2954
|
|
|
2908
2955
|
## `nex health check`
|
|
2909
2956
|
|
|
@@ -2973,7 +3020,7 @@ EXAMPLES
|
|
|
2973
3020
|
$ nex health check --json --auth dev
|
|
2974
3021
|
```
|
|
2975
3022
|
|
|
2976
|
-
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3023
|
+
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/health/check.ts)_
|
|
2977
3024
|
|
|
2978
3025
|
## `nex help [COMMAND]`
|
|
2979
3026
|
|
|
@@ -3109,7 +3156,7 @@ EXAMPLES
|
|
|
3109
3156
|
$ nex log --no-color --auth dev-instance
|
|
3110
3157
|
```
|
|
3111
3158
|
|
|
3112
|
-
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3159
|
+
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/log/index.ts)_
|
|
3113
3160
|
|
|
3114
3161
|
## `nex plugins`
|
|
3115
3162
|
|
|
@@ -3431,7 +3478,7 @@ EXAMPLES
|
|
|
3431
3478
|
NEX_POLICY_DENY=all nex policy status
|
|
3432
3479
|
```
|
|
3433
3480
|
|
|
3434
|
-
_See code: [src/commands/policy/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3481
|
+
_See code: [src/commands/policy/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/policy/status.ts)_
|
|
3435
3482
|
|
|
3436
3483
|
## `nex query`
|
|
3437
3484
|
|
|
@@ -3494,7 +3541,7 @@ EXAMPLES
|
|
|
3494
3541
|
$ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
|
|
3495
3542
|
```
|
|
3496
3543
|
|
|
3497
|
-
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3544
|
+
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/query/index.ts)_
|
|
3498
3545
|
|
|
3499
3546
|
## `nex query app`
|
|
3500
3547
|
|
|
@@ -3547,7 +3594,7 @@ EXAMPLES
|
|
|
3547
3594
|
$ nex query app --search "HR" --active --auth dev
|
|
3548
3595
|
```
|
|
3549
3596
|
|
|
3550
|
-
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3597
|
+
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/query/app.ts)_
|
|
3551
3598
|
|
|
3552
3599
|
## `nex query columns`
|
|
3553
3600
|
|
|
@@ -3602,7 +3649,7 @@ EXAMPLES
|
|
|
3602
3649
|
$ nex query columns --table incident --json --auth dev
|
|
3603
3650
|
```
|
|
3604
3651
|
|
|
3605
|
-
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3652
|
+
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/query/columns.ts)_
|
|
3606
3653
|
|
|
3607
3654
|
## `nex query syslog`
|
|
3608
3655
|
|
|
@@ -3659,7 +3706,7 @@ EXAMPLES
|
|
|
3659
3706
|
$ nex query syslog --query "sourceLIKEincident" --json --auth dev
|
|
3660
3707
|
```
|
|
3661
3708
|
|
|
3662
|
-
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3709
|
+
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/query/syslog.ts)_
|
|
3663
3710
|
|
|
3664
3711
|
## `nex schema`
|
|
3665
3712
|
|
|
@@ -3718,7 +3765,7 @@ EXAMPLES
|
|
|
3718
3765
|
$ nex schema --table incident --include-choices --include-relationships --auth dev
|
|
3719
3766
|
```
|
|
3720
3767
|
|
|
3721
|
-
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3768
|
+
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/schema/index.ts)_
|
|
3722
3769
|
|
|
3723
3770
|
## `nex schema field`
|
|
3724
3771
|
|
|
@@ -3765,7 +3812,7 @@ EXAMPLES
|
|
|
3765
3812
|
$ nex schema field --table incident --field priority --json --auth dev
|
|
3766
3813
|
```
|
|
3767
3814
|
|
|
3768
|
-
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3815
|
+
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/schema/field.ts)_
|
|
3769
3816
|
|
|
3770
3817
|
## `nex schema validate-catalog`
|
|
3771
3818
|
|
|
@@ -3811,7 +3858,7 @@ EXAMPLES
|
|
|
3811
3858
|
$ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
|
|
3812
3859
|
```
|
|
3813
3860
|
|
|
3814
|
-
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3861
|
+
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/schema/validate-catalog.ts)_
|
|
3815
3862
|
|
|
3816
3863
|
## `nex scope`
|
|
3817
3864
|
|
|
@@ -3858,7 +3905,7 @@ EXAMPLES
|
|
|
3858
3905
|
$ nex scope -l --json --auth dev
|
|
3859
3906
|
```
|
|
3860
3907
|
|
|
3861
|
-
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3908
|
+
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/scope/index.ts)_
|
|
3862
3909
|
|
|
3863
3910
|
## `nex scope set`
|
|
3864
3911
|
|
|
@@ -3901,7 +3948,7 @@ EXAMPLES
|
|
|
3901
3948
|
$ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
|
|
3902
3949
|
```
|
|
3903
3950
|
|
|
3904
|
-
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3951
|
+
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/scope/set.ts)_
|
|
3905
3952
|
|
|
3906
3953
|
## `nex script-sync pull`
|
|
3907
3954
|
|
|
@@ -3961,7 +4008,7 @@ EXAMPLES
|
|
|
3961
4008
|
$ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
|
|
3962
4009
|
```
|
|
3963
4010
|
|
|
3964
|
-
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4011
|
+
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/script-sync/pull.ts)_
|
|
3965
4012
|
|
|
3966
4013
|
## `nex script-sync push`
|
|
3967
4014
|
|
|
@@ -4022,7 +4069,7 @@ EXAMPLES
|
|
|
4022
4069
|
$ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
|
|
4023
4070
|
```
|
|
4024
4071
|
|
|
4025
|
-
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4072
|
+
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/script-sync/push.ts)_
|
|
4026
4073
|
|
|
4027
4074
|
## `nex script-sync sync`
|
|
4028
4075
|
|
|
@@ -4081,7 +4128,7 @@ EXAMPLES
|
|
|
4081
4128
|
$ nex script-sync sync -d ./scripts --json --auth dev-instance
|
|
4082
4129
|
```
|
|
4083
4130
|
|
|
4084
|
-
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4131
|
+
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/script-sync/sync.ts)_
|
|
4085
4132
|
|
|
4086
4133
|
## `nex search`
|
|
4087
4134
|
|
|
@@ -4148,7 +4195,7 @@ EXAMPLES
|
|
|
4148
4195
|
$ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
|
|
4149
4196
|
```
|
|
4150
4197
|
|
|
4151
|
-
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4198
|
+
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/search/index.ts)_
|
|
4152
4199
|
|
|
4153
4200
|
## `nex search add-table`
|
|
4154
4201
|
|
|
@@ -4208,7 +4255,7 @@ EXAMPLES
|
|
|
4208
4255
|
dev-instance
|
|
4209
4256
|
```
|
|
4210
4257
|
|
|
4211
|
-
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4258
|
+
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/search/add-table.ts)_
|
|
4212
4259
|
|
|
4213
4260
|
## `nex search groups`
|
|
4214
4261
|
|
|
@@ -4257,7 +4304,7 @@ EXAMPLES
|
|
|
4257
4304
|
$ nex search groups --json --auth dev-instance
|
|
4258
4305
|
```
|
|
4259
4306
|
|
|
4260
|
-
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4307
|
+
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/search/groups.ts)_
|
|
4261
4308
|
|
|
4262
4309
|
## `nex search tables`
|
|
4263
4310
|
|
|
@@ -4308,7 +4355,7 @@ EXAMPLES
|
|
|
4308
4355
|
$ nex search tables --search-group "Business Rules" --json --auth dev-instance
|
|
4309
4356
|
```
|
|
4310
4357
|
|
|
4311
|
-
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4358
|
+
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/search/tables.ts)_
|
|
4312
4359
|
|
|
4313
4360
|
## `nex store install`
|
|
4314
4361
|
|
|
@@ -4361,7 +4408,7 @@ EXAMPLES
|
|
|
4361
4408
|
$ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
|
|
4362
4409
|
```
|
|
4363
4410
|
|
|
4364
|
-
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4411
|
+
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/store/install.ts)_
|
|
4365
4412
|
|
|
4366
4413
|
## `nex store search`
|
|
4367
4414
|
|
|
@@ -4412,7 +4459,7 @@ EXAMPLES
|
|
|
4412
4459
|
$ nex store search --tab updates --limit 10 --auth dev
|
|
4413
4460
|
```
|
|
4414
4461
|
|
|
4415
|
-
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4462
|
+
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/store/search.ts)_
|
|
4416
4463
|
|
|
4417
4464
|
## `nex store update`
|
|
4418
4465
|
|
|
@@ -4464,7 +4511,7 @@ EXAMPLES
|
|
|
4464
4511
|
$ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
|
|
4465
4512
|
```
|
|
4466
4513
|
|
|
4467
|
-
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4514
|
+
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/store/update.ts)_
|
|
4468
4515
|
|
|
4469
4516
|
## `nex store validate`
|
|
4470
4517
|
|
|
@@ -4503,7 +4550,7 @@ EXAMPLES
|
|
|
4503
4550
|
$ nex store validate --file ./batch-definition.json --auth dev
|
|
4504
4551
|
```
|
|
4505
4552
|
|
|
4506
|
-
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4553
|
+
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/store/validate.ts)_
|
|
4507
4554
|
|
|
4508
4555
|
## `nex task approve`
|
|
4509
4556
|
|
|
@@ -4554,7 +4601,7 @@ EXAMPLES
|
|
|
4554
4601
|
$ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
|
|
4555
4602
|
```
|
|
4556
4603
|
|
|
4557
|
-
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4604
|
+
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/task/approve.ts)_
|
|
4558
4605
|
|
|
4559
4606
|
## `nex task assign`
|
|
4560
4607
|
|
|
@@ -4615,7 +4662,7 @@ EXAMPLES
|
|
|
4615
4662
|
$ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
|
|
4616
4663
|
```
|
|
4617
4664
|
|
|
4618
|
-
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4665
|
+
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/task/assign.ts)_
|
|
4619
4666
|
|
|
4620
4667
|
## `nex task close`
|
|
4621
4668
|
|
|
@@ -4669,7 +4716,7 @@ EXAMPLES
|
|
|
4669
4716
|
$ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
|
|
4670
4717
|
```
|
|
4671
4718
|
|
|
4672
|
-
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4719
|
+
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/task/close.ts)_
|
|
4673
4720
|
|
|
4674
4721
|
## `nex task comment`
|
|
4675
4722
|
|
|
@@ -4729,7 +4776,7 @@ EXAMPLES
|
|
|
4729
4776
|
$ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
|
|
4730
4777
|
```
|
|
4731
4778
|
|
|
4732
|
-
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4779
|
+
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/task/comment.ts)_
|
|
4733
4780
|
|
|
4734
4781
|
## `nex task find`
|
|
4735
4782
|
|
|
@@ -4785,7 +4832,7 @@ EXAMPLES
|
|
|
4785
4832
|
$ nex task find -n INC0010001 --json --auth dev
|
|
4786
4833
|
```
|
|
4787
4834
|
|
|
4788
|
-
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4835
|
+
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/task/find.ts)_
|
|
4789
4836
|
|
|
4790
4837
|
## `nex task resolve`
|
|
4791
4838
|
|
|
@@ -4839,7 +4886,7 @@ EXAMPLES
|
|
|
4839
4886
|
$ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
|
|
4840
4887
|
```
|
|
4841
4888
|
|
|
4842
|
-
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4889
|
+
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/task/resolve.ts)_
|
|
4843
4890
|
|
|
4844
4891
|
## `nex transaction kill`
|
|
4845
4892
|
|
|
@@ -4882,7 +4929,7 @@ EXAMPLES
|
|
|
4882
4929
|
$ nex transaction kill --transaction-id 8f9a1234567890abcdef1234567890c1 --confirm --json --auth dev
|
|
4883
4930
|
```
|
|
4884
4931
|
|
|
4885
|
-
_See code: [src/commands/transaction/kill.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4932
|
+
_See code: [src/commands/transaction/kill.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/transaction/kill.ts)_
|
|
4886
4933
|
|
|
4887
4934
|
## `nex transaction list`
|
|
4888
4935
|
|
|
@@ -4929,7 +4976,7 @@ EXAMPLES
|
|
|
4929
4976
|
$ nex transaction list --timeout-ms 120000 --poll-interval-ms 2000 --auth dev
|
|
4930
4977
|
```
|
|
4931
4978
|
|
|
4932
|
-
_See code: [src/commands/transaction/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4979
|
+
_See code: [src/commands/transaction/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/transaction/list.ts)_
|
|
4933
4980
|
|
|
4934
4981
|
## `nex update-set`
|
|
4935
4982
|
|
|
@@ -4977,7 +5024,7 @@ EXAMPLES
|
|
|
4977
5024
|
$ nex update-set --json --auth dev-instance
|
|
4978
5025
|
```
|
|
4979
5026
|
|
|
4980
|
-
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5027
|
+
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/update-set/index.ts)_
|
|
4981
5028
|
|
|
4982
5029
|
## `nex update-set clone`
|
|
4983
5030
|
|
|
@@ -5021,7 +5068,7 @@ EXAMPLES
|
|
|
5021
5068
|
$ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
|
|
5022
5069
|
```
|
|
5023
5070
|
|
|
5024
|
-
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5071
|
+
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/update-set/clone.ts)_
|
|
5025
5072
|
|
|
5026
5073
|
## `nex update-set create`
|
|
5027
5074
|
|
|
@@ -5070,7 +5117,7 @@ EXAMPLES
|
|
|
5070
5117
|
$ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
|
|
5071
5118
|
```
|
|
5072
5119
|
|
|
5073
|
-
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5120
|
+
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/update-set/create.ts)_
|
|
5074
5121
|
|
|
5075
5122
|
## `nex update-set current`
|
|
5076
5123
|
|
|
@@ -5117,7 +5164,7 @@ EXAMPLES
|
|
|
5117
5164
|
$ nex update-set current --json --auth dev-instance
|
|
5118
5165
|
```
|
|
5119
5166
|
|
|
5120
|
-
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5167
|
+
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/update-set/current.ts)_
|
|
5121
5168
|
|
|
5122
5169
|
## `nex update-set inspect`
|
|
5123
5170
|
|
|
@@ -5160,7 +5207,7 @@ EXAMPLES
|
|
|
5160
5207
|
$ nex update-set inspect --sys-id us-001 --json --auth dev-instance
|
|
5161
5208
|
```
|
|
5162
5209
|
|
|
5163
|
-
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5210
|
+
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/update-set/inspect.ts)_
|
|
5164
5211
|
|
|
5165
5212
|
## `nex update-set move`
|
|
5166
5213
|
|
|
@@ -5210,7 +5257,7 @@ EXAMPLES
|
|
|
5210
5257
|
$ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
|
|
5211
5258
|
```
|
|
5212
5259
|
|
|
5213
|
-
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5260
|
+
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/update-set/move.ts)_
|
|
5214
5261
|
|
|
5215
5262
|
## `nex workflow create`
|
|
5216
5263
|
|
|
@@ -5253,7 +5300,7 @@ EXAMPLES
|
|
|
5253
5300
|
$ nex workflow create -s ./workflow.json --json --auth dev
|
|
5254
5301
|
```
|
|
5255
5302
|
|
|
5256
|
-
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5303
|
+
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/workflow/create.ts)_
|
|
5257
5304
|
|
|
5258
5305
|
## `nex workflow publish`
|
|
5259
5306
|
|
|
@@ -5297,7 +5344,7 @@ EXAMPLES
|
|
|
5297
5344
|
$ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
|
|
5298
5345
|
```
|
|
5299
5346
|
|
|
5300
|
-
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5347
|
+
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/workflow/publish.ts)_
|
|
5301
5348
|
|
|
5302
5349
|
## `nex xml export`
|
|
5303
5350
|
|
|
@@ -5355,7 +5402,7 @@ EXAMPLES
|
|
|
5355
5402
|
$ nex xml export --table sys_script --sys-id abc123 --json --auth dev
|
|
5356
5403
|
```
|
|
5357
5404
|
|
|
5358
|
-
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5405
|
+
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/xml/export.ts)_
|
|
5359
5406
|
|
|
5360
5407
|
## `nex xml import`
|
|
5361
5408
|
|
|
@@ -5407,7 +5454,7 @@ EXAMPLES
|
|
|
5407
5454
|
$ nex xml import --file ./records.xml --table incident --json --auth dev
|
|
5408
5455
|
```
|
|
5409
5456
|
|
|
5410
|
-
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5457
|
+
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.7.1/src/commands/xml/import.ts)_
|
|
5411
5458
|
<!-- commandsstop -->
|
|
5412
5459
|
|
|
5413
5460
|
---
|
|
@@ -6279,6 +6326,18 @@ Made with ❤️ for the ServiceNow Developer Community
|
|
|
6279
6326
|
|
|
6280
6327
|
**Ready to get started?** → [Jump to Quick Start](#-quick-start)
|
|
6281
6328
|
|
|
6329
|
+
## Open a desktop UI session
|
|
6330
|
+
|
|
6331
|
+
```bash
|
|
6332
|
+
nex auth open -a bcbsscdev --cred-store
|
|
6333
|
+
```
|
|
6334
|
+
|
|
6335
|
+
Mints a verified cookie session from the stored SDK alias and opens it in a
|
|
6336
|
+
dedicated Edge window. See [docs/AUTH_OPEN.md](docs/AUTH_OPEN.md) for macOS,
|
|
6337
|
+
Windows, and WSL. This is not your daily browser profile; close the window
|
|
6338
|
+
when finished. `--browser chrome|brave` and `--cdp http://127.0.0.1:9222` are
|
|
6339
|
+
optional.
|
|
6340
|
+
|
|
6282
6341
|
## Playwright sessions from SDK aliases
|
|
6283
6342
|
|
|
6284
6343
|
```bash
|