@sonisoft/now-sdk-ext-cli 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -639,7 +639,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
639
639
  $ nex COMMAND
640
640
  running command...
641
641
  $ nex (--version)
642
- @sonisoft/now-sdk-ext-cli/2.0.1 linux-x64 node-v22.22.0
642
+ @sonisoft/now-sdk-ext-cli/2.1.0 linux-x64 node-v22.22.0
643
643
  $ nex --help [COMMAND]
644
644
  USAGE
645
645
  $ nex COMMAND
@@ -675,6 +675,7 @@ USAGE
675
675
  * [`nex flow run`](#nex-flow-run)
676
676
  * [`nex flow status`](#nex-flow-status)
677
677
  * [`nex flow subflow`](#nex-flow-subflow)
678
+ * [`nex flow test`](#nex-flow-test)
678
679
  * [`nex health check`](#nex-health-check)
679
680
  * [`nex help [COMMAND]`](#nex-help-command)
680
681
  * [`nex log`](#nex-log)
@@ -767,7 +768,7 @@ EXAMPLES
767
768
  $ nex aggregate count --table incident --query "active=true" --json --auth dev
768
769
  ```
769
770
 
770
- _See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/aggregate/count.ts)_
771
+ _See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/aggregate/count.ts)_
771
772
 
772
773
  ## `nex aggregate group`
773
774
 
@@ -824,7 +825,7 @@ EXAMPLES
824
825
  $ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
825
826
  ```
826
827
 
827
- _See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/aggregate/group.ts)_
828
+ _See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/aggregate/group.ts)_
828
829
 
829
830
  ## `nex aggregate query`
830
831
 
@@ -876,7 +877,7 @@ EXAMPLES
876
877
  $ nex aggregate query --table incident --sum reassignment_count --json --auth dev
877
878
  ```
878
879
 
879
- _See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/aggregate/query.ts)_
880
+ _See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/aggregate/query.ts)_
880
881
 
881
882
  ## `nex app`
882
883
 
@@ -928,7 +929,7 @@ EXAMPLES
928
929
  $ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
929
930
  ```
930
931
 
931
- _See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/app/index.ts)_
932
+ _See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/app/index.ts)_
932
933
 
933
934
  ## `nex app install`
934
935
 
@@ -985,7 +986,7 @@ EXAMPLES
985
986
  $ nex app install -b -d ./apps.json -a dev-instance --log-level debug
986
987
  ```
987
988
 
988
- _See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/app/install.ts)_
989
+ _See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/app/install.ts)_
989
990
 
990
991
  ## `nex app repo-install`
991
992
 
@@ -1059,7 +1060,7 @@ EXAMPLES
1059
1060
  $ nex app repo-install -s x_my_app -a dev-instance --log-level debug
1060
1061
  ```
1061
1062
 
1062
- _See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/app/repo-install.ts)_
1063
+ _See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/app/repo-install.ts)_
1063
1064
 
1064
1065
  ## `nex app repo-list`
1065
1066
 
@@ -1123,7 +1124,7 @@ EXAMPLES
1123
1124
  $ nex app repo-list -a dev-instance
1124
1125
  ```
1125
1126
 
1126
- _See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/app/repo-list.ts)_
1127
+ _See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/app/repo-list.ts)_
1127
1128
 
1128
1129
  ## `nex app uninstall`
1129
1130
 
@@ -1174,7 +1175,7 @@ EXAMPLES
1174
1175
  $ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
1175
1176
  ```
1176
1177
 
1177
- _See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/app/uninstall.ts)_
1178
+ _See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/app/uninstall.ts)_
1178
1179
 
1179
1180
  ## `nex atf`
1180
1181
 
@@ -1246,7 +1247,7 @@ EXAMPLES
1246
1247
  $ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
1247
1248
  ```
1248
1249
 
1249
- _See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/atf/index.ts)_
1250
+ _See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/atf/index.ts)_
1250
1251
 
1251
1252
  ## `nex attachment get`
1252
1253
 
@@ -1278,7 +1279,7 @@ EXAMPLES
1278
1279
  $ nex attachment get -s att123 --json --auth dev
1279
1280
  ```
