@sonisoft/now-sdk-ext-cli 5.4.0 → 5.5.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/README.md +182 -76
- package/dist/commands/behavior/details.d.ts +16 -0
- package/dist/commands/behavior/details.d.ts.map +1 -0
- package/dist/commands/behavior/details.js +31 -0
- package/dist/commands/behavior/details.js.map +1 -0
- package/dist/commands/behavior/index.d.ts +23 -0
- package/dist/commands/behavior/index.d.ts.map +1 -0
- package/dist/commands/behavior/index.js +41 -0
- package/dist/commands/behavior/index.js.map +1 -0
- package/dist/commands/flow/definition.d.ts +1 -1
- package/dist/common/authenticated-command.d.ts.map +1 -1
- package/dist/common/authenticated-command.js +21 -1
- package/dist/common/authenticated-command.js.map +1 -1
- package/dist/common/behavior-flags.d.ts +17 -0
- package/dist/common/behavior-flags.d.ts.map +1 -0
- package/dist/common/behavior-flags.js +14 -0
- package/dist/common/behavior-flags.js.map +1 -0
- package/dist/services/behavior-display.service.d.ts +6 -0
- package/dist/services/behavior-display.service.d.ts.map +1 -0
- package/dist/services/behavior-display.service.js +50 -0
- package/dist/services/behavior-display.service.js.map +1 -0
- package/dist/services/flow-display.service.d.ts +9 -9
- package/dist/services/flow-display.service.d.ts.map +1 -1
- package/dist/services/flow-display.service.js +117 -117
- package/dist/services/flow-display.service.js.map +1 -1
- package/oclif.manifest.json +1670 -1314
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -68,6 +68,7 @@ Execute individual ATF tests or entire test suites with detailed results, perfec
|
|
|
68
68
|
- **Batch Operations**: Install multiple applications from JSON definitions or batch create/update records
|
|
69
69
|
- **Progress Monitoring**: Real-time progress for long-running operations
|
|
70
70
|
- **Schema Discovery**: Inspect table schemas and field definitions
|
|
71
|
+
- **[Table Behavior](docs/table-behavior.md)**: Inspect automation, field requirements, and related artifact details
|
|
71
72
|
- **Script Sync**: Pull and push scripts between local files and ServiceNow
|
|
72
73
|
- **Task Management**: Comment, assign, resolve, and close incidents and changes
|
|
73
74
|
- **Update Sets**: Create, inspect, clone, and manage update sets
|
|
@@ -729,7 +730,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
|
|
|
729
730
|
$ nex COMMAND
|
|
730
731
|
running command...
|
|
731
732
|
$ nex (--version)
|
|
732
|
-
@sonisoft/now-sdk-ext-cli/5.
|
|
733
|
+
@sonisoft/now-sdk-ext-cli/5.5.0 linux-x64 node-v26.5.0
|
|
733
734
|
$ nex --help [COMMAND]
|
|
734
735
|
USAGE
|
|
735
736
|
$ nex COMMAND
|
|
@@ -783,6 +784,8 @@ rather than silently denying nothing.
|
|
|
783
784
|
* [`nex autocomplete [SHELL]`](#nex-autocomplete-shell)
|
|
784
785
|
* [`nex batch create`](#nex-batch-create)
|
|
785
786
|
* [`nex batch update`](#nex-batch-update)
|
|
787
|
+
* [`nex behavior`](#nex-behavior)
|
|
788
|
+
* [`nex behavior details`](#nex-behavior-details)
|
|
786
789
|
* [`nex bulk delete`](#nex-bulk-delete)
|
|
787
790
|
* [`nex bulk update`](#nex-bulk-update)
|
|
788
791
|
* [`nex exec SCOPE [FILE]`](#nex-exec-scope-file)
|
|
@@ -905,7 +908,7 @@ EXAMPLES
|
|
|
905
908
|
$ nex aggregate count --table incident --query "active=true" --json --auth dev
|
|
906
909
|
```
|
|
907
910
|
|
|
908
|
-
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
911
|
+
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/aggregate/count.ts)_
|
|
909
912
|
|
|
910
913
|
## `nex aggregate group`
|
|
911
914
|
|
|
@@ -973,7 +976,7 @@ EXAMPLES
|
|
|
973
976
|
$ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
|
|
974
977
|
```
|
|
975
978
|
|
|
976
|
-
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
979
|
+
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/aggregate/group.ts)_
|
|
977
980
|
|
|
978
981
|
## `nex aggregate query`
|
|
979
982
|
|
|
@@ -1036,7 +1039,7 @@ EXAMPLES
|
|
|
1036
1039
|
$ nex aggregate query --table incident --sum reassignment_count --json --auth dev
|
|
1037
1040
|
```
|
|
1038
1041
|
|
|
1039
|
-
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1042
|
+
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/aggregate/query.ts)_
|
|
1040
1043
|
|
|
1041
1044
|
## `nex app`
|
|
1042
1045
|
|
|
@@ -1099,7 +1102,7 @@ EXAMPLES
|
|
|
1099
1102
|
$ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
1100
1103
|
```
|
|
1101
1104
|
|
|
1102
|
-
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1105
|
+
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/app/index.ts)_
|
|
1103
1106
|
|
|
1104
1107
|
## `nex app install`
|
|
1105
1108
|
|
|
@@ -1167,7 +1170,7 @@ EXAMPLES
|
|
|
1167
1170
|
$ nex app install -b -d ./apps.json -a dev-instance --log-level debug
|
|
1168
1171
|
```
|
|
1169
1172
|
|
|
1170
|
-
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1173
|
+
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/app/install.ts)_
|
|
1171
1174
|
|
|
1172
1175
|
## `nex app repo-install`
|
|
1173
1176
|
|
|
@@ -1252,7 +1255,7 @@ EXAMPLES
|
|
|
1252
1255
|
$ nex app repo-install -s x_my_app -a dev-instance --log-level debug
|
|
1253
1256
|
```
|
|
1254
1257
|
|
|
1255
|
-
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1258
|
+
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/app/repo-install.ts)_
|
|
1256
1259
|
|
|
1257
1260
|
## `nex app repo-list`
|
|
1258
1261
|
|
|
@@ -1327,7 +1330,7 @@ EXAMPLES
|
|
|
1327
1330
|
$ nex app repo-list -a dev-instance
|
|
1328
1331
|
```
|
|
1329
1332
|
|
|
1330
|
-
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1333
|
+
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/app/repo-list.ts)_
|
|
1331
1334
|
|
|
1332
1335
|
## `nex app uninstall`
|
|
1333
1336
|
|
|
@@ -1389,7 +1392,7 @@ EXAMPLES
|
|
|
1389
1392
|
$ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
1390
1393
|
```
|
|
1391
1394
|
|
|
1392
|
-
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1395
|
+
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/app/uninstall.ts)_
|
|
1393
1396
|
|
|
1394
1397
|
## `nex atf`
|
|
1395
1398
|
|
|
@@ -1472,7 +1475,7 @@ EXAMPLES
|
|
|
1472
1475
|
$ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
|
|
1473
1476
|
```
|
|
1474
1477
|
|
|
1475
|
-
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1478
|
+
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/atf/index.ts)_
|
|
1476
1479
|
|
|
1477
1480
|
## `nex attachment get`
|
|
1478
1481
|
|
|
@@ -1515,7 +1518,7 @@ EXAMPLES
|
|
|
1515
1518
|
$ nex attachment get -s att123 --json --auth dev
|
|
1516
1519
|
```
|
|
1517
1520
|
|
|
1518
|
-
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1521
|
+
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/attachment/get.ts)_
|
|
1519
1522
|
|
|
1520
1523
|
## `nex attachment list`
|
|
1521
1524
|
|
|
@@ -1560,7 +1563,7 @@ EXAMPLES
|
|
|
1560
1563
|
$ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
|
|
1561
1564
|
```
|
|
1562
1565
|
|
|
1563
|
-
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1566
|
+
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/attachment/list.ts)_
|
|
1564
1567
|
|
|
1565
1568
|
## `nex attachment upload`
|
|
1566
1569
|
|
|
@@ -1607,7 +1610,7 @@ EXAMPLES
|
|
|
1607
1610
|
$ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
|
|
1608
1611
|
```
|
|
1609
1612
|
|
|
1610
|
-
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1613
|
+
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/attachment/upload.ts)_
|
|
1611
1614
|
|
|
1612
1615
|
## `nex auth delete [ALIAS]`
|
|
1613
1616
|
|
|
@@ -1642,7 +1645,7 @@ EXAMPLES
|
|
|
1642
1645
|
$ nex auth delete --all
|
|
1643
1646
|
```
|
|
1644
1647
|
|
|
1645
|
-
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1648
|
+
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/auth/delete.ts)_
|
|
1646
1649
|
|
|
1647
1650
|
## `nex auth doctor`
|
|
1648
1651
|
|
|
@@ -1670,7 +1673,7 @@ EXAMPLES
|
|
|
1670
1673
|
$ nex auth doctor --json
|
|
1671
1674
|
```
|
|
1672
1675
|
|
|
1673
|
-
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1676
|
+
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/auth/doctor.ts)_
|
|
1674
1677
|
|
|
1675
1678
|
## `nex auth list`
|
|
1676
1679
|
|
|
@@ -1703,7 +1706,7 @@ EXAMPLES
|
|
|
1703
1706
|
$ nex auth list --json
|
|
1704
1707
|
```
|
|
1705
1708
|
|
|
1706
|
-
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1709
|
+
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/auth/list.ts)_
|
|
1707
1710
|
|
|
1708
1711
|
## `nex auth use ALIAS`
|
|
1709
1712
|
|
|
@@ -1731,7 +1734,7 @@ EXAMPLES
|
|
|
1731
1734
|
$ nex auth use dev206299
|
|
1732
1735
|
```
|
|
1733
1736
|
|
|
1734
|
-
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1737
|
+
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/auth/use.ts)_
|
|
1735
1738
|
|
|
1736
1739
|
## `nex autocomplete [SHELL]`
|
|
1737
1740
|
|
|
@@ -1806,7 +1809,7 @@ EXAMPLES
|
|
|
1806
1809
|
$ nex batch create --file ./records.json --no-transaction --auth dev
|
|
1807
1810
|
```
|
|
1808
1811
|
|
|
1809
|
-
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1812
|
+
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/batch/create.ts)_
|
|
1810
1813
|
|
|
1811
1814
|
## `nex batch update`
|
|
1812
1815
|
|
|
@@ -1850,7 +1853,110 @@ EXAMPLES
|
|
|
1850
1853
|
$ nex batch update --file ./updates.json --stop-on-error --auth dev
|
|
1851
1854
|
```
|
|
1852
1855
|
|
|
1853
|
-
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
1856
|
+
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/batch/update.ts)_
|
|
1857
|
+
|
|
1858
|
+
## `nex behavior`
|
|
1859
|
+
|
|
1860
|
+
Discover table behavior: rules, UI actions/scripts, UI/data policies, workflows, flows and state models. Active and applicable inherited behavior is included by default. Conditions describe configuration, not a prediction of execution. Select categories and details to control output size.
|
|
1861
|
+
|
|
1862
|
+
```
|
|
1863
|
+
USAGE
|
|
1864
|
+
$ nex behavior -t <value> [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write] [--log-dir
|
|
1865
|
+
<value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--dependency-depth <value>]
|
|
1866
|
+
[--details scripts|definitions|dependencies...] [--max-bytes <value>] [--scope <value>] [--category
|
|
1867
|
+
business_rules|ui_actions|client_scripts|ui_policies|data_policies|workflows|flows|state_models...] [--cursor
|
|
1868
|
+
<value>] [--include-inactive] [--include-inherited] [--limit <value>] [--name <value>] [--sys-id <value>...]
|
|
1869
|
+
|
|
1870
|
+
FLAGS
|
|
1871
|
+
-a, --auth=<value> Auth alias to use.
|
|
1872
|
+
-t, --table=<value> (required) Target table name
|
|
1873
|
+
--category=<option>... Category to inspect; repeat to select several, default all
|
|
1874
|
+
<options: business_rules|ui_actions|client_scripts|ui_policies|data_policies|workflows
|
|
1875
|
+
|flows|state_models>
|
|
1876
|
+
--cursor=<value> Continuation token; requires exactly one --category and the same filters
|
|
1877
|
+
--dependency-depth=<value> Expand one dependency level; requires --details dependencies
|
|
1878
|
+
--details=<option>... Include selected detail now; repeat for multiple kinds
|
|
1879
|
+
<options: scripts|definitions|dependencies>
|
|
1880
|
+
--include-inactive Include inactive/published and draft candidates when discoverable
|
|
1881
|
+
--[no-]include-inherited Include applicable ancestor behavior
|
|
1882
|
+
--json Emit one JSON document
|
|
1883
|
+
--limit=<value> [default: 50] Maximum items per category
|
|
1884
|
+
--max-bytes=<value> [default: 65536] Maximum JSON response bytes; omissions include retrieval references
|
|
1885
|
+
--name=<value> Metadata name contains this text
|
|
1886
|
+
--scope=<value> Transaction scope for flow definition reads
|
|
1887
|
+
--sys-id=<value>... Metadata source sys_id to include; repeat for multiple records
|
|
1888
|
+
|
|
1889
|
+
GLOBAL FLAGS
|
|
1890
|
+
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1891
|
+
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1892
|
+
--deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
|
|
1893
|
+
--deny-write Refuse any change to instance data for this invocation.
|
|
1894
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1895
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1896
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1897
|
+
stderr only.
|
|
1898
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1899
|
+
<options: debug|warn|error|info|trace>
|
|
1900
|
+
--read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
|
|
1901
|
+
unaffected.
|
|
1902
|
+
|
|
1903
|
+
DESCRIPTION
|
|
1904
|
+
Discover table behavior: rules, UI actions/scripts, UI/data policies, workflows, flows and state models. Active and
|
|
1905
|
+
applicable inherited behavior is included by default. Conditions describe configuration, not a prediction of
|
|
1906
|
+
execution. Select categories and details to control output size.
|
|
1907
|
+
|
|
1908
|
+
EXAMPLES
|
|
1909
|
+
$ nex behavior --table incident --auth dev --json
|
|
1910
|
+
|
|
1911
|
+
$ nex behavior --table change_request --category business_rules --details scripts --auth dev --json
|
|
1912
|
+
```
|
|
1913
|
+
|
|
1914
|
+
_See code: [src/commands/behavior/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/behavior/index.ts)_
|
|
1915
|
+
|
|
1916
|
+
## `nex behavior details`
|
|
1917
|
+
|
|
1918
|
+
Retrieve known behavior artifacts without rediscovery. Repeat --reference kind:source_table:sys_id for up to 50 records. Add --details scripts, --details definitions or --details dependencies to include bodies immediately. Source references are returned by behavior discovery; flows also accept flows:sys_hub_flow:<sys_id>.
|
|
1919
|
+
|
|
1920
|
+
```
|
|
1921
|
+
USAGE
|
|
1922
|
+
$ nex behavior details --reference <value>... [--json] [-a <value>] [--cred-store] [--deny-execute] [--deny-write]
|
|
1923
|
+
[--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [--read-only] [--dependency-depth
|
|
1924
|
+
<value>] [--details scripts|definitions|dependencies...] [--max-bytes <value>] [--scope <value>]
|
|
1925
|
+
|
|
1926
|
+
FLAGS
|
|
1927
|
+
-a, --auth=<value> Auth alias to use.
|
|
1928
|
+
--dependency-depth=<value> Expand one dependency level; requires --details dependencies
|
|
1929
|
+
--details=<option>... Include selected detail now; repeat for multiple kinds
|
|
1930
|
+
<options: scripts|definitions|dependencies>
|
|
1931
|
+
--json Emit one JSON document
|
|
1932
|
+
--max-bytes=<value> [default: 65536] Maximum JSON response bytes; omissions include retrieval references
|
|
1933
|
+
--reference=<value>... (required) kind:source_table:sys_id; repeat for a batch
|
|
1934
|
+
--scope=<value> Transaction scope for flow definition reads
|
|
1935
|
+
|
|
1936
|
+
GLOBAL FLAGS
|
|
1937
|
+
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1938
|
+
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1939
|
+
--deny-execute Refuse background scripts, flow runs and ATF runs for this invocation.
|
|
1940
|
+
--deny-write Refuse any change to instance data for this invocation.
|
|
1941
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1942
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1943
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1944
|
+
stderr only.
|
|
1945
|
+
--log-level=<option> [default: info] Specify level for logging.
|
|
1946
|
+
<options: debug|warn|error|info|trace>
|
|
1947
|
+
--read-only Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are
|
|
1948
|
+
unaffected.
|
|
1949
|
+
|
|
1950
|
+
DESCRIPTION
|
|
1951
|
+
Retrieve known behavior artifacts without rediscovery. Repeat --reference kind:source_table:sys_id for up to 50
|
|
1952
|
+
records. Add --details scripts, --details definitions or --details dependencies to include bodies immediately. Source
|
|
1953
|
+
references are returned by behavior discovery; flows also accept flows:sys_hub_flow:<sys_id>.
|
|
1954
|
+
|
|
1955
|
+
EXAMPLES
|
|
1956
|
+
$ nex behavior details --reference business_rules:sys_script:0123456789abcdef0123456789abcdef --details scripts --auth dev --json
|
|
1957
|
+
```
|
|
1958
|
+
|
|
1959
|
+
_See code: [src/commands/behavior/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/behavior/details.ts)_
|
|
1854
1960
|
|
|
1855
1961
|
## `nex bulk delete`
|
|
1856
1962
|
|
|
@@ -1914,7 +2020,7 @@ EXAMPLES
|
|
|
1914
2020
|
$ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
|
|
1915
2021
|
```
|
|
1916
2022
|
|
|
1917
|
-
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2023
|
+
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/bulk/delete.ts)_
|
|
1918
2024
|
|
|
1919
2025
|
## `nex bulk update`
|
|
1920
2026
|
|
|
@@ -1983,7 +2089,7 @@ EXAMPLES
|
|
|
1983
2089
|
$ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
|
|
1984
2090
|
```
|
|
1985
2091
|
|
|
1986
|
-
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2092
|
+
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/bulk/update.ts)_
|
|
1987
2093
|
|
|
1988
2094
|
## `nex exec SCOPE [FILE]`
|
|
1989
2095
|
|
|
@@ -2113,7 +2219,7 @@ EXAMPLES
|
|
|
2113
2219
|
$ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
|
|
2114
2220
|
```
|
|
2115
2221
|
|
|
2116
|
-
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2222
|
+
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/exec/index.ts)_
|
|
2117
2223
|
|
|
2118
2224
|
## `nex flow action`
|
|
2119
2225
|
|
|
@@ -2167,7 +2273,7 @@ EXAMPLES
|
|
|
2167
2273
|
'{"table":"incident","values":{"short_description":"Test"}}' --auth dev
|
|
2168
2274
|
```
|
|
2169
2275
|
|
|
2170
|
-
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2276
|
+
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/action.ts)_
|
|
2171
2277
|
|
|
2172
2278
|
## `nex flow cancel`
|
|
2173
2279
|
|
|
@@ -2214,7 +2320,7 @@ EXAMPLES
|
|
|
2214
2320
|
$ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
|
|
2215
2321
|
```
|
|
2216
2322
|
|
|
2217
|
-
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2323
|
+
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/cancel.ts)_
|
|
2218
2324
|
|
|
2219
2325
|
## `nex flow copy`
|
|
2220
2326
|
|
|
@@ -2279,7 +2385,7 @@ EXAMPLES
|
|
|
2279
2385
|
dev
|
|
2280
2386
|
```
|
|
2281
2387
|
|
|
2282
|
-
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2388
|
+
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/copy.ts)_
|
|
2283
2389
|
|
|
2284
2390
|
## `nex flow definition`
|
|
2285
2391
|
|
|
@@ -2352,7 +2458,7 @@ EXAMPLES
|
|
|
2352
2458
|
$ nex flow definition -i 887dda5583237210fdb8f7b6feaad32c --type action --json --auth dev | jq .summary.steps
|
|
2353
2459
|
```
|
|
2354
2460
|
|
|
2355
|
-
_See code: [src/commands/flow/definition.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2461
|
+
_See code: [src/commands/flow/definition.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/definition.ts)_
|
|
2356
2462
|
|
|
2357
2463
|
## `nex flow details`
|
|
2358
2464
|
|
|
@@ -2413,7 +2519,7 @@ EXAMPLES
|
|
|
2413
2519
|
$ nex flow details -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2414
2520
|
```
|
|
2415
2521
|
|
|
2416
|
-
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2522
|
+
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/details.ts)_
|
|
2417
2523
|
|
|
2418
2524
|
## `nex flow error`
|
|
2419
2525
|
|
|
@@ -2455,7 +2561,7 @@ EXAMPLES
|
|
|
2455
2561
|
$ nex flow error --context-id abc123def456 --auth dev
|
|
2456
2562
|
```
|
|
2457
2563
|
|
|
2458
|
-
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2564
|
+
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/error.ts)_
|
|
2459
2565
|
|
|
2460
2566
|
## `nex flow logs`
|
|
2461
2567
|
|
|
@@ -2513,7 +2619,7 @@ EXAMPLES
|
|
|
2513
2619
|
$ nex flow logs -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2514
2620
|
```
|
|
2515
2621
|
|
|
2516
|
-
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2622
|
+
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/logs.ts)_
|
|
2517
2623
|
|
|
2518
2624
|
## `nex flow message`
|
|
2519
2625
|
|
|
@@ -2563,7 +2669,7 @@ EXAMPLES
|
|
|
2563
2669
|
$ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
|
|
2564
2670
|
```
|
|
2565
2671
|
|
|
2566
|
-
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2672
|
+
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/message.ts)_
|
|
2567
2673
|
|
|
2568
2674
|
## `nex flow outputs`
|
|
2569
2675
|
|
|
@@ -2609,7 +2715,7 @@ EXAMPLES
|
|
|
2609
2715
|
$ nex flow outputs --context-id abc123def456 --json --auth dev
|
|
2610
2716
|
```
|
|
2611
2717
|
|
|
2612
|
-
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2718
|
+
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/outputs.ts)_
|
|
2613
2719
|
|
|
2614
2720
|
## `nex flow run`
|
|
2615
2721
|
|
|
@@ -2675,7 +2781,7 @@ EXAMPLES
|
|
|
2675
2781
|
$ nex flow run --name global.my_flow --mode background --auth dev
|
|
2676
2782
|
```
|
|
2677
2783
|
|
|
2678
|
-
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2784
|
+
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/run.ts)_
|
|
2679
2785
|
|
|
2680
2786
|
## `nex flow status`
|
|
2681
2787
|
|
|
@@ -2719,7 +2825,7 @@ EXAMPLES
|
|
|
2719
2825
|
$ nex flow status --context-id abc123def456 --auth dev
|
|
2720
2826
|
```
|
|
2721
2827
|
|
|
2722
|
-
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2828
|
+
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/status.ts)_
|
|
2723
2829
|
|
|
2724
2830
|
## `nex flow subflow`
|
|
2725
2831
|
|
|
@@ -2779,7 +2885,7 @@ EXAMPLES
|
|
|
2779
2885
|
$ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
|
|
2780
2886
|
```
|
|
2781
2887
|
|
|
2782
|
-
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2888
|
+
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/subflow.ts)_
|
|
2783
2889
|
|
|
2784
2890
|
## `nex flow test`
|
|
2785
2891
|
|
|
@@ -2842,7 +2948,7 @@ EXAMPLES
|
|
|
2842
2948
|
$ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
|
|
2843
2949
|
```
|
|
2844
2950
|
|
|
2845
|
-
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
2951
|
+
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/flow/test.ts)_
|
|
2846
2952
|
|
|
2847
2953
|
## `nex health check`
|
|
2848
2954
|
|
|
@@ -2912,7 +3018,7 @@ EXAMPLES
|
|
|
2912
3018
|
$ nex health check --json --auth dev
|
|
2913
3019
|
```
|
|
2914
3020
|
|
|
2915
|
-
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3021
|
+
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/health/check.ts)_
|
|
2916
3022
|
|
|
2917
3023
|
## `nex help [COMMAND]`
|
|
2918
3024
|
|
|
@@ -3048,7 +3154,7 @@ EXAMPLES
|
|
|
3048
3154
|
$ nex log --no-color --auth dev-instance
|
|
3049
3155
|
```
|
|
3050
3156
|
|
|
3051
|
-
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3157
|
+
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/log/index.ts)_
|
|
3052
3158
|
|
|
3053
3159
|
## `nex plugins`
|
|
3054
3160
|
|
|
@@ -3370,7 +3476,7 @@ EXAMPLES
|
|
|
3370
3476
|
NEX_POLICY_DENY=all nex policy status
|
|
3371
3477
|
```
|
|
3372
3478
|
|
|
3373
|
-
_See code: [src/commands/policy/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3479
|
+
_See code: [src/commands/policy/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/policy/status.ts)_
|
|
3374
3480
|
|
|
3375
3481
|
## `nex query`
|
|
3376
3482
|
|
|
@@ -3433,7 +3539,7 @@ EXAMPLES
|
|
|
3433
3539
|
$ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
|
|
3434
3540
|
```
|
|
3435
3541
|
|
|
3436
|
-
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3542
|
+
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/query/index.ts)_
|
|
3437
3543
|
|
|
3438
3544
|
## `nex query app`
|
|
3439
3545
|
|
|
@@ -3486,7 +3592,7 @@ EXAMPLES
|
|
|
3486
3592
|
$ nex query app --search "HR" --active --auth dev
|
|
3487
3593
|
```
|
|
3488
3594
|
|
|
3489
|
-
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3595
|
+
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/query/app.ts)_
|
|
3490
3596
|
|
|
3491
3597
|
## `nex query columns`
|
|
3492
3598
|
|
|
@@ -3541,7 +3647,7 @@ EXAMPLES
|
|
|
3541
3647
|
$ nex query columns --table incident --json --auth dev
|
|
3542
3648
|
```
|
|
3543
3649
|
|
|
3544
|
-
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3650
|
+
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/query/columns.ts)_
|
|
3545
3651
|
|
|
3546
3652
|
## `nex query syslog`
|
|
3547
3653
|
|
|
@@ -3598,7 +3704,7 @@ EXAMPLES
|
|
|
3598
3704
|
$ nex query syslog --query "sourceLIKEincident" --json --auth dev
|
|
3599
3705
|
```
|
|
3600
3706
|
|
|
3601
|
-
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3707
|
+
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/query/syslog.ts)_
|
|
3602
3708
|
|
|
3603
3709
|
## `nex schema`
|
|
3604
3710
|
|
|
@@ -3657,7 +3763,7 @@ EXAMPLES
|
|
|
3657
3763
|
$ nex schema --table incident --include-choices --include-relationships --auth dev
|
|
3658
3764
|
```
|
|
3659
3765
|
|
|
3660
|
-
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3766
|
+
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/schema/index.ts)_
|
|
3661
3767
|
|
|
3662
3768
|
## `nex schema field`
|
|
3663
3769
|
|
|
@@ -3704,7 +3810,7 @@ EXAMPLES
|
|
|
3704
3810
|
$ nex schema field --table incident --field priority --json --auth dev
|
|
3705
3811
|
```
|
|
3706
3812
|
|
|
3707
|
-
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3813
|
+
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/schema/field.ts)_
|
|
3708
3814
|
|
|
3709
3815
|
## `nex schema validate-catalog`
|
|
3710
3816
|
|
|
@@ -3750,7 +3856,7 @@ EXAMPLES
|
|
|
3750
3856
|
$ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
|
|
3751
3857
|
```
|
|
3752
3858
|
|
|
3753
|
-
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3859
|
+
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/schema/validate-catalog.ts)_
|
|
3754
3860
|
|
|
3755
3861
|
## `nex scope`
|
|
3756
3862
|
|
|
@@ -3797,7 +3903,7 @@ EXAMPLES
|
|
|
3797
3903
|
$ nex scope -l --json --auth dev
|
|
3798
3904
|
```
|
|
3799
3905
|
|
|
3800
|
-
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3906
|
+
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/scope/index.ts)_
|
|
3801
3907
|
|
|
3802
3908
|
## `nex scope set`
|
|
3803
3909
|
|
|
@@ -3840,7 +3946,7 @@ EXAMPLES
|
|
|
3840
3946
|
$ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
|
|
3841
3947
|
```
|
|
3842
3948
|
|
|
3843
|
-
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
3949
|
+
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/scope/set.ts)_
|
|
3844
3950
|
|
|
3845
3951
|
## `nex script-sync pull`
|
|
3846
3952
|
|
|
@@ -3900,7 +4006,7 @@ EXAMPLES
|
|
|
3900
4006
|
$ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
|
|
3901
4007
|
```
|
|
3902
4008
|
|
|
3903
|
-
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4009
|
+
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/script-sync/pull.ts)_
|
|
3904
4010
|
|
|
3905
4011
|
## `nex script-sync push`
|
|
3906
4012
|
|
|
@@ -3961,7 +4067,7 @@ EXAMPLES
|
|
|
3961
4067
|
$ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
|
|
3962
4068
|
```
|
|
3963
4069
|
|
|
3964
|
-
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4070
|
+
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/script-sync/push.ts)_
|
|
3965
4071
|
|
|
3966
4072
|
## `nex script-sync sync`
|
|
3967
4073
|
|
|
@@ -4020,7 +4126,7 @@ EXAMPLES
|
|
|
4020
4126
|
$ nex script-sync sync -d ./scripts --json --auth dev-instance
|
|
4021
4127
|
```
|
|
4022
4128
|
|
|
4023
|
-
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4129
|
+
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/script-sync/sync.ts)_
|
|
4024
4130
|
|
|
4025
4131
|
## `nex search`
|
|
4026
4132
|
|
|
@@ -4087,7 +4193,7 @@ EXAMPLES
|
|
|
4087
4193
|
$ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
|
|
4088
4194
|
```
|
|
4089
4195
|
|
|
4090
|
-
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4196
|
+
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/search/index.ts)_
|
|
4091
4197
|
|
|
4092
4198
|
## `nex search add-table`
|
|
4093
4199
|
|
|
@@ -4147,7 +4253,7 @@ EXAMPLES
|
|
|
4147
4253
|
dev-instance
|
|
4148
4254
|
```
|
|
4149
4255
|
|
|
4150
|
-
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4256
|
+
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/search/add-table.ts)_
|
|
4151
4257
|
|
|
4152
4258
|
## `nex search groups`
|
|
4153
4259
|
|
|
@@ -4196,7 +4302,7 @@ EXAMPLES
|
|
|
4196
4302
|
$ nex search groups --json --auth dev-instance
|
|
4197
4303
|
```
|
|
4198
4304
|
|
|
4199
|
-
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4305
|
+
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/search/groups.ts)_
|
|
4200
4306
|
|
|
4201
4307
|
## `nex search tables`
|
|
4202
4308
|
|
|
@@ -4247,7 +4353,7 @@ EXAMPLES
|
|
|
4247
4353
|
$ nex search tables --search-group "Business Rules" --json --auth dev-instance
|
|
4248
4354
|
```
|
|
4249
4355
|
|
|
4250
|
-
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4356
|
+
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/search/tables.ts)_
|
|
4251
4357
|
|
|
4252
4358
|
## `nex store install`
|
|
4253
4359
|
|
|
@@ -4300,7 +4406,7 @@ EXAMPLES
|
|
|
4300
4406
|
$ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
|
|
4301
4407
|
```
|
|
4302
4408
|
|
|
4303
|
-
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4409
|
+
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/store/install.ts)_
|
|
4304
4410
|
|
|
4305
4411
|
## `nex store search`
|
|
4306
4412
|
|
|
@@ -4351,7 +4457,7 @@ EXAMPLES
|
|
|
4351
4457
|
$ nex store search --tab updates --limit 10 --auth dev
|
|
4352
4458
|
```
|
|
4353
4459
|
|
|
4354
|
-
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4460
|
+
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/store/search.ts)_
|
|
4355
4461
|
|
|
4356
4462
|
## `nex store update`
|
|
4357
4463
|
|
|
@@ -4403,7 +4509,7 @@ EXAMPLES
|
|
|
4403
4509
|
$ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
|
|
4404
4510
|
```
|
|
4405
4511
|
|
|
4406
|
-
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4512
|
+
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/store/update.ts)_
|
|
4407
4513
|
|
|
4408
4514
|
## `nex store validate`
|
|
4409
4515
|
|
|
@@ -4442,7 +4548,7 @@ EXAMPLES
|
|
|
4442
4548
|
$ nex store validate --file ./batch-definition.json --auth dev
|
|
4443
4549
|
```
|
|
4444
4550
|
|
|
4445
|
-
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4551
|
+
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/store/validate.ts)_
|
|
4446
4552
|
|
|
4447
4553
|
## `nex task approve`
|
|
4448
4554
|
|
|
@@ -4493,7 +4599,7 @@ EXAMPLES
|
|
|
4493
4599
|
$ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
|
|
4494
4600
|
```
|
|
4495
4601
|
|
|
4496
|
-
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4602
|
+
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/task/approve.ts)_
|
|
4497
4603
|
|
|
4498
4604
|
## `nex task assign`
|
|
4499
4605
|
|
|
@@ -4554,7 +4660,7 @@ EXAMPLES
|
|
|
4554
4660
|
$ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
|
|
4555
4661
|
```
|
|
4556
4662
|
|
|
4557
|
-
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4663
|
+
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/task/assign.ts)_
|
|
4558
4664
|
|
|
4559
4665
|
## `nex task close`
|
|
4560
4666
|
|
|
@@ -4608,7 +4714,7 @@ EXAMPLES
|
|
|
4608
4714
|
$ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
|
|
4609
4715
|
```
|
|
4610
4716
|
|
|
4611
|
-
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4717
|
+
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/task/close.ts)_
|
|
4612
4718
|
|
|
4613
4719
|
## `nex task comment`
|
|
4614
4720
|
|
|
@@ -4668,7 +4774,7 @@ EXAMPLES
|
|
|
4668
4774
|
$ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
|
|
4669
4775
|
```
|
|
4670
4776
|
|
|
4671
|
-
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4777
|
+
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/task/comment.ts)_
|
|
4672
4778
|
|
|
4673
4779
|
## `nex task find`
|
|
4674
4780
|
|
|
@@ -4724,7 +4830,7 @@ EXAMPLES
|
|
|
4724
4830
|
$ nex task find -n INC0010001 --json --auth dev
|
|
4725
4831
|
```
|
|
4726
4832
|
|
|
4727
|
-
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4833
|
+
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/task/find.ts)_
|
|
4728
4834
|
|
|
4729
4835
|
## `nex task resolve`
|
|
4730
4836
|
|
|
@@ -4778,7 +4884,7 @@ EXAMPLES
|
|
|
4778
4884
|
$ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
|
|
4779
4885
|
```
|
|
4780
4886
|
|
|
4781
|
-
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4887
|
+
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/task/resolve.ts)_
|
|
4782
4888
|
|
|
4783
4889
|
## `nex transaction kill`
|
|
4784
4890
|
|
|
@@ -4821,7 +4927,7 @@ EXAMPLES
|
|
|
4821
4927
|
$ nex transaction kill --transaction-id 8f9a1234567890abcdef1234567890c1 --confirm --json --auth dev
|
|
4822
4928
|
```
|
|
4823
4929
|
|
|
4824
|
-
_See code: [src/commands/transaction/kill.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4930
|
+
_See code: [src/commands/transaction/kill.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/transaction/kill.ts)_
|
|
4825
4931
|
|
|
4826
4932
|
## `nex transaction list`
|
|
4827
4933
|
|
|
@@ -4868,7 +4974,7 @@ EXAMPLES
|
|
|
4868
4974
|
$ nex transaction list --timeout-ms 120000 --poll-interval-ms 2000 --auth dev
|
|
4869
4975
|
```
|
|
4870
4976
|
|
|
4871
|
-
_See code: [src/commands/transaction/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
4977
|
+
_See code: [src/commands/transaction/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/transaction/list.ts)_
|
|
4872
4978
|
|
|
4873
4979
|
## `nex update-set`
|
|
4874
4980
|
|
|
@@ -4916,7 +5022,7 @@ EXAMPLES
|
|
|
4916
5022
|
$ nex update-set --json --auth dev-instance
|
|
4917
5023
|
```
|
|
4918
5024
|
|
|
4919
|
-
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5025
|
+
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/update-set/index.ts)_
|
|
4920
5026
|
|
|
4921
5027
|
## `nex update-set clone`
|
|
4922
5028
|
|
|
@@ -4960,7 +5066,7 @@ EXAMPLES
|
|
|
4960
5066
|
$ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
|
|
4961
5067
|
```
|
|
4962
5068
|
|
|
4963
|
-
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5069
|
+
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/update-set/clone.ts)_
|
|
4964
5070
|
|
|
4965
5071
|
## `nex update-set create`
|
|
4966
5072
|
|
|
@@ -5009,7 +5115,7 @@ EXAMPLES
|
|
|
5009
5115
|
$ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
|
|
5010
5116
|
```
|
|
5011
5117
|
|
|
5012
|
-
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5118
|
+
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/update-set/create.ts)_
|
|
5013
5119
|
|
|
5014
5120
|
## `nex update-set current`
|
|
5015
5121
|
|
|
@@ -5056,7 +5162,7 @@ EXAMPLES
|
|
|
5056
5162
|
$ nex update-set current --json --auth dev-instance
|
|
5057
5163
|
```
|
|
5058
5164
|
|
|
5059
|
-
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5165
|
+
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/update-set/current.ts)_
|
|
5060
5166
|
|
|
5061
5167
|
## `nex update-set inspect`
|
|
5062
5168
|
|
|
@@ -5099,7 +5205,7 @@ EXAMPLES
|
|
|
5099
5205
|
$ nex update-set inspect --sys-id us-001 --json --auth dev-instance
|
|
5100
5206
|
```
|
|
5101
5207
|
|
|
5102
|
-
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5208
|
+
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/update-set/inspect.ts)_
|
|
5103
5209
|
|
|
5104
5210
|
## `nex update-set move`
|
|
5105
5211
|
|
|
@@ -5149,7 +5255,7 @@ EXAMPLES
|
|
|
5149
5255
|
$ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
|
|
5150
5256
|
```
|
|
5151
5257
|
|
|
5152
|
-
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5258
|
+
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/update-set/move.ts)_
|
|
5153
5259
|
|
|
5154
5260
|
## `nex workflow create`
|
|
5155
5261
|
|
|
@@ -5192,7 +5298,7 @@ EXAMPLES
|
|
|
5192
5298
|
$ nex workflow create -s ./workflow.json --json --auth dev
|
|
5193
5299
|
```
|
|
5194
5300
|
|
|
5195
|
-
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5301
|
+
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/workflow/create.ts)_
|
|
5196
5302
|
|
|
5197
5303
|
## `nex workflow publish`
|
|
5198
5304
|
|
|
@@ -5236,7 +5342,7 @@ EXAMPLES
|
|
|
5236
5342
|
$ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
|
|
5237
5343
|
```
|
|
5238
5344
|
|
|
5239
|
-
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5345
|
+
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/workflow/publish.ts)_
|
|
5240
5346
|
|
|
5241
5347
|
## `nex xml export`
|
|
5242
5348
|
|
|
@@ -5294,7 +5400,7 @@ EXAMPLES
|
|
|
5294
5400
|
$ nex xml export --table sys_script --sys-id abc123 --json --auth dev
|
|
5295
5401
|
```
|
|
5296
5402
|
|
|
5297
|
-
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5403
|
+
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/xml/export.ts)_
|
|
5298
5404
|
|
|
5299
5405
|
## `nex xml import`
|
|
5300
5406
|
|
|
@@ -5346,7 +5452,7 @@ EXAMPLES
|
|
|
5346
5452
|
$ nex xml import --file ./records.xml --table incident --json --auth dev
|
|
5347
5453
|
```
|
|
5348
5454
|
|
|
5349
|
-
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.
|
|
5455
|
+
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.5.0/src/commands/xml/import.ts)_
|
|
5350
5456
|
<!-- commandsstop -->
|
|
5351
5457
|
|
|
5352
5458
|
---
|