1280
1281
 
1281
- _See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/attachment/get.ts)_
1282
+ _See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/attachment/get.ts)_
1282
1283
 
1283
1284
  ## `nex attachment list`
1284
1285
 
@@ -1313,7 +1314,7 @@ EXAMPLES
1313
1314
  $ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
1314
1315
  ```
1315
1316
 
1316
- _See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/attachment/list.ts)_
1317
+ _See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/attachment/list.ts)_
1317
1318
 
1318
1319
  ## `nex attachment upload`
1319
1320
 
@@ -1349,7 +1350,7 @@ EXAMPLES
1349
1350
  $ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
1350
1351
  ```
1351
1352
 
1352
- _See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/attachment/upload.ts)_
1353
+ _See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/attachment/upload.ts)_
1353
1354
 
1354
1355
  ## `nex autocomplete [SHELL]`
1355
1356
 
@@ -1413,7 +1414,7 @@ EXAMPLES
1413
1414
  $ nex batch create --file ./records.json --no-transaction --auth dev
1414
1415
  ```
1415
1416
 
1416
- _See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/batch/create.ts)_
1417
+ _See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/batch/create.ts)_
1417
1418
 
1418
1419
  ## `nex batch update`
1419
1420
 
@@ -1446,7 +1447,7 @@ EXAMPLES
1446
1447
  $ nex batch update --file ./updates.json --stop-on-error --auth dev
1447
1448
  ```
1448
1449
 
1449
- _See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/batch/update.ts)_
1450
+ _See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/batch/update.ts)_
1450
1451
 
1451
1452
  ## `nex bulk delete`
1452
1453
 
@@ -1500,7 +1501,7 @@ EXAMPLES
1500
1501
  $ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
1501
1502
  ```
1502
1503
 
1503
- _See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/bulk/delete.ts)_
1504
+ _See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/bulk/delete.ts)_
1504
1505
 
1505
1506
  ## `nex bulk update`
1506
1507
 
@@ -1558,7 +1559,7 @@ EXAMPLES
1558
1559
  $ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
1559
1560
  ```
1560
1561
 
1561
- _See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/bulk/update.ts)_
1562
+ _See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/bulk/update.ts)_
1562
1563
 
1563
1564
  ## `nex exec SCOPE [FILE]`
1564
1565
 
@@ -1677,7 +1678,7 @@ EXAMPLES
1677
1678
  $ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
1678
1679
  ```
1679
1680
 
1680
- _See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/exec/index.ts)_
1681
+ _See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/exec/index.ts)_
1681
1682
 
1682
1683
  ## `nex flow action`
1683
1684
 
@@ -1720,7 +1721,7 @@ EXAMPLES
1720
1721
  '{"table":"incident","values":{"short_description":"Test"}}' --auth dev
1721
1722
  ```
1722
1723
 
1723
- _See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/flow/action.ts)_
1724
+ _See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/flow/action.ts)_
1724
1725
 
1725
1726
  ## `nex flow cancel`
1726
1727
 
@@ -1757,7 +1758,7 @@ EXAMPLES
1757
1758
  $ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
1758
1759
  ```
1759
1760
 
1760
- _See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/flow/cancel.ts)_
1761
+ _See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/flow/cancel.ts)_
1761
1762
 
1762
1763
  ## `nex flow error`
1763
1764
 
@@ -1788,7 +1789,7 @@ EXAMPLES
1788
1789
  $ nex flow error --context-id abc123def456 --auth dev
1789
1790
  ```
1790
1791
 
1791
- _See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/flow/error.ts)_
1792
+ _See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/flow/error.ts)_
1792
1793
 
1793
1794
  ## `nex flow message`
1794
1795
 
@@ -1827,7 +1828,7 @@ EXAMPLES
1827
1828
  $ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
1828
1829
  ```
1829
1830
 
1830
- _See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/flow/message.ts)_
1831
+ _See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/flow/message.ts)_
1831
1832
 
1832
1833
  ## `nex flow outputs`
1833
1834
 
@@ -1862,11 +1863,11 @@ EXAMPLES
1862
1863
  $ nex flow outputs --context-id abc123def456 --json --auth dev
1863
1864
  ```
1864
1865
 
1865
- _See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/flow/outputs.ts)_
1866
+ _See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/flow/outputs.ts)_
1866
1867
 
1867
1868
  ## `nex flow run`
1868
1869
 
1869
- Execute a Flow Designer flow by scoped name.
1870
+ Execute a published Flow Designer flow by scoped name.
1870
1871
 
1871
1872
  ```
1872
1873
  USAGE
@@ -1888,11 +1889,14 @@ GLOBAL FLAGS
1888
1889
  <options: debug|warn|error|info|trace>
1889
1890
 
1890
1891
  DESCRIPTION
1891
- Execute a Flow Designer flow by scoped name.
1892
+ Execute a published Flow Designer flow by scoped name.
1892
1893
 
1893
1894
  Runs a flow using the sn_fd.FlowAPI ScriptableFlowRunner. Supports foreground (synchronous) and background
1894
1895
  (asynchronous) execution modes.
1895
1896
 
1897
+ Note: This command requires the flow to be published. For testing flows that are not yet published (draft/saved
1898
+ state), use `flow test` instead.
1899
+
1896
1900
  Features:
1897
1901
  • Execute flows by scoped name (e.g. global.my_flow)
1898
1902
  • Pass input values as JSON
@@ -1914,7 +1918,7 @@ EXAMPLES
1914
1918
  $ nex flow run --name global.my_flow --mode background --auth dev
1915
1919
  ```
1916
1920
 
1917
- _See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/flow/run.ts)_
1921
+ _See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/flow/run.ts)_
1918
1922
 
1919
1923
  ## `nex flow status`
1920
1924
 
@@ -1947,11 +1951,11 @@ EXAMPLES
1947
1951
  $ nex flow status --context-id abc123def456 --auth dev
1948
1952
  ```
1949
1953
 
1950
- _See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/flow/status.ts)_
1954
+ _See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/flow/status.ts)_
1951
1955
 
1952
1956
  ## `nex flow subflow`
1953
1957
 
1954
- Execute a Flow Designer subflow by scoped name.
1958
+ Execute a published Flow Designer subflow by scoped name.
1955
1959
 
1956
1960
  ```
1957
1961
  USAGE
@@ -1973,10 +1977,13 @@ GLOBAL FLAGS
1973
1977
  <options: debug|warn|error|info|trace>
1974
1978
 
1975
1979
  DESCRIPTION
1976
- Execute a Flow Designer subflow by scoped name.
1980
+ Execute a published Flow Designer subflow by scoped name.
1977
1981
 
1978
1982
  Runs a subflow using the sn_fd.FlowAPI ScriptableFlowRunner.
1979
1983
 
1984
+ Note: This command requires the subflow to be published. For testing flows that are not yet published (draft/saved
1985
+ state), use `flow test` instead.
1986
+
1980
1987
  Features:
1981
1988
  • Execute subflows by scoped name
1982
1989
  • Pass input values as JSON
@@ -1993,7 +2000,59 @@ EXAMPLES
1993
2000
  $ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
1994
2001
  ```
1995
2002
 
1996
- _See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/flow/subflow.ts)_
2003
+ _See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/flow/subflow.ts)_
2004
+
2005
+ ## `nex flow test`
2006
+
2007
+ Test a Flow Designer flow without requiring it to be published.
2008
+
2009
+ ```
2010
+ USAGE
2011
+ $ nex flow test -f <value> -o <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--scope
2012
+ <value>] [--synchronous]
2013
+
2014
+ FLAGS
2015
+ -a, --auth=<value> Auth alias to use.
2016
+ -f, --flow-id=<value> (required) Flow sys_id or scoped name (e.g. x_myapp.my_flow)
2017
+ -j, --json Output results as JSON
2018
+ -o, --output-map=<value> (required) JSON mapping of trigger output variable names to test values (e.g.
2019
+ '{"current":"<sys_id>","table_name":"change_request"}')
2020
+ --scope=<value> Scope sys_id for transaction scope (auto-resolved from flow definition if omitted)
2021
+ --[no-]synchronous Run test synchronously (default: true)
2022
+
2023
+ GLOBAL FLAGS
2024
+ --log-level=<option> [default: info] Specify level for logging.
2025
+ <options: debug|warn|error|info|trace>
2026
+
2027
+ DESCRIPTION
2028
+ Test a Flow Designer flow without requiring it to be published.
2029
+
2030
+ Invokes the same API as the "Test" button in Flow Designer, running the flow in its current saved (draft) state.
2031
+ Unlike `flow run` which requires a published flow and uses sn_fd.FlowAPI, `flow test` works on unpublished drafts via
2032
+ the ProcessFlow REST API.
2033
+
2034
+ Features:
2035
+ • Test flows by sys_id or scoped name
2036
+ • Pass trigger output values as JSON via --output-map
2037
+ • Auto-resolves scope from flow definition if not provided
2038
+ • Synchronous or asynchronous execution
2039
+
2040
+ EXAMPLES
2041
+ Test a flow by sys_id
2042
+
2043
+ $ nex flow test --flow-id 887dda5583237210fdb8f7b6feaad32c --output-map \
2044
+ '{"current":"0ecd7552db252200a6a2b31be0b8f5e6","table_name":"change_request"}' --auth dev
2045
+
2046
+ Test a flow by scoped name with explicit scope
2047
+
2048
+ $ nex flow test -f x_myapp.my_flow -o '{"current":"abc123","table_name":"incident"}' --scope x_myapp --auth dev
2049
+
2050
+ Test with JSON output
2051
+
2052
+ $ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
2053
+ ```
2054
+
2055
+ _See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/flow/test.ts)_
1997
2056
 
1998
2057
  ## `nex health check`
1999
2058
 
@@ -2053,7 +2112,7 @@ EXAMPLES
2053
2112
  $ nex health check --json --auth dev
2054
2113
  ```
2055
2114
 
2056
- _See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/health/check.ts)_
2115
+ _See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/health/check.ts)_
2057
2116
 
2058
2117
  ## `nex help [COMMAND]`
2059
2118
 
@@ -2178,7 +2237,7 @@ EXAMPLES
2178
2237
  $ nex log --no-color --auth dev-instance
2179
2238
  ```
2180
2239
 
2181
- _See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/log/index.ts)_
2240
+ _See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/log/index.ts)_
2182
2241
 
2183
2242
  ## `nex plugins`
2184
2243
 
@@ -2520,7 +2579,7 @@ EXAMPLES
2520
2579
  $ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
2521
2580
  ```
2522
2581
 
2523
- _See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/query/index.ts)_
2582
+ _See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/query/index.ts)_
2524
2583
 
2525
2584
  ## `nex query app`
2526
2585
 
@@ -2562,7 +2621,7 @@ EXAMPLES
2562
2621
  $ nex query app --search "HR" --active --auth dev
2563
2622
  ```
2564
2623
 
2565
- _See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/query/app.ts)_
2624
+ _See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/query/app.ts)_
2566
2625
 
2567
2626
  ## `nex query columns`
2568
2627
 
@@ -2606,7 +2665,7 @@ EXAMPLES
2606
2665
  $ nex query columns --table incident --json --auth dev
2607
2666
  ```
2608
2667
 
2609
- _See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/query/columns.ts)_
2668
+ _See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/query/columns.ts)_
2610
2669
 
2611
2670
  ## `nex query syslog`
2612
2671
 
@@ -2652,7 +2711,7 @@ EXAMPLES
2652
2711
  $ nex query syslog --query "sourceLIKEincident" --json --auth dev
2653
2712
  ```
2654
2713
 
2655
- _See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/query/syslog.ts)_
2714
+ _See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/query/syslog.ts)_
2656
2715
 
2657
2716
  ## `nex schema`
2658
2717
 
@@ -2700,7 +2759,7 @@ EXAMPLES
2700
2759
  $ nex schema --table incident --include-choices --include-relationships --auth dev
2701
2760
  ```
2702
2761
 
2703
- _See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/schema/index.ts)_
2762
+ _See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/schema/index.ts)_
2704
2763
 
2705
2764
  ## `nex schema field`
2706
2765
 
@@ -2736,7 +2795,7 @@ EXAMPLES
2736
2795
  $ nex schema field --table incident --field priority --json --auth dev
2737
2796
  ```
2738
2797
 
2739
- _See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/schema/field.ts)_
2798
+ _See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/schema/field.ts)_
2740
2799
 
2741
2800
  ## `nex schema validate-catalog`
2742
2801
 
@@ -2771,7 +2830,7 @@ EXAMPLES
2771
2830
  $ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
2772
2831
  ```
2773
2832
 
2774
- _See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/schema/validate-catalog.ts)_
2833
+ _See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/schema/validate-catalog.ts)_
2775
2834
 
2776
2835
  ## `nex scope`
2777
2836
 
@@ -2807,7 +2866,7 @@ EXAMPLES
2807
2866
  $ nex scope -l --json --auth dev
2808
2867
  ```
2809
2868
 
2810
- _See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/scope/index.ts)_
2869
+ _See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/scope/index.ts)_
2811
2870
 
2812
2871
  ## `nex scope set`
2813
2872
 
@@ -2839,7 +2898,7 @@ EXAMPLES
2839
2898
  $ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
2840
2899
  ```
2841
2900
 
2842
- _See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/scope/set.ts)_
2901
+ _See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/scope/set.ts)_
2843
2902
 
2844
2903
  ## `nex script-sync pull`
2845
2904
 
@@ -2888,7 +2947,7 @@ EXAMPLES
2888
2947
  $ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
2889
2948
  ```
2890
2949
 
2891
- _See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/script-sync/pull.ts)_
2950
+ _See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/script-sync/pull.ts)_
2892
2951
 
2893
2952
  ## `nex script-sync push`
2894
2953
 
@@ -2938,7 +2997,7 @@ EXAMPLES
2938
2997
  $ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
2939
2998
  ```
2940
2999
 
2941
- _See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/script-sync/push.ts)_
3000
+ _See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/script-sync/push.ts)_
2942
3001
 
2943
3002
  ## `nex script-sync sync`
2944
3003
 
@@ -2986,7 +3045,7 @@ EXAMPLES
2986
3045
  $ nex script-sync sync -d ./scripts --json --auth dev-instance
2987
3046
  ```
2988
3047
 
2989
- _See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/script-sync/sync.ts)_
3048
+ _See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/script-sync/sync.ts)_
2990
3049
 
2991
3050
  ## `nex search`
2992
3051
 
@@ -3042,7 +3101,7 @@ EXAMPLES
3042
3101
  $ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
3043
3102
  ```
3044
3103
 
3045
- _See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/search/index.ts)_
3104
+ _See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/search/index.ts)_
3046
3105
 
3047
3106
  ## `nex search add-table`
3048
3107
 
@@ -3092,7 +3151,7 @@ EXAMPLES
3092
3151
  dev-instance
3093
3152
  ```
3094
3153
 
3095
- _See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/search/add-table.ts)_
3154
+ _See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/search/add-table.ts)_
3096
3155
 
3097
3156
  ## `nex search groups`
3098
3157
 
@@ -3130,7 +3189,7 @@ EXAMPLES
3130
3189
  $ nex search groups --json --auth dev-instance
3131
3190
  ```
3132
3191
 
3133
- _See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/search/groups.ts)_
3192
+ _See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/search/groups.ts)_
3134
3193
 
3135
3194
  ## `nex search tables`
3136
3195
 
@@ -3170,7 +3229,7 @@ EXAMPLES
3170
3229
  $ nex search tables --search-group "Business Rules" --json --auth dev-instance
3171
3230
  ```
3172
3231
 
3173
- _See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/search/tables.ts)_
3232
+ _See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/search/tables.ts)_
3174
3233
 
3175
3234
  ## `nex store install`
3176
3235
 
@@ -3212,7 +3271,7 @@ EXAMPLES
3212
3271
  $ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
3213
3272
  ```
3214
3273
 
3215
- _See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/store/install.ts)_
3274
+ _See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/store/install.ts)_
3216
3275
 
3217
3276
  ## `nex store search`
3218
3277
 
@@ -3252,7 +3311,7 @@ EXAMPLES
3252
3311
  $ nex store search --tab updates --limit 10 --auth dev
3253
3312
  ```
3254
3313
 
3255
- _See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/store/search.ts)_
3314
+ _See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/store/search.ts)_
3256
3315
 
3257
3316
  ## `nex store update`
3258
3317
 
@@ -3293,7 +3352,7 @@ EXAMPLES
3293
3352
  $ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
3294
3353
  ```
3295
3354
 
3296
- _See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/store/update.ts)_
3355
+ _See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/store/update.ts)_
3297
3356
 
3298
3357
  ## `nex store validate`
3299
3358
 
@@ -3321,7 +3380,7 @@ EXAMPLES
3321
3380
  $ nex store validate --file ./batch-definition.json --auth dev
3322
3381
  ```
3323
3382
 
3324
- _See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/store/validate.ts)_
3383
+ _See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/store/validate.ts)_
3325
3384
 
3326
3385
  ## `nex task approve`
3327
3386
 
@@ -3361,7 +3420,7 @@ EXAMPLES
3361
3420
  $ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
3362
3421
  ```
3363
3422
 
3364
- _See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/task/approve.ts)_
3423
+ _See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/task/approve.ts)_
3365
3424
 
3366
3425
  ## `nex task assign`
3367
3426
 
@@ -3411,7 +3470,7 @@ EXAMPLES
3411
3470
  $ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
3412
3471
  ```
3413
3472
 
3414
- _See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/task/assign.ts)_
3473
+ _See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/task/assign.ts)_
3415
3474
 
3416
3475
  ## `nex task close`
3417
3476
 
@@ -3454,7 +3513,7 @@ EXAMPLES
3454
3513
  $ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
3455
3514
  ```
3456
3515
 
3457
- _See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/task/close.ts)_
3516
+ _See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/task/close.ts)_
3458
3517
 
3459
3518
  ## `nex task comment`
3460
3519
 
@@ -3503,7 +3562,7 @@ EXAMPLES
3503
3562
  $ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
3504
3563
  ```
3505
3564
 
3506
- _See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/task/comment.ts)_
3565
+ _See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/task/comment.ts)_
3507
3566
 
3508
3567
  ## `nex task find`
3509
3568
 
@@ -3548,7 +3607,7 @@ EXAMPLES
3548
3607
  $ nex task find -n INC0010001 --json --auth dev
3549
3608
  ```
3550
3609
 
3551
- _See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/task/find.ts)_
3610
+ _See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/task/find.ts)_
3552
3611
 
3553
3612
  ## `nex task resolve`
3554
3613
 
@@ -3591,7 +3650,7 @@ EXAMPLES
3591
3650
  $ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
3592
3651
  ```
3593
3652
 
3594
- _See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/task/resolve.ts)_
3653
+ _See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/task/resolve.ts)_
3595
3654
 
3596
3655
  ## `nex update-set`
3597
3656
 
@@ -3628,7 +3687,7 @@ EXAMPLES
3628
3687
  $ nex update-set --json --auth dev-instance
3629
3688
  ```
3630
3689
 
3631
- _See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/update-set/index.ts)_
3690
+ _See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/update-set/index.ts)_
3632
3691
 
3633
3692
  ## `nex update-set clone`
3634
3693
 
@@ -3661,7 +3720,7 @@ EXAMPLES
3661
3720
  $ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
3662
3721
  ```
3663
3722
 
3664
- _See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/update-set/clone.ts)_
3723
+ _See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/update-set/clone.ts)_
3665
3724
 
3666
3725
  ## `nex update-set create`
3667
3726
 
@@ -3700,7 +3759,7 @@ EXAMPLES
3700
3759
  $ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
3701
3760
  ```
3702
3761
 
3703
- _See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/update-set/create.ts)_
3762
+ _See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/update-set/create.ts)_
3704
3763
 
3705
3764
  ## `nex update-set current`
3706
3765
 
@@ -3736,7 +3795,7 @@ EXAMPLES
3736
3795
  $ nex update-set current --json --auth dev-instance
3737
3796
  ```
3738
3797
 
3739
- _See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/update-set/current.ts)_
3798
+ _See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/update-set/current.ts)_
3740
3799
 
3741
3800
  ## `nex update-set inspect`
3742
3801
 
@@ -3768,7 +3827,7 @@ EXAMPLES
3768
3827
  $ nex update-set inspect --sys-id us-001 --json --auth dev-instance
3769
3828
  ```
3770
3829
 
3771
- _See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/update-set/inspect.ts)_
3830
+ _See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/update-set/inspect.ts)_
3772
3831
 
3773
3832
  ## `nex update-set move`
3774
3833
 
@@ -3807,7 +3866,7 @@ EXAMPLES
3807
3866
  $ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
3808
3867
  ```
3809
3868
 
3810
- _See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/update-set/move.ts)_
3869
+ _See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/update-set/move.ts)_
3811
3870
 
3812
3871
  ## `nex workflow create`
3813
3872
 
@@ -3839,7 +3898,7 @@ EXAMPLES
3839
3898
  $ nex workflow create -s ./workflow.json --json --auth dev
3840
3899
  ```
3841
3900
 
3842
- _See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/workflow/create.ts)_
3901
+ _See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/workflow/create.ts)_
3843
3902
 
3844
3903
  ## `nex workflow publish`
3845
3904
 
@@ -3872,7 +3931,7 @@ EXAMPLES
3872
3931
  $ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
3873
3932
  ```
3874
3933
 
3875
- _See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/workflow/publish.ts)_
3934
+ _See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/workflow/publish.ts)_
3876
3935
 
3877
3936
  ## `nex xml export`
3878
3937
 
@@ -3919,7 +3978,7 @@ EXAMPLES
3919
3978
  $ nex xml export --table sys_script --sys-id abc123 --json --auth dev
3920
3979
  ```
3921
3980
 
3922
- _See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/xml/export.ts)_
3981
+ _See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/xml/export.ts)_
3923
3982
 
3924
3983
  ## `nex xml import`
3925
3984
 
@@ -3960,7 +4019,7 @@ EXAMPLES
3960
4019
  $ nex xml import --file ./records.xml --table incident --json --auth dev
3961
4020
  ```
3962
4021
 
3963
- _See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.0.1/src/commands/xml/import.ts)_
4022
+ _See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v2.1.0/src/commands/xml/import.ts)_
3964
4023
  <!-- commandsstop -->
3965
4024
 
3966
4025
  ---
@@ -1 +1 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/commands/flow/run.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AAG5E,qBAAa,OAAQ,SAAQ,oBAAoB,CAAC,OAAO,OAAO,CAAC;IAE/D,MAAM,CAAC,IAAI,KAAK;IAClB,MAAM,CAAC,WAAW,SAQgD;IAClE,MAAM,CAAC,QAAQ;;;QAaZ;IACH,MAAM,CAAC,KAAK;;;;;;;MAiCT;IAEK,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAoC3B"}
1
+ {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../../../src/commands/flow/run.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAA;AAG5E,qBAAa,OAAQ,SAAQ,oBAAoB,CAAC,OAAO,OAAO,CAAC;IAE/D,MAAM,CAAC,IAAI,KAAK;IAClB,MAAM,CAAC,WAAW,SAUgD;IAClE,MAAM,CAAC,QAAQ;;;QAaZ;IACH,MAAM,CAAC,KAAK;;;;;;;MAiCT;IAEK,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAoC3B"}