@sonisoft/now-sdk-ext-cli 5.0.1 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +479 -196
- package/dist/common/authenticated-command.d.ts +9 -0
- package/dist/common/authenticated-command.d.ts.map +1 -1
- package/dist/common/authenticated-command.js +50 -4
- package/dist/common/authenticated-command.js.map +1 -1
- package/dist/util/log-factory.d.ts +7 -1
- package/dist/util/log-factory.d.ts.map +1 -1
- package/dist/util/log-factory.js +8 -3
- package/dist/util/log-factory.js.map +1 -1
- package/oclif.manifest.json +1794 -655
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -689,7 +689,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
|
|
|
689
689
|
$ nex COMMAND
|
|
690
690
|
running command...
|
|
691
691
|
$ nex (--version)
|
|
692
|
-
@sonisoft/now-sdk-ext-cli/5.0
|
|
692
|
+
@sonisoft/now-sdk-ext-cli/5.1.0 linux-x64 node-v26.5.0
|
|
693
693
|
$ nex --help [COMMAND]
|
|
694
694
|
USAGE
|
|
695
695
|
$ nex COMMAND
|
|
@@ -789,8 +789,8 @@ Count records in a ServiceNow table.
|
|
|
789
789
|
|
|
790
790
|
```
|
|
791
791
|
USAGE
|
|
792
|
-
$ nex aggregate count -t <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
793
|
-
<value>]
|
|
792
|
+
$ nex aggregate count -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
793
|
+
debug|warn|error|info|trace] [-q <value>]
|
|
794
794
|
|
|
795
795
|
FLAGS
|
|
796
796
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -801,6 +801,10 @@ FLAGS
|
|
|
801
801
|
GLOBAL FLAGS
|
|
802
802
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
803
803
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
804
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
805
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
806
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
807
|
+
stderr only.
|
|
804
808
|
--log-level=<option> [default: info] Specify level for logging.
|
|
805
809
|
<options: debug|warn|error|info|trace>
|
|
806
810
|
|
|
@@ -828,7 +832,7 @@ EXAMPLES
|
|
|
828
832
|
$ nex aggregate count --table incident --query "active=true" --json --auth dev
|
|
829
833
|
```
|
|
830
834
|
|
|
831
|
-
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
835
|
+
_See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/aggregate/count.ts)_
|
|
832
836
|
|
|
833
837
|
## `nex aggregate group`
|
|
834
838
|
|
|
@@ -836,9 +840,9 @@ Run a grouped aggregate query on a ServiceNow table.
|
|
|
836
840
|
|
|
837
841
|
```
|
|
838
842
|
USAGE
|
|
839
|
-
$ nex aggregate group -t <value> -g <value>... [-j] [-a <value>] [--cred-store] [--log-
|
|
840
|
-
debug|warn|error|info|trace] [-q <value>] [-c] [--avg <value>...] [--min <value>...] [--max <value>...]
|
|
841
|
-
<value>...] [--having <value>] [-d]
|
|
843
|
+
$ nex aggregate group -t <value> -g <value>... [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
844
|
+
[--log-level debug|warn|error|info|trace] [-q <value>] [-c] [--avg <value>...] [--min <value>...] [--max <value>...]
|
|
845
|
+
[--sum <value>...] [--having <value>] [-d]
|
|
842
846
|
|
|
843
847
|
FLAGS
|
|
844
848
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -857,6 +861,10 @@ FLAGS
|
|
|
857
861
|
GLOBAL FLAGS
|
|
858
862
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
859
863
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
864
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
865
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
866
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
867
|
+
stderr only.
|
|
860
868
|
--log-level=<option> [default: info] Specify level for logging.
|
|
861
869
|
<options: debug|warn|error|info|trace>
|
|
862
870
|
|
|
@@ -888,7 +896,7 @@ EXAMPLES
|
|
|
888
896
|
$ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
|
|
889
897
|
```
|
|
890
898
|
|
|
891
|
-
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
899
|
+
_See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/aggregate/group.ts)_
|
|
892
900
|
|
|
893
901
|
## `nex aggregate query`
|
|
894
902
|
|
|
@@ -896,8 +904,9 @@ Run aggregate statistics on a ServiceNow table.
|
|
|
896
904
|
|
|
897
905
|
```
|
|
898
906
|
USAGE
|
|
899
|
-
$ nex aggregate query -t <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
900
|
-
<value>] [-c] [--avg <value>...] [--min <value>...] [--max <value>...] [--sum
|
|
907
|
+
$ nex aggregate query -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
908
|
+
debug|warn|error|info|trace] [-q <value>] [-c] [--avg <value>...] [--min <value>...] [--max <value>...] [--sum
|
|
909
|
+
<value>...]
|
|
901
910
|
|
|
902
911
|
FLAGS
|
|
903
912
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -913,6 +922,10 @@ FLAGS
|
|
|
913
922
|
GLOBAL FLAGS
|
|
914
923
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
915
924
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
925
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
926
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
927
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
928
|
+
stderr only.
|
|
916
929
|
--log-level=<option> [default: info] Specify level for logging.
|
|
917
930
|
<options: debug|warn|error|info|trace>
|
|
918
931
|
|
|
@@ -942,7 +955,7 @@ EXAMPLES
|
|
|
942
955
|
$ nex aggregate query --table incident --sum reassignment_count --json --auth dev
|
|
943
956
|
```
|
|
944
957
|
|
|
945
|
-
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
958
|
+
_See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/aggregate/query.ts)_
|
|
946
959
|
|
|
947
960
|
## `nex app`
|
|
948
961
|
|
|
@@ -950,8 +963,8 @@ Manage ServiceNow applications: uninstall applications from your instance.
|
|
|
950
963
|
|
|
951
964
|
```
|
|
952
965
|
USAGE
|
|
953
|
-
$ nex app [--json] [-a <value>] [--cred-store] [--log-
|
|
954
|
-
<value>] [-s <value>]
|
|
966
|
+
$ nex app [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
967
|
+
debug|warn|error|info|trace] [-u] [-i <value>] [-s <value>]
|
|
955
968
|
|
|
956
969
|
FLAGS
|
|
957
970
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -963,6 +976,10 @@ GLOBAL FLAGS
|
|
|
963
976
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
964
977
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
965
978
|
--json Format output as json.
|
|
979
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
980
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
981
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
982
|
+
stderr only.
|
|
966
983
|
--log-level=<option> [default: info] Specify level for logging.
|
|
967
984
|
<options: debug|warn|error|info|trace>
|
|
968
985
|
|
|
@@ -997,7 +1014,7 @@ EXAMPLES
|
|
|
997
1014
|
$ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
998
1015
|
```
|
|
999
1016
|
|
|
1000
|
-
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1017
|
+
_See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/index.ts)_
|
|
1001
1018
|
|
|
1002
1019
|
## `nex app install`
|
|
1003
1020
|
|
|
@@ -1005,8 +1022,8 @@ Install or upgrade multiple ServiceNow applications from a batch definition file
|
|
|
1005
1022
|
|
|
1006
1023
|
```
|
|
1007
1024
|
USAGE
|
|
1008
|
-
$ nex app install [--json] [-a <value>] [--cred-store] [--log-
|
|
1009
|
-
<value>]
|
|
1025
|
+
$ nex app install [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
1026
|
+
debug|warn|error|info|trace] [-b] [-d <value>]
|
|
1010
1027
|
|
|
1011
1028
|
FLAGS
|
|
1012
1029
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1017,6 +1034,10 @@ GLOBAL FLAGS
|
|
|
1017
1034
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1018
1035
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1019
1036
|
--json Format output as json.
|
|
1037
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1038
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1039
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1040
|
+
stderr only.
|
|
1020
1041
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1021
1042
|
<options: debug|warn|error|info|trace>
|
|
1022
1043
|
|
|
@@ -1057,7 +1078,7 @@ EXAMPLES
|
|
|
1057
1078
|
$ nex app install -b -d ./apps.json -a dev-instance --log-level debug
|
|
1058
1079
|
```
|
|
1059
1080
|
|
|
1060
|
-
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1081
|
+
_See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/install.ts)_
|
|
1061
1082
|
|
|
1062
1083
|
## `nex app repo-install`
|
|
1063
1084
|
|
|
@@ -1065,8 +1086,8 @@ Install an application from your ServiceNow company repository.
|
|
|
1065
1086
|
|
|
1066
1087
|
```
|
|
1067
1088
|
USAGE
|
|
1068
|
-
$ nex app repo-install -s <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
1069
|
-
[-w] [--poll-interval <value>] [-t <value>] [-v <value>]
|
|
1089
|
+
$ nex app repo-install -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
1090
|
+
debug|warn|error|info|trace] [-w] [--poll-interval <value>] [-t <value>] [-v <value>]
|
|
1070
1091
|
|
|
1071
1092
|
FLAGS
|
|
1072
1093
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1080,6 +1101,10 @@ GLOBAL FLAGS
|
|
|
1080
1101
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1081
1102
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1082
1103
|
--json Format output as json.
|
|
1104
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1105
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1106
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1107
|
+
stderr only.
|
|
1083
1108
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1084
1109
|
<options: debug|warn|error|info|trace>
|
|
1085
1110
|
|
|
@@ -1133,7 +1158,7 @@ EXAMPLES
|
|
|
1133
1158
|
$ nex app repo-install -s x_my_app -a dev-instance --log-level debug
|
|
1134
1159
|
```
|
|
1135
1160
|
|
|
1136
|
-
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1161
|
+
_See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/repo-install.ts)_
|
|
1137
1162
|
|
|
1138
1163
|
## `nex app repo-list`
|
|
1139
1164
|
|
|
@@ -1141,7 +1166,8 @@ List applications available in your ServiceNow company repository.
|
|
|
1141
1166
|
|
|
1142
1167
|
```
|
|
1143
1168
|
USAGE
|
|
1144
|
-
$ nex app repo-list [-j] [-a <value>] [--cred-store] [--log-
|
|
1169
|
+
$ nex app repo-list [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
1170
|
+
debug|warn|error|info|trace] [-n] [-i]
|
|
1145
1171
|
|
|
1146
1172
|
FLAGS
|
|
1147
1173
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1152,6 +1178,10 @@ FLAGS
|
|
|
1152
1178
|
GLOBAL FLAGS
|
|
1153
1179
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1154
1180
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1181
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1182
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1183
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1184
|
+
stderr only.
|
|
1155
1185
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1156
1186
|
<options: debug|warn|error|info|trace>
|
|
1157
1187
|
|
|
@@ -1199,7 +1229,7 @@ EXAMPLES
|
|
|
1199
1229
|
$ nex app repo-list -a dev-instance
|
|
1200
1230
|
```
|
|
1201
1231
|
|
|
1202
|
-
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1232
|
+
_See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/repo-list.ts)_
|
|
1203
1233
|
|
|
1204
1234
|
## `nex app uninstall`
|
|
1205
1235
|
|
|
@@ -1207,8 +1237,8 @@ Uninstall a ServiceNow application from your instance.
|
|
|
1207
1237
|
|
|
1208
1238
|
```
|
|
1209
1239
|
USAGE
|
|
1210
|
-
$ nex app uninstall -i <value> -s <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
1211
|
-
debug|warn|error|info|trace]
|
|
1240
|
+
$ nex app uninstall -i <value> -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
1241
|
+
[--log-level debug|warn|error|info|trace]
|
|
1212
1242
|
|
|
1213
1243
|
FLAGS
|
|
1214
1244
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1219,6 +1249,10 @@ GLOBAL FLAGS
|
|
|
1219
1249
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1220
1250
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1221
1251
|
--json Format output as json.
|
|
1252
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1253
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1254
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1255
|
+
stderr only.
|
|
1222
1256
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1223
1257
|
<options: debug|warn|error|info|trace>
|
|
1224
1258
|
|
|
@@ -1253,7 +1287,7 @@ EXAMPLES
|
|
|
1253
1287
|
$ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
|
|
1254
1288
|
```
|
|
1255
1289
|
|
|
1256
|
-
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1290
|
+
_See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/app/uninstall.ts)_
|
|
1257
1291
|
|
|
1258
1292
|
## `nex atf`
|
|
1259
1293
|
|
|
@@ -1261,9 +1295,9 @@ Execute ATF (Automated Test Framework) tests or test suites on a ServiceNow inst
|
|
|
1261
1295
|
|
|
1262
1296
|
```
|
|
1263
1297
|
USAGE
|
|
1264
|
-
$ nex atf [-j] [-a <value>] [--cred-store] [--log-
|
|
1265
|
-
<value> | -
|
|
1266
|
-
<value>] [--performance] [--cloud]
|
|
1298
|
+
$ nex atf [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
1299
|
+
debug|warn|error|info|trace] [-t <value> | -s <value> | -n <value>] [-w] [-p <value>] [-b <value>]
|
|
1300
|
+
[--browser-version <value>] [--os-name <value>] [--os-version <value>] [--performance] [--cloud]
|
|
1267
1301
|
|
|
1268
1302
|
FLAGS
|
|
1269
1303
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1283,6 +1317,10 @@ FLAGS
|
|
|
1283
1317
|
GLOBAL FLAGS
|
|
1284
1318
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1285
1319
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1320
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1321
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1322
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1323
|
+
stderr only.
|
|
1286
1324
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1287
1325
|
<options: debug|warn|error|info|trace>
|
|
1288
1326
|
|
|
@@ -1327,7 +1365,7 @@ EXAMPLES
|
|
|
1327
1365
|
$ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
|
|
1328
1366
|
```
|
|
1329
1367
|
|
|
1330
|
-
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1368
|
+
_See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/atf/index.ts)_
|
|
1331
1369
|
|
|
1332
1370
|
## `nex attachment get`
|
|
1333
1371
|
|
|
@@ -1335,7 +1373,8 @@ Get metadata for a specific attachment.
|
|
|
1335
1373
|
|
|
1336
1374
|
```
|
|
1337
1375
|
USAGE
|
|
1338
|
-
$ nex attachment get -s <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
1376
|
+
$ nex attachment get -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
1377
|
+
debug|warn|error|info|trace]
|
|
1339
1378
|
|
|
1340
1379
|
FLAGS
|
|
1341
1380
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1345,6 +1384,10 @@ GLOBAL FLAGS
|
|
|
1345
1384
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1346
1385
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1347
1386
|
--json Format output as json.
|
|
1387
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1388
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1389
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1390
|
+
stderr only.
|
|
1348
1391
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1349
1392
|
<options: debug|warn|error|info|trace>
|
|
1350
1393
|
|
|
@@ -1361,7 +1404,7 @@ EXAMPLES
|
|
|
1361
1404
|
$ nex attachment get -s att123 --json --auth dev
|
|
1362
1405
|
```
|
|
1363
1406
|
|
|
1364
|
-
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1407
|
+
_See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/attachment/get.ts)_
|
|
1365
1408
|
|
|
1366
1409
|
## `nex attachment list`
|
|
1367
1410
|
|
|
@@ -1369,8 +1412,8 @@ List attachments on a ServiceNow record.
|
|
|
1369
1412
|
|
|
1370
1413
|
```
|
|
1371
1414
|
USAGE
|
|
1372
|
-
$ nex attachment list -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
1373
|
-
debug|warn|error|info|trace] [--limit <value>]
|
|
1415
|
+
$ nex attachment list -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
1416
|
+
[--log-level debug|warn|error|info|trace] [--limit <value>]
|
|
1374
1417
|
|
|
1375
1418
|
FLAGS
|
|
1376
1419
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1382,6 +1425,10 @@ GLOBAL FLAGS
|
|
|
1382
1425
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1383
1426
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1384
1427
|
--json Format output as json.
|
|
1428
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1429
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1430
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1431
|
+
stderr only.
|
|
1385
1432
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1386
1433
|
<options: debug|warn|error|info|trace>
|
|
1387
1434
|
|
|
@@ -1398,7 +1445,7 @@ EXAMPLES
|
|
|
1398
1445
|
$ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
|
|
1399
1446
|
```
|
|
1400
1447
|
|
|
1401
|
-
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1448
|
+
_See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/attachment/list.ts)_
|
|
1402
1449
|
|
|
1403
1450
|
## `nex attachment upload`
|
|
1404
1451
|
|
|
@@ -1406,8 +1453,8 @@ Upload a file as an attachment to a ServiceNow record.
|
|
|
1406
1453
|
|
|
1407
1454
|
```
|
|
1408
1455
|
USAGE
|
|
1409
|
-
$ nex attachment upload -f <value> -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
1410
|
-
debug|warn|error|info|trace] [--content-type <value>]
|
|
1456
|
+
$ nex attachment upload -f <value> -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>]
|
|
1457
|
+
[--log-file] [--log-level debug|warn|error|info|trace] [--content-type <value>]
|
|
1411
1458
|
|
|
1412
1459
|
FLAGS
|
|
1413
1460
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1420,6 +1467,10 @@ GLOBAL FLAGS
|
|
|
1420
1467
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1421
1468
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1422
1469
|
--json Format output as json.
|
|
1470
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1471
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1472
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1473
|
+
stderr only.
|
|
1423
1474
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1424
1475
|
<options: debug|warn|error|info|trace>
|
|
1425
1476
|
|
|
@@ -1436,7 +1487,7 @@ EXAMPLES
|
|
|
1436
1487
|
$ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
|
|
1437
1488
|
```
|
|
1438
1489
|
|
|
1439
|
-
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1490
|
+
_See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/attachment/upload.ts)_
|
|
1440
1491
|
|
|
1441
1492
|
## `nex auth delete [ALIAS]`
|
|
1442
1493
|
|
|
@@ -1471,7 +1522,7 @@ EXAMPLES
|
|
|
1471
1522
|
$ nex auth delete --all
|
|
1472
1523
|
```
|
|
1473
1524
|
|
|
1474
|
-
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1525
|
+
_See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/auth/delete.ts)_
|
|
1475
1526
|
|
|
1476
1527
|
## `nex auth doctor`
|
|
1477
1528
|
|
|
@@ -1499,7 +1550,7 @@ EXAMPLES
|
|
|
1499
1550
|
$ nex auth doctor --json
|
|
1500
1551
|
```
|
|
1501
1552
|
|
|
1502
|
-
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1553
|
+
_See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/auth/doctor.ts)_
|
|
1503
1554
|
|
|
1504
1555
|
## `nex auth list`
|
|
1505
1556
|
|
|
@@ -1532,7 +1583,7 @@ EXAMPLES
|
|
|
1532
1583
|
$ nex auth list --json
|
|
1533
1584
|
```
|
|
1534
1585
|
|
|
1535
|
-
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1586
|
+
_See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/auth/list.ts)_
|
|
1536
1587
|
|
|
1537
1588
|
## `nex auth use ALIAS`
|
|
1538
1589
|
|
|
@@ -1560,7 +1611,7 @@ EXAMPLES
|
|
|
1560
1611
|
$ nex auth use dev206299
|
|
1561
1612
|
```
|
|
1562
1613
|
|
|
1563
|
-
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1614
|
+
_See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/auth/use.ts)_
|
|
1564
1615
|
|
|
1565
1616
|
## `nex autocomplete [SHELL]`
|
|
1566
1617
|
|
|
@@ -1599,8 +1650,8 @@ Batch create records on a ServiceNow instance from a JSON file.
|
|
|
1599
1650
|
|
|
1600
1651
|
```
|
|
1601
1652
|
USAGE
|
|
1602
|
-
$ nex batch create -f <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
1603
|
-
[--transaction]
|
|
1653
|
+
$ nex batch create -f <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
1654
|
+
debug|warn|error|info|trace] [--transaction]
|
|
1604
1655
|
|
|
1605
1656
|
FLAGS
|
|
1606
1657
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1611,6 +1662,10 @@ GLOBAL FLAGS
|
|
|
1611
1662
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1612
1663
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1613
1664
|
--json Format output as json.
|
|
1665
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1666
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1667
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1668
|
+
stderr only.
|
|
1614
1669
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1615
1670
|
<options: debug|warn|error|info|trace>
|
|
1616
1671
|
|
|
@@ -1627,7 +1682,7 @@ EXAMPLES
|
|
|
1627
1682
|
$ nex batch create --file ./records.json --no-transaction --auth dev
|
|
1628
1683
|
```
|
|
1629
1684
|
|
|
1630
|
-
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1685
|
+
_See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/batch/create.ts)_
|
|
1631
1686
|
|
|
1632
1687
|
## `nex batch update`
|
|
1633
1688
|
|
|
@@ -1635,8 +1690,8 @@ Batch update records on a ServiceNow instance from a JSON file.
|
|
|
1635
1690
|
|
|
1636
1691
|
```
|
|
1637
1692
|
USAGE
|
|
1638
|
-
$ nex batch update -f <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
1639
|
-
[--stop-on-error]
|
|
1693
|
+
$ nex batch update -f <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
1694
|
+
debug|warn|error|info|trace] [--stop-on-error]
|
|
1640
1695
|
|
|
1641
1696
|
FLAGS
|
|
1642
1697
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1647,6 +1702,10 @@ GLOBAL FLAGS
|
|
|
1647
1702
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1648
1703
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1649
1704
|
--json Format output as json.
|
|
1705
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1706
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1707
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1708
|
+
stderr only.
|
|
1650
1709
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1651
1710
|
<options: debug|warn|error|info|trace>
|
|
1652
1711
|
|
|
@@ -1663,7 +1722,7 @@ EXAMPLES
|
|
|
1663
1722
|
$ nex batch update --file ./updates.json --stop-on-error --auth dev
|
|
1664
1723
|
```
|
|
1665
1724
|
|
|
1666
|
-
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1725
|
+
_See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/batch/update.ts)_
|
|
1667
1726
|
|
|
1668
1727
|
## `nex bulk delete`
|
|
1669
1728
|
|
|
@@ -1671,8 +1730,8 @@ Bulk delete records matching an encoded query.
|
|
|
1671
1730
|
|
|
1672
1731
|
```
|
|
1673
1732
|
USAGE
|
|
1674
|
-
$ nex bulk delete -t <value> -q <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
1675
|
-
debug|warn|error|info|trace] [--confirm] [-l <value>]
|
|
1733
|
+
$ nex bulk delete -t <value> -q <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
1734
|
+
[--log-level debug|warn|error|info|trace] [--confirm] [-l <value>]
|
|
1676
1735
|
|
|
1677
1736
|
FLAGS
|
|
1678
1737
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1685,6 +1744,10 @@ FLAGS
|
|
|
1685
1744
|
GLOBAL FLAGS
|
|
1686
1745
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1687
1746
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1747
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1748
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1749
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1750
|
+
stderr only.
|
|
1688
1751
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1689
1752
|
<options: debug|warn|error|info|trace>
|
|
1690
1753
|
|
|
@@ -1719,7 +1782,7 @@ EXAMPLES
|
|
|
1719
1782
|
$ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
|
|
1720
1783
|
```
|
|
1721
1784
|
|
|
1722
|
-
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1785
|
+
_See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/bulk/delete.ts)_
|
|
1723
1786
|
|
|
1724
1787
|
## `nex bulk update`
|
|
1725
1788
|
|
|
@@ -1727,8 +1790,8 @@ Bulk update records matching an encoded query.
|
|
|
1727
1790
|
|
|
1728
1791
|
```
|
|
1729
1792
|
USAGE
|
|
1730
|
-
$ nex bulk update -t <value> -q <value> -d <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
1731
|
-
debug|warn|error|info|trace] [--confirm] [-l <value>]
|
|
1793
|
+
$ nex bulk update -t <value> -q <value> -d <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>]
|
|
1794
|
+
[--log-file] [--log-level debug|warn|error|info|trace] [--confirm] [-l <value>]
|
|
1732
1795
|
|
|
1733
1796
|
FLAGS
|
|
1734
1797
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1742,6 +1805,10 @@ FLAGS
|
|
|
1742
1805
|
GLOBAL FLAGS
|
|
1743
1806
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1744
1807
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1808
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1809
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1810
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1811
|
+
stderr only.
|
|
1745
1812
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1746
1813
|
<options: debug|warn|error|info|trace>
|
|
1747
1814
|
|
|
@@ -1779,7 +1846,7 @@ EXAMPLES
|
|
|
1779
1846
|
$ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
|
|
1780
1847
|
```
|
|
1781
1848
|
|
|
1782
|
-
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1849
|
+
_See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/bulk/update.ts)_
|
|
1783
1850
|
|
|
1784
1851
|
## `nex exec SCOPE [FILE]`
|
|
1785
1852
|
|
|
@@ -1787,8 +1854,8 @@ Execute JavaScript on a ServiceNow instance remotely using Scripts - Background.
|
|
|
1787
1854
|
|
|
1788
1855
|
```
|
|
1789
1856
|
USAGE
|
|
1790
|
-
$ nex exec SCOPE [FILE] [--json] [-a <value>] [--cred-store] [--log-
|
|
1791
|
-
[-p <value>]
|
|
1857
|
+
$ nex exec SCOPE [FILE] [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
1858
|
+
[--log-level debug|warn|error|info|trace] [-p <value>]
|
|
1792
1859
|
|
|
1793
1860
|
ARGUMENTS
|
|
1794
1861
|
SCOPE Scope to execute script in. Use "global" for global scope.
|
|
@@ -1802,6 +1869,10 @@ GLOBAL FLAGS
|
|
|
1802
1869
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1803
1870
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1804
1871
|
--json Format output as json.
|
|
1872
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
1873
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
1874
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
1875
|
+
stderr only.
|
|
1805
1876
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1806
1877
|
<options: debug|warn|error|info|trace>
|
|
1807
1878
|
|
|
@@ -1901,7 +1972,7 @@ EXAMPLES
|
|
|
1901
1972
|
$ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
|
|
1902
1973
|
```
|
|
1903
1974
|
|
|
1904
|
-
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
1975
|
+
_See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/exec/index.ts)_
|
|
1905
1976
|
|
|
1906
1977
|
## `nex flow action`
|
|
1907
1978
|
|
|
@@ -1909,8 +1980,8 @@ Execute a Flow Designer action by scoped name.
|
|
|
1909
1980
|
|
|
1910
1981
|
```
|
|
1911
1982
|
USAGE
|
|
1912
|
-
$ nex flow action -n <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
1913
|
-
<value>] [-m foreground|background] [--scope <value>] [--quick]
|
|
1983
|
+
$ nex flow action -n <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
1984
|
+
debug|warn|error|info|trace] [-i <value>] [-m foreground|background] [--scope <value>] [--quick]
|
|
1914
1985
|
|
|
1915
1986
|
FLAGS
|
|
1916
1987
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1925,6 +1996,10 @@ FLAGS
|
|
|
1925
1996
|
GLOBAL FLAGS
|
|
1926
1997
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1927
1998
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
1999
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2000
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2001
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2002
|
+
stderr only.
|
|
1928
2003
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1929
2004
|
<options: debug|warn|error|info|trace>
|
|
1930
2005
|
|
|
@@ -1946,7 +2021,7 @@ EXAMPLES
|
|
|
1946
2021
|
'{"table":"incident","values":{"short_description":"Test"}}' --auth dev
|
|
1947
2022
|
```
|
|
1948
2023
|
|
|
1949
|
-
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2024
|
+
_See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/action.ts)_
|
|
1950
2025
|
|
|
1951
2026
|
## `nex flow cancel`
|
|
1952
2027
|
|
|
@@ -1954,8 +2029,8 @@ Cancel a running or paused flow execution.
|
|
|
1954
2029
|
|
|
1955
2030
|
```
|
|
1956
2031
|
USAGE
|
|
1957
|
-
$ nex flow cancel -c <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
1958
|
-
<value>] [--scope <value>]
|
|
2032
|
+
$ nex flow cancel -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2033
|
+
debug|warn|error|info|trace] [-r <value>] [--scope <value>]
|
|
1959
2034
|
|
|
1960
2035
|
FLAGS
|
|
1961
2036
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -1967,6 +2042,10 @@ FLAGS
|
|
|
1967
2042
|
GLOBAL FLAGS
|
|
1968
2043
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
1969
2044
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2045
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2046
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2047
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2048
|
+
stderr only.
|
|
1970
2049
|
--log-level=<option> [default: info] Specify level for logging.
|
|
1971
2050
|
<options: debug|warn|error|info|trace>
|
|
1972
2051
|
|
|
@@ -1985,7 +2064,7 @@ EXAMPLES
|
|
|
1985
2064
|
$ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
|
|
1986
2065
|
```
|
|
1987
2066
|
|
|
1988
|
-
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2067
|
+
_See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/cancel.ts)_
|
|
1989
2068
|
|
|
1990
2069
|
## `nex flow copy`
|
|
1991
2070
|
|
|
@@ -1993,8 +2072,8 @@ Copy an existing flow into a target scoped application.
|
|
|
1993
2072
|
|
|
1994
2073
|
```
|
|
1995
2074
|
USAGE
|
|
1996
|
-
$ nex flow copy -s <value> -n <value> -t <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
1997
|
-
debug|warn|error|info|trace]
|
|
2075
|
+
$ nex flow copy -s <value> -n <value> -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>]
|
|
2076
|
+
[--log-file] [--log-level debug|warn|error|info|trace]
|
|
1998
2077
|
|
|
1999
2078
|
FLAGS
|
|
2000
2079
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2007,6 +2086,10 @@ FLAGS
|
|
|
2007
2086
|
GLOBAL FLAGS
|
|
2008
2087
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2009
2088
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2089
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2090
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2091
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2092
|
+
stderr only.
|
|
2010
2093
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2011
2094
|
<options: debug|warn|error|info|trace>
|
|
2012
2095
|
|
|
@@ -2042,7 +2125,7 @@ EXAMPLES
|
|
|
2042
2125
|
dev
|
|
2043
2126
|
```
|
|
2044
2127
|
|
|
2045
|
-
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2128
|
+
_See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/copy.ts)_
|
|
2046
2129
|
|
|
2047
2130
|
## `nex flow details`
|
|
2048
2131
|
|
|
@@ -2050,8 +2133,8 @@ Get rich execution details for a flow context.
|
|
|
2050
2133
|
|
|
2051
2134
|
```
|
|
2052
2135
|
USAGE
|
|
2053
|
-
$ nex flow details -c <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2054
|
-
[--scope <value>] [-d]
|
|
2136
|
+
$ nex flow details -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2137
|
+
debug|warn|error|info|trace] [--scope <value>] [-d]
|
|
2055
2138
|
|
|
2056
2139
|
FLAGS
|
|
2057
2140
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2063,6 +2146,10 @@ FLAGS
|
|
|
2063
2146
|
GLOBAL FLAGS
|
|
2064
2147
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2065
2148
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2149
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2150
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2151
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2152
|
+
stderr only.
|
|
2066
2153
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2067
2154
|
<options: debug|warn|error|info|trace>
|
|
2068
2155
|
|
|
@@ -2095,7 +2182,7 @@ EXAMPLES
|
|
|
2095
2182
|
$ nex flow details -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2096
2183
|
```
|
|
2097
2184
|
|
|
2098
|
-
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2185
|
+
_See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/details.ts)_
|
|
2099
2186
|
|
|
2100
2187
|
## `nex flow error`
|
|
2101
2188
|
|
|
@@ -2103,8 +2190,8 @@ Retrieve error details from a failed flow execution.
|
|
|
2103
2190
|
|
|
2104
2191
|
```
|
|
2105
2192
|
USAGE
|
|
2106
|
-
$ nex flow error -c <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2107
|
-
[--scope <value>]
|
|
2193
|
+
$ nex flow error -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2194
|
+
debug|warn|error|info|trace] [--scope <value>]
|
|
2108
2195
|
|
|
2109
2196
|
FLAGS
|
|
2110
2197
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2115,6 +2202,10 @@ FLAGS
|
|
|
2115
2202
|
GLOBAL FLAGS
|
|
2116
2203
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2117
2204
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2205
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2206
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2207
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2208
|
+
stderr only.
|
|
2118
2209
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2119
2210
|
<options: debug|warn|error|info|trace>
|
|
2120
2211
|
|
|
@@ -2129,7 +2220,7 @@ EXAMPLES
|
|
|
2129
2220
|
$ nex flow error --context-id abc123def456 --auth dev
|
|
2130
2221
|
```
|
|
2131
2222
|
|
|
2132
|
-
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2223
|
+
_See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/error.ts)_
|
|
2133
2224
|
|
|
2134
2225
|
## `nex flow logs`
|
|
2135
2226
|
|
|
@@ -2137,8 +2228,8 @@ Retrieve flow execution log entries for a given context.
|
|
|
2137
2228
|
|
|
2138
2229
|
```
|
|
2139
2230
|
USAGE
|
|
2140
|
-
$ nex flow logs -c <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2141
|
-
<value>] [-o asc|desc]
|
|
2231
|
+
$ nex flow logs -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2232
|
+
debug|warn|error|info|trace] [-l <value>] [-o asc|desc]
|
|
2142
2233
|
|
|
2143
2234
|
FLAGS
|
|
2144
2235
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2151,6 +2242,10 @@ FLAGS
|
|
|
2151
2242
|
GLOBAL FLAGS
|
|
2152
2243
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2153
2244
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2245
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2246
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2247
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2248
|
+
stderr only.
|
|
2154
2249
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2155
2250
|
<options: debug|warn|error|info|trace>
|
|
2156
2251
|
|
|
@@ -2179,7 +2274,7 @@ EXAMPLES
|
|
|
2179
2274
|
$ nex flow logs -c d4e5f6789012345678abcdef01234567 --json --auth dev
|
|
2180
2275
|
```
|
|
2181
2276
|
|
|
2182
|
-
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2277
|
+
_See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/logs.ts)_
|
|
2183
2278
|
|
|
2184
2279
|
## `nex flow message`
|
|
2185
2280
|
|
|
@@ -2187,8 +2282,8 @@ Send a message to a paused flow execution.
|
|
|
2187
2282
|
|
|
2188
2283
|
```
|
|
2189
2284
|
USAGE
|
|
2190
|
-
$ nex flow message -c <value> -m <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2191
|
-
debug|warn|error|info|trace] [-p <value>] [--scope <value>]
|
|
2285
|
+
$ nex flow message -c <value> -m <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
2286
|
+
[--log-level debug|warn|error|info|trace] [-p <value>] [--scope <value>]
|
|
2192
2287
|
|
|
2193
2288
|
FLAGS
|
|
2194
2289
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2201,6 +2296,10 @@ FLAGS
|
|
|
2201
2296
|
GLOBAL FLAGS
|
|
2202
2297
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2203
2298
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2299
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2300
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2301
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2302
|
+
stderr only.
|
|
2204
2303
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2205
2304
|
<options: debug|warn|error|info|trace>
|
|
2206
2305
|
|
|
@@ -2220,7 +2319,7 @@ EXAMPLES
|
|
|
2220
2319
|
$ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
|
|
2221
2320
|
```
|
|
2222
2321
|
|
|
2223
|
-
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2322
|
+
_See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/message.ts)_
|
|
2224
2323
|
|
|
2225
2324
|
## `nex flow outputs`
|
|
2226
2325
|
|
|
@@ -2228,8 +2327,8 @@ Retrieve outputs from a completed flow execution.
|
|
|
2228
2327
|
|
|
2229
2328
|
```
|
|
2230
2329
|
USAGE
|
|
2231
|
-
$ nex flow outputs -c <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2232
|
-
[--scope <value>]
|
|
2330
|
+
$ nex flow outputs -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2331
|
+
debug|warn|error|info|trace] [--scope <value>]
|
|
2233
2332
|
|
|
2234
2333
|
FLAGS
|
|
2235
2334
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2240,6 +2339,10 @@ FLAGS
|
|
|
2240
2339
|
GLOBAL FLAGS
|
|
2241
2340
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2242
2341
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2342
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2343
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2344
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2345
|
+
stderr only.
|
|
2243
2346
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2244
2347
|
<options: debug|warn|error|info|trace>
|
|
2245
2348
|
|
|
@@ -2258,7 +2361,7 @@ EXAMPLES
|
|
|
2258
2361
|
$ nex flow outputs --context-id abc123def456 --json --auth dev
|
|
2259
2362
|
```
|
|
2260
2363
|
|
|
2261
|
-
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2364
|
+
_See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/outputs.ts)_
|
|
2262
2365
|
|
|
2263
2366
|
## `nex flow run`
|
|
2264
2367
|
|
|
@@ -2266,8 +2369,8 @@ Execute a published Flow Designer flow by scoped name.
|
|
|
2266
2369
|
|
|
2267
2370
|
```
|
|
2268
2371
|
USAGE
|
|
2269
|
-
$ nex flow run -n <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2270
|
-
<value>] [-m foreground|background] [--scope <value>] [--quick]
|
|
2372
|
+
$ nex flow run -n <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2373
|
+
debug|warn|error|info|trace] [-i <value>] [-m foreground|background] [--scope <value>] [--quick]
|
|
2271
2374
|
|
|
2272
2375
|
FLAGS
|
|
2273
2376
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2282,6 +2385,10 @@ FLAGS
|
|
|
2282
2385
|
GLOBAL FLAGS
|
|
2283
2386
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2284
2387
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2388
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2389
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2390
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2391
|
+
stderr only.
|
|
2285
2392
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2286
2393
|
<options: debug|warn|error|info|trace>
|
|
2287
2394
|
|
|
@@ -2315,7 +2422,7 @@ EXAMPLES
|
|
|
2315
2422
|
$ nex flow run --name global.my_flow --mode background --auth dev
|
|
2316
2423
|
```
|
|
2317
2424
|
|
|
2318
|
-
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2425
|
+
_See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/run.ts)_
|
|
2319
2426
|
|
|
2320
2427
|
## `nex flow status`
|
|
2321
2428
|
|
|
@@ -2323,8 +2430,8 @@ Get the status of a flow execution context.
|
|
|
2323
2430
|
|
|
2324
2431
|
```
|
|
2325
2432
|
USAGE
|
|
2326
|
-
$ nex flow status -c <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2327
|
-
[--scope <value>]
|
|
2433
|
+
$ nex flow status -c <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2434
|
+
debug|warn|error|info|trace] [--scope <value>]
|
|
2328
2435
|
|
|
2329
2436
|
FLAGS
|
|
2330
2437
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2335,6 +2442,10 @@ FLAGS
|
|
|
2335
2442
|
GLOBAL FLAGS
|
|
2336
2443
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2337
2444
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2445
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2446
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2447
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2448
|
+
stderr only.
|
|
2338
2449
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2339
2450
|
<options: debug|warn|error|info|trace>
|
|
2340
2451
|
|
|
@@ -2351,7 +2462,7 @@ EXAMPLES
|
|
|
2351
2462
|
$ nex flow status --context-id abc123def456 --auth dev
|
|
2352
2463
|
```
|
|
2353
2464
|
|
|
2354
|
-
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2465
|
+
_See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/status.ts)_
|
|
2355
2466
|
|
|
2356
2467
|
## `nex flow subflow`
|
|
2357
2468
|
|
|
@@ -2359,8 +2470,8 @@ Execute a published Flow Designer subflow by scoped name.
|
|
|
2359
2470
|
|
|
2360
2471
|
```
|
|
2361
2472
|
USAGE
|
|
2362
|
-
$ nex flow subflow -n <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2363
|
-
<value>] [-m foreground|background] [--scope <value>] [--quick]
|
|
2473
|
+
$ nex flow subflow -n <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2474
|
+
debug|warn|error|info|trace] [-i <value>] [-m foreground|background] [--scope <value>] [--quick]
|
|
2364
2475
|
|
|
2365
2476
|
FLAGS
|
|
2366
2477
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2375,6 +2486,10 @@ FLAGS
|
|
|
2375
2486
|
GLOBAL FLAGS
|
|
2376
2487
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2377
2488
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2489
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2490
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2491
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2492
|
+
stderr only.
|
|
2378
2493
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2379
2494
|
<options: debug|warn|error|info|trace>
|
|
2380
2495
|
|
|
@@ -2402,7 +2517,7 @@ EXAMPLES
|
|
|
2402
2517
|
$ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
|
|
2403
2518
|
```
|
|
2404
2519
|
|
|
2405
|
-
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2520
|
+
_See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/subflow.ts)_
|
|
2406
2521
|
|
|
2407
2522
|
## `nex flow test`
|
|
2408
2523
|
|
|
@@ -2410,8 +2525,8 @@ Test a Flow Designer flow without requiring it to be published.
|
|
|
2410
2525
|
|
|
2411
2526
|
```
|
|
2412
2527
|
USAGE
|
|
2413
|
-
$ nex flow test -f <value> -o <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2414
|
-
debug|warn|error|info|trace] [--scope <value>] [--synchronous]
|
|
2528
|
+
$ nex flow test -f <value> -o <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
2529
|
+
[--log-level debug|warn|error|info|trace] [--scope <value>] [--synchronous]
|
|
2415
2530
|
|
|
2416
2531
|
FLAGS
|
|
2417
2532
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2425,6 +2540,10 @@ FLAGS
|
|
|
2425
2540
|
GLOBAL FLAGS
|
|
2426
2541
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2427
2542
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2543
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2544
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2545
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2546
|
+
stderr only.
|
|
2428
2547
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2429
2548
|
<options: debug|warn|error|info|trace>
|
|
2430
2549
|
|
|
@@ -2456,7 +2575,7 @@ EXAMPLES
|
|
|
2456
2575
|
$ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
|
|
2457
2576
|
```
|
|
2458
2577
|
|
|
2459
|
-
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2578
|
+
_See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/flow/test.ts)_
|
|
2460
2579
|
|
|
2461
2580
|
## `nex health check`
|
|
2462
2581
|
|
|
@@ -2464,9 +2583,9 @@ Run a consolidated health check on a ServiceNow instance.
|
|
|
2464
2583
|
|
|
2465
2584
|
```
|
|
2466
2585
|
USAGE
|
|
2467
|
-
$ nex health check [-j] [-a <value>] [--cred-store] [--log-
|
|
2468
|
-
[--include-version] [--include-cluster] [--include-stuck-jobs] [--include-semaphores]
|
|
2469
|
-
[--stuck-job-threshold <value>]
|
|
2586
|
+
$ nex health check [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2587
|
+
debug|warn|error|info|trace] [--include-version] [--include-cluster] [--include-stuck-jobs] [--include-semaphores]
|
|
2588
|
+
[--include-operational-counts] [--stuck-job-threshold <value>]
|
|
2470
2589
|
|
|
2471
2590
|
FLAGS
|
|
2472
2591
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2481,6 +2600,10 @@ FLAGS
|
|
|
2481
2600
|
GLOBAL FLAGS
|
|
2482
2601
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2483
2602
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2603
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2604
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2605
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2606
|
+
stderr only.
|
|
2484
2607
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2485
2608
|
<options: debug|warn|error|info|trace>
|
|
2486
2609
|
|
|
@@ -2518,7 +2641,7 @@ EXAMPLES
|
|
|
2518
2641
|
$ nex health check --json --auth dev
|
|
2519
2642
|
```
|
|
2520
2643
|
|
|
2521
|
-
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2644
|
+
_See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/health/check.ts)_
|
|
2522
2645
|
|
|
2523
2646
|
## `nex help [COMMAND]`
|
|
2524
2647
|
|
|
@@ -2546,8 +2669,8 @@ Tail and monitor ServiceNow system logs in real-time with beautiful formatting.
|
|
|
2546
2669
|
|
|
2547
2670
|
```
|
|
2548
2671
|
USAGE
|
|
2549
|
-
$ nex log [--json] [-a <value>] [--cred-store] [--log-
|
|
2550
|
-
[-i <value>] [--no-color] [-f <value>...]
|
|
2672
|
+
$ nex log [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
2673
|
+
debug|warn|error|info|trace] [-o <value>] [-i <value>] [--no-color] [-f <value>...]
|
|
2551
2674
|
|
|
2552
2675
|
FLAGS
|
|
2553
2676
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2563,6 +2686,10 @@ GLOBAL FLAGS
|
|
|
2563
2686
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2564
2687
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
2565
2688
|
--json Format output as json.
|
|
2689
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
2690
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
2691
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
2692
|
+
stderr only.
|
|
2566
2693
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2567
2694
|
<options: debug|warn|error|info|trace>
|
|
2568
2695
|
|
|
@@ -2645,7 +2772,7 @@ EXAMPLES
|
|
|
2645
2772
|
$ nex log --no-color --auth dev-instance
|
|
2646
2773
|
```
|
|
2647
2774
|
|
|
2648
|
-
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
2775
|
+
_See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/log/index.ts)_
|
|
2649
2776
|
|
|
2650
2777
|
## `nex plugins`
|
|
2651
2778
|
|
|
@@ -2943,8 +3070,8 @@ Query any ServiceNow table using the Table API.
|
|
|
2943
3070
|
|
|
2944
3071
|
```
|
|
2945
3072
|
USAGE
|
|
2946
|
-
$ nex query -t <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
2947
|
-
<value>] [-f <value>] [-d] [-l <value>]
|
|
3073
|
+
$ nex query -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3074
|
+
debug|warn|error|info|trace] [-q <value>] [-f <value>] [-d] [-l <value>]
|
|
2948
3075
|
|
|
2949
3076
|
FLAGS
|
|
2950
3077
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -2958,6 +3085,10 @@ FLAGS
|
|
|
2958
3085
|
GLOBAL FLAGS
|
|
2959
3086
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
2960
3087
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3088
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3089
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3090
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3091
|
+
stderr only.
|
|
2961
3092
|
--log-level=<option> [default: info] Specify level for logging.
|
|
2962
3093
|
<options: debug|warn|error|info|trace>
|
|
2963
3094
|
|
|
@@ -2989,7 +3120,7 @@ EXAMPLES
|
|
|
2989
3120
|
$ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
|
|
2990
3121
|
```
|
|
2991
3122
|
|
|
2992
|
-
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3123
|
+
_See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/query/index.ts)_
|
|
2993
3124
|
|
|
2994
3125
|
## `nex query app`
|
|
2995
3126
|
|
|
@@ -2997,8 +3128,8 @@ Search for applications by name across scoped apps and plugins.
|
|
|
2997
3128
|
|
|
2998
3129
|
```
|
|
2999
3130
|
USAGE
|
|
3000
|
-
$ nex query app -s <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
3001
|
-
[-l <value>]
|
|
3131
|
+
$ nex query app -s <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3132
|
+
debug|warn|error|info|trace] [-a] [-l <value>]
|
|
3002
3133
|
|
|
3003
3134
|
FLAGS
|
|
3004
3135
|
-a, --active Only show active applications
|
|
@@ -3010,6 +3141,10 @@ FLAGS
|
|
|
3010
3141
|
GLOBAL FLAGS
|
|
3011
3142
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3012
3143
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3144
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3145
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3146
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3147
|
+
stderr only.
|
|
3013
3148
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3014
3149
|
<options: debug|warn|error|info|trace>
|
|
3015
3150
|
|
|
@@ -3034,7 +3169,7 @@ EXAMPLES
|
|
|
3034
3169
|
$ nex query app --search "HR" --active --auth dev
|
|
3035
3170
|
```
|
|
3036
3171
|
|
|
3037
|
-
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3172
|
+
_See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/query/app.ts)_
|
|
3038
3173
|
|
|
3039
3174
|
## `nex query columns`
|
|
3040
3175
|
|
|
@@ -3042,8 +3177,8 @@ List and search columns (fields) on a ServiceNow table.
|
|
|
3042
3177
|
|
|
3043
3178
|
```
|
|
3044
3179
|
USAGE
|
|
3045
|
-
$ nex query columns -t <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
3046
|
-
<value>]
|
|
3180
|
+
$ nex query columns -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3181
|
+
debug|warn|error|info|trace] [-s <value>]
|
|
3047
3182
|
|
|
3048
3183
|
FLAGS
|
|
3049
3184
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3054,6 +3189,10 @@ FLAGS
|
|
|
3054
3189
|
GLOBAL FLAGS
|
|
3055
3190
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3056
3191
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3192
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3193
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3194
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3195
|
+
stderr only.
|
|
3057
3196
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3058
3197
|
<options: debug|warn|error|info|trace>
|
|
3059
3198
|
|
|
@@ -3081,7 +3220,7 @@ EXAMPLES
|
|
|
3081
3220
|
$ nex query columns --table incident --json --auth dev
|
|
3082
3221
|
```
|
|
3083
3222
|
|
|
3084
|
-
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3223
|
+
_See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/query/columns.ts)_
|
|
3085
3224
|
|
|
3086
3225
|
## `nex query syslog`
|
|
3087
3226
|
|
|
@@ -3089,8 +3228,8 @@ Query ServiceNow system logs (one-shot, non-tailing).
|
|
|
3089
3228
|
|
|
3090
3229
|
```
|
|
3091
3230
|
USAGE
|
|
3092
|
-
$ nex query syslog [-j] [-a <value>] [--cred-store] [--log-
|
|
3093
|
-
<value>]
|
|
3231
|
+
$ nex query syslog [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3232
|
+
debug|warn|error|info|trace] [-q <value>] [-l <value>]
|
|
3094
3233
|
|
|
3095
3234
|
FLAGS
|
|
3096
3235
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3101,6 +3240,10 @@ FLAGS
|
|
|
3101
3240
|
GLOBAL FLAGS
|
|
3102
3241
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3103
3242
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3243
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3244
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3245
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3246
|
+
stderr only.
|
|
3104
3247
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3105
3248
|
<options: debug|warn|error|info|trace>
|
|
3106
3249
|
|
|
@@ -3130,7 +3273,7 @@ EXAMPLES
|
|
|
3130
3273
|
$ nex query syslog --query "sourceLIKEincident" --json --auth dev
|
|
3131
3274
|
```
|
|
3132
3275
|
|
|
3133
|
-
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3276
|
+
_See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/query/syslog.ts)_
|
|
3134
3277
|
|
|
3135
3278
|
## `nex schema`
|
|
3136
3279
|
|
|
@@ -3138,8 +3281,9 @@ Discover and inspect a ServiceNow table schema including fields, types, and rela
|
|
|
3138
3281
|
|
|
3139
3282
|
```
|
|
3140
3283
|
USAGE
|
|
3141
|
-
$ nex schema -t <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
3142
|
-
[--include-choices] [--include-relationships] [--include-ui-policies]
|
|
3284
|
+
$ nex schema -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3285
|
+
debug|warn|error|info|trace] [--include-choices] [--include-relationships] [--include-ui-policies]
|
|
3286
|
+
[--include-business-rules]
|
|
3143
3287
|
|
|
3144
3288
|
FLAGS
|
|
3145
3289
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3153,6 +3297,10 @@ FLAGS
|
|
|
3153
3297
|
GLOBAL FLAGS
|
|
3154
3298
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3155
3299
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3300
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3301
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3302
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3303
|
+
stderr only.
|
|
3156
3304
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3157
3305
|
<options: debug|warn|error|info|trace>
|
|
3158
3306
|
|
|
@@ -3180,7 +3328,7 @@ EXAMPLES
|
|
|
3180
3328
|
$ nex schema --table incident --include-choices --include-relationships --auth dev
|
|
3181
3329
|
```
|
|
3182
3330
|
|
|
3183
|
-
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3331
|
+
_See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/schema/index.ts)_
|
|
3184
3332
|
|
|
3185
3333
|
## `nex schema field`
|
|
3186
3334
|
|
|
@@ -3188,8 +3336,8 @@ Get detailed information about a specific field on a ServiceNow table.
|
|
|
3188
3336
|
|
|
3189
3337
|
```
|
|
3190
3338
|
USAGE
|
|
3191
|
-
$ nex schema field -t <value> -f <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
3192
|
-
debug|warn|error|info|trace]
|
|
3339
|
+
$ nex schema field -t <value> -f <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
3340
|
+
[--log-level debug|warn|error|info|trace]
|
|
3193
3341
|
|
|
3194
3342
|
FLAGS
|
|
3195
3343
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3200,6 +3348,10 @@ FLAGS
|
|
|
3200
3348
|
GLOBAL FLAGS
|
|
3201
3349
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3202
3350
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3351
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3352
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3353
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3354
|
+
stderr only.
|
|
3203
3355
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3204
3356
|
<options: debug|warn|error|info|trace>
|
|
3205
3357
|
|
|
@@ -3219,7 +3371,7 @@ EXAMPLES
|
|
|
3219
3371
|
$ nex schema field --table incident --field priority --json --auth dev
|
|
3220
3372
|
```
|
|
3221
3373
|
|
|
3222
|
-
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3374
|
+
_See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/schema/field.ts)_
|
|
3223
3375
|
|
|
3224
3376
|
## `nex schema validate-catalog`
|
|
3225
3377
|
|
|
@@ -3227,7 +3379,8 @@ Validate a ServiceNow catalog item configuration for common issues.
|
|
|
3227
3379
|
|
|
3228
3380
|
```
|
|
3229
3381
|
USAGE
|
|
3230
|
-
$ nex schema validate-catalog -s <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
3382
|
+
$ nex schema validate-catalog -s <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3383
|
+
debug|warn|error|info|trace]
|
|
3231
3384
|
|
|
3232
3385
|
FLAGS
|
|
3233
3386
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3237,6 +3390,10 @@ FLAGS
|
|
|
3237
3390
|
GLOBAL FLAGS
|
|
3238
3391
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3239
3392
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3393
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3394
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3395
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3396
|
+
stderr only.
|
|
3240
3397
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3241
3398
|
<options: debug|warn|error|info|trace>
|
|
3242
3399
|
|
|
@@ -3256,7 +3413,7 @@ EXAMPLES
|
|
|
3256
3413
|
$ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
|
|
3257
3414
|
```
|
|
3258
3415
|
|
|
3259
|
-
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3416
|
+
_See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/schema/validate-catalog.ts)_
|
|
3260
3417
|
|
|
3261
3418
|
## `nex scope`
|
|
3262
3419
|
|
|
@@ -3264,7 +3421,8 @@ Get the current application scope or list available applications.
|
|
|
3264
3421
|
|
|
3265
3422
|
```
|
|
3266
3423
|
USAGE
|
|
3267
|
-
$ nex scope [--json] [-a <value>] [--cred-store] [--log-
|
|
3424
|
+
$ nex scope [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3425
|
+
debug|warn|error|info|trace] [-l]
|
|
3268
3426
|
|
|
3269
3427
|
FLAGS
|
|
3270
3428
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3274,6 +3432,10 @@ GLOBAL FLAGS
|
|
|
3274
3432
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3275
3433
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3276
3434
|
--json Format output as json.
|
|
3435
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3436
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3437
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3438
|
+
stderr only.
|
|
3277
3439
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3278
3440
|
<options: debug|warn|error|info|trace>
|
|
3279
3441
|
|
|
@@ -3294,7 +3456,7 @@ EXAMPLES
|
|
|
3294
3456
|
$ nex scope -l --json --auth dev
|
|
3295
3457
|
```
|
|
3296
3458
|
|
|
3297
|
-
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3459
|
+
_See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/scope/index.ts)_
|
|
3298
3460
|
|
|
3299
3461
|
## `nex scope set`
|
|
3300
3462
|
|
|
@@ -3302,7 +3464,8 @@ Set the current application scope on a ServiceNow instance.
|
|
|
3302
3464
|
|
|
3303
3465
|
```
|
|
3304
3466
|
USAGE
|
|
3305
|
-
$ nex scope set -a <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3467
|
+
$ nex scope set -a <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3468
|
+
debug|warn|error|info|trace]
|
|
3306
3469
|
|
|
3307
3470
|
FLAGS
|
|
3308
3471
|
-a, --app-id=<value> (required) 32-char sys_id of application
|
|
@@ -3312,6 +3475,10 @@ GLOBAL FLAGS
|
|
|
3312
3475
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3313
3476
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3314
3477
|
--json Format output as json.
|
|
3478
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3479
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3480
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3481
|
+
stderr only.
|
|
3315
3482
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3316
3483
|
<options: debug|warn|error|info|trace>
|
|
3317
3484
|
|
|
@@ -3328,7 +3495,7 @@ EXAMPLES
|
|
|
3328
3495
|
$ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
|
|
3329
3496
|
```
|
|
3330
3497
|
|
|
3331
|
-
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3498
|
+
_See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/scope/set.ts)_
|
|
3332
3499
|
|
|
3333
3500
|
## `nex script-sync pull`
|
|
3334
3501
|
|
|
@@ -3337,7 +3504,8 @@ Pull a script from a ServiceNow instance to a local file.
|
|
|
3337
3504
|
```
|
|
3338
3505
|
USAGE
|
|
3339
3506
|
$ nex script-sync pull -n <value> -t sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client
|
|
3340
|
-
[--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-o
|
|
3507
|
+
[--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level debug|warn|error|info|trace] [-o
|
|
3508
|
+
<value>]
|
|
3341
3509
|
|
|
3342
3510
|
FLAGS
|
|
3343
3511
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3350,6 +3518,10 @@ GLOBAL FLAGS
|
|
|
3350
3518
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3351
3519
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3352
3520
|
--json Format output as json.
|
|
3521
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3522
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3523
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3524
|
+
stderr only.
|
|
3353
3525
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3354
3526
|
<options: debug|warn|error|info|trace>
|
|
3355
3527
|
|
|
@@ -3379,7 +3551,7 @@ EXAMPLES
|
|
|
3379
3551
|
$ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
|
|
3380
3552
|
```
|
|
3381
3553
|
|
|
3382
|
-
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3554
|
+
_See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/script-sync/pull.ts)_
|
|
3383
3555
|
|
|
3384
3556
|
## `nex script-sync push`
|
|
3385
3557
|
|
|
@@ -3388,7 +3560,8 @@ Push a local script file to a ServiceNow instance.
|
|
|
3388
3560
|
```
|
|
3389
3561
|
USAGE
|
|
3390
3562
|
$ nex script-sync push -n <value> -t sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client -f
|
|
3391
|
-
<value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3563
|
+
<value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3564
|
+
debug|warn|error|info|trace]
|
|
3392
3565
|
|
|
3393
3566
|
FLAGS
|
|
3394
3567
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3401,6 +3574,10 @@ GLOBAL FLAGS
|
|
|
3401
3574
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3402
3575
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3403
3576
|
--json Format output as json.
|
|
3577
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3578
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3579
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3580
|
+
stderr only.
|
|
3404
3581
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3405
3582
|
<options: debug|warn|error|info|trace>
|
|
3406
3583
|
|
|
@@ -3431,7 +3608,7 @@ EXAMPLES
|
|
|
3431
3608
|
$ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
|
|
3432
3609
|
```
|
|
3433
3610
|
|
|
3434
|
-
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3611
|
+
_See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/script-sync/push.ts)_
|
|
3435
3612
|
|
|
3436
3613
|
## `nex script-sync sync`
|
|
3437
3614
|
|
|
@@ -3439,8 +3616,8 @@ Synchronize all scripts in a directory with a ServiceNow instance.
|
|
|
3439
3616
|
|
|
3440
3617
|
```
|
|
3441
3618
|
USAGE
|
|
3442
|
-
$ nex script-sync sync -d <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3443
|
-
sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client...]
|
|
3619
|
+
$ nex script-sync sync -d <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3620
|
+
debug|warn|error|info|trace] [-t sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client...]
|
|
3444
3621
|
|
|
3445
3622
|
FLAGS
|
|
3446
3623
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3452,6 +3629,10 @@ GLOBAL FLAGS
|
|
|
3452
3629
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3453
3630
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3454
3631
|
--json Format output as json.
|
|
3632
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3633
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3634
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3635
|
+
stderr only.
|
|
3455
3636
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3456
3637
|
<options: debug|warn|error|info|trace>
|
|
3457
3638
|
|
|
@@ -3481,7 +3662,7 @@ EXAMPLES
|
|
|
3481
3662
|
$ nex script-sync sync -d ./scripts --json --auth dev-instance
|
|
3482
3663
|
```
|
|
3483
3664
|
|
|
3484
|
-
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3665
|
+
_See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/script-sync/sync.ts)_
|
|
3485
3666
|
|
|
3486
3667
|
## `nex search`
|
|
3487
3668
|
|
|
@@ -3489,8 +3670,8 @@ Search platform code across a ServiceNow instance.
|
|
|
3489
3670
|
|
|
3490
3671
|
```
|
|
3491
3672
|
USAGE
|
|
3492
|
-
$ nex search -t <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3493
|
-
<value>] [-s <value>] [-g <value>] [--table <value>]
|
|
3673
|
+
$ nex search -t <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3674
|
+
debug|warn|error|info|trace] [-l <value>] [-s <value>] [-g <value>] [--table <value>]
|
|
3494
3675
|
|
|
3495
3676
|
FLAGS
|
|
3496
3677
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3504,6 +3685,10 @@ GLOBAL FLAGS
|
|
|
3504
3685
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3505
3686
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3506
3687
|
--json Format output as json.
|
|
3688
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3689
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3690
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3691
|
+
stderr only.
|
|
3507
3692
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3508
3693
|
<options: debug|warn|error|info|trace>
|
|
3509
3694
|
|
|
@@ -3539,7 +3724,7 @@ EXAMPLES
|
|
|
3539
3724
|
$ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
|
|
3540
3725
|
```
|
|
3541
3726
|
|
|
3542
|
-
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3727
|
+
_See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/search/index.ts)_
|
|
3543
3728
|
|
|
3544
3729
|
## `nex search add-table`
|
|
3545
3730
|
|
|
@@ -3547,8 +3732,8 @@ Add a table to a code search group on a ServiceNow instance.
|
|
|
3547
3732
|
|
|
3548
3733
|
```
|
|
3549
3734
|
USAGE
|
|
3550
|
-
$ nex search add-table -f <value> -g <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3551
|
-
debug|warn|error|info|trace]
|
|
3735
|
+
$ nex search add-table -f <value> -g <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>]
|
|
3736
|
+
[--log-file] [--log-level debug|warn|error|info|trace]
|
|
3552
3737
|
|
|
3553
3738
|
FLAGS
|
|
3554
3739
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3560,6 +3745,10 @@ GLOBAL FLAGS
|
|
|
3560
3745
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3561
3746
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3562
3747
|
--json Format output as json.
|
|
3748
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3749
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3750
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3751
|
+
stderr only.
|
|
3563
3752
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3564
3753
|
<options: debug|warn|error|info|trace>
|
|
3565
3754
|
|
|
@@ -3591,7 +3780,7 @@ EXAMPLES
|
|
|
3591
3780
|
dev-instance
|
|
3592
3781
|
```
|
|
3593
3782
|
|
|
3594
|
-
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3783
|
+
_See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/search/add-table.ts)_
|
|
3595
3784
|
|
|
3596
3785
|
## `nex search groups`
|
|
3597
3786
|
|
|
@@ -3599,7 +3788,8 @@ List all available code search groups on a ServiceNow instance.
|
|
|
3599
3788
|
|
|
3600
3789
|
```
|
|
3601
3790
|
USAGE
|
|
3602
|
-
$ nex search groups [--json] [-a <value>] [--cred-store] [--log-
|
|
3791
|
+
$ nex search groups [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3792
|
+
debug|warn|error|info|trace]
|
|
3603
3793
|
|
|
3604
3794
|
FLAGS
|
|
3605
3795
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3608,6 +3798,10 @@ GLOBAL FLAGS
|
|
|
3608
3798
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3609
3799
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3610
3800
|
--json Format output as json.
|
|
3801
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3802
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3803
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3804
|
+
stderr only.
|
|
3611
3805
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3612
3806
|
<options: debug|warn|error|info|trace>
|
|
3613
3807
|
|
|
@@ -3631,7 +3825,7 @@ EXAMPLES
|
|
|
3631
3825
|
$ nex search groups --json --auth dev-instance
|
|
3632
3826
|
```
|
|
3633
3827
|
|
|
3634
|
-
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3828
|
+
_See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/search/groups.ts)_
|
|
3635
3829
|
|
|
3636
3830
|
## `nex search tables`
|
|
3637
3831
|
|
|
@@ -3639,7 +3833,8 @@ List tables configured for a specific code search group.
|
|
|
3639
3833
|
|
|
3640
3834
|
```
|
|
3641
3835
|
USAGE
|
|
3642
|
-
$ nex search tables -g <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3836
|
+
$ nex search tables -g <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3837
|
+
debug|warn|error|info|trace]
|
|
3643
3838
|
|
|
3644
3839
|
FLAGS
|
|
3645
3840
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3649,6 +3844,10 @@ GLOBAL FLAGS
|
|
|
3649
3844
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3650
3845
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3651
3846
|
--json Format output as json.
|
|
3847
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3848
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3849
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3850
|
+
stderr only.
|
|
3652
3851
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3653
3852
|
<options: debug|warn|error|info|trace>
|
|
3654
3853
|
|
|
@@ -3673,7 +3872,7 @@ EXAMPLES
|
|
|
3673
3872
|
$ nex search tables --search-group "Business Rules" --json --auth dev-instance
|
|
3674
3873
|
```
|
|
3675
3874
|
|
|
3676
|
-
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3875
|
+
_See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/search/tables.ts)_
|
|
3677
3876
|
|
|
3678
3877
|
## `nex store install`
|
|
3679
3878
|
|
|
@@ -3681,8 +3880,8 @@ Install an application from the ServiceNow Store.
|
|
|
3681
3880
|
|
|
3682
3881
|
```
|
|
3683
3882
|
USAGE
|
|
3684
|
-
$ nex store install -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3685
|
-
debug|warn|error|info|trace] [--demo-data] [--no-wait] [--poll-interval <value>] [--timeout <value>]
|
|
3883
|
+
$ nex store install -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
3884
|
+
[--log-level debug|warn|error|info|trace] [--demo-data] [--no-wait] [--poll-interval <value>] [--timeout <value>]
|
|
3686
3885
|
|
|
3687
3886
|
FLAGS
|
|
3688
3887
|
-a, --app-id=<value> (required) Store application sys_id
|
|
@@ -3697,6 +3896,10 @@ GLOBAL FLAGS
|
|
|
3697
3896
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3698
3897
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3699
3898
|
--json Format output as json.
|
|
3899
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3900
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3901
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3902
|
+
stderr only.
|
|
3700
3903
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3701
3904
|
<options: debug|warn|error|info|trace>
|
|
3702
3905
|
|
|
@@ -3717,7 +3920,7 @@ EXAMPLES
|
|
|
3717
3920
|
$ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
|
|
3718
3921
|
```
|
|
3719
3922
|
|
|
3720
|
-
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3923
|
+
_See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/store/install.ts)_
|
|
3721
3924
|
|
|
3722
3925
|
## `nex store search`
|
|
3723
3926
|
|
|
@@ -3725,8 +3928,8 @@ Search for applications in the ServiceNow Store.
|
|
|
3725
3928
|
|
|
3726
3929
|
```
|
|
3727
3930
|
USAGE
|
|
3728
|
-
$ nex store search [--json] [-a <value>] [--cred-store] [--log-
|
|
3729
|
-
<value>] [--tab available_for_you|installed|updates] [-t <value>]
|
|
3931
|
+
$ nex store search [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
3932
|
+
debug|warn|error|info|trace] [--limit <value>] [--tab available_for_you|installed|updates] [-t <value>]
|
|
3730
3933
|
|
|
3731
3934
|
FLAGS
|
|
3732
3935
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3739,6 +3942,10 @@ GLOBAL FLAGS
|
|
|
3739
3942
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3740
3943
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3741
3944
|
--json Format output as json.
|
|
3945
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3946
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3947
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3948
|
+
stderr only.
|
|
3742
3949
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3743
3950
|
<options: debug|warn|error|info|trace>
|
|
3744
3951
|
|
|
@@ -3759,7 +3966,7 @@ EXAMPLES
|
|
|
3759
3966
|
$ nex store search --tab updates --limit 10 --auth dev
|
|
3760
3967
|
```
|
|
3761
3968
|
|
|
3762
|
-
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
3969
|
+
_See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/store/search.ts)_
|
|
3763
3970
|
|
|
3764
3971
|
## `nex store update`
|
|
3765
3972
|
|
|
@@ -3767,8 +3974,8 @@ Update a ServiceNow Store application to a new version.
|
|
|
3767
3974
|
|
|
3768
3975
|
```
|
|
3769
3976
|
USAGE
|
|
3770
|
-
$ nex store update -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3771
|
-
debug|warn|error|info|trace] [--no-wait] [--poll-interval <value>] [--timeout <value>]
|
|
3977
|
+
$ nex store update -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
3978
|
+
[--log-level debug|warn|error|info|trace] [--no-wait] [--poll-interval <value>] [--timeout <value>]
|
|
3772
3979
|
|
|
3773
3980
|
FLAGS
|
|
3774
3981
|
-a, --app-id=<value> (required) Store application sys_id
|
|
@@ -3782,6 +3989,10 @@ GLOBAL FLAGS
|
|
|
3782
3989
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3783
3990
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3784
3991
|
--json Format output as json.
|
|
3992
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
3993
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
3994
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
3995
|
+
stderr only.
|
|
3785
3996
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3786
3997
|
<options: debug|warn|error|info|trace>
|
|
3787
3998
|
|
|
@@ -3802,7 +4013,7 @@ EXAMPLES
|
|
|
3802
4013
|
$ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
|
|
3803
4014
|
```
|
|
3804
4015
|
|
|
3805
|
-
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4016
|
+
_See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/store/update.ts)_
|
|
3806
4017
|
|
|
3807
4018
|
## `nex store validate`
|
|
3808
4019
|
|
|
@@ -3810,7 +4021,8 @@ Validate a batch installation definition file.
|
|
|
3810
4021
|
|
|
3811
4022
|
```
|
|
3812
4023
|
USAGE
|
|
3813
|
-
$ nex store validate -f <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
4024
|
+
$ nex store validate -f <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
4025
|
+
debug|warn|error|info|trace]
|
|
3814
4026
|
|
|
3815
4027
|
FLAGS
|
|
3816
4028
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3820,6 +4032,10 @@ GLOBAL FLAGS
|
|
|
3820
4032
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3821
4033
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3822
4034
|
--json Format output as json.
|
|
4035
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4036
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4037
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4038
|
+
stderr only.
|
|
3823
4039
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3824
4040
|
<options: debug|warn|error|info|trace>
|
|
3825
4041
|
|
|
@@ -3832,7 +4048,7 @@ EXAMPLES
|
|
|
3832
4048
|
$ nex store validate --file ./batch-definition.json --auth dev
|
|
3833
4049
|
```
|
|
3834
4050
|
|
|
3835
|
-
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4051
|
+
_See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/store/validate.ts)_
|
|
3836
4052
|
|
|
3837
4053
|
## `nex task approve`
|
|
3838
4054
|
|
|
@@ -3840,8 +4056,8 @@ Approve a ServiceNow change request.
|
|
|
3840
4056
|
|
|
3841
4057
|
```
|
|
3842
4058
|
USAGE
|
|
3843
|
-
$ nex task approve -n <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3844
|
-
<value>]
|
|
4059
|
+
$ nex task approve -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
4060
|
+
debug|warn|error|info|trace] [-c <value>]
|
|
3845
4061
|
|
|
3846
4062
|
FLAGS
|
|
3847
4063
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3852,6 +4068,10 @@ GLOBAL FLAGS
|
|
|
3852
4068
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3853
4069
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3854
4070
|
--json Format output as json.
|
|
4071
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4072
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4073
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4074
|
+
stderr only.
|
|
3855
4075
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3856
4076
|
<options: debug|warn|error|info|trace>
|
|
3857
4077
|
|
|
@@ -3875,7 +4095,7 @@ EXAMPLES
|
|
|
3875
4095
|
$ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
|
|
3876
4096
|
```
|
|
3877
4097
|
|
|
3878
|
-
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4098
|
+
_See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/approve.ts)_
|
|
3879
4099
|
|
|
3880
4100
|
## `nex task assign`
|
|
3881
4101
|
|
|
@@ -3883,8 +4103,8 @@ Assign a ServiceNow task to a user or group.
|
|
|
3883
4103
|
|
|
3884
4104
|
```
|
|
3885
4105
|
USAGE
|
|
3886
|
-
$ nex task assign -n <value> -u <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3887
|
-
debug|warn|error|info|trace] [-g <value>] [--table <value>]
|
|
4106
|
+
$ nex task assign -n <value> -u <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
4107
|
+
[--log-level debug|warn|error|info|trace] [-g <value>] [--table <value>]
|
|
3888
4108
|
|
|
3889
4109
|
FLAGS
|
|
3890
4110
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3897,6 +4117,10 @@ GLOBAL FLAGS
|
|
|
3897
4117
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3898
4118
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3899
4119
|
--json Format output as json.
|
|
4120
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4121
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4122
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4123
|
+
stderr only.
|
|
3900
4124
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3901
4125
|
<options: debug|warn|error|info|trace>
|
|
3902
4126
|
|
|
@@ -3927,7 +4151,7 @@ EXAMPLES
|
|
|
3927
4151
|
$ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
|
|
3928
4152
|
```
|
|
3929
4153
|
|
|
3930
|
-
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4154
|
+
_See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/assign.ts)_
|
|
3931
4155
|
|
|
3932
4156
|
## `nex task close`
|
|
3933
4157
|
|
|
@@ -3935,8 +4159,8 @@ Close a ServiceNow incident.
|
|
|
3935
4159
|
|
|
3936
4160
|
```
|
|
3937
4161
|
USAGE
|
|
3938
|
-
$ nex task close --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3939
|
-
debug|warn|error|info|trace] [--close-code <value>]
|
|
4162
|
+
$ nex task close --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>]
|
|
4163
|
+
[--log-file] [--log-level debug|warn|error|info|trace] [--close-code <value>]
|
|
3940
4164
|
|
|
3941
4165
|
FLAGS
|
|
3942
4166
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3948,6 +4172,10 @@ GLOBAL FLAGS
|
|
|
3948
4172
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3949
4173
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3950
4174
|
--json Format output as json.
|
|
4175
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4176
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4177
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4178
|
+
stderr only.
|
|
3951
4179
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3952
4180
|
<options: debug|warn|error|info|trace>
|
|
3953
4181
|
|
|
@@ -3972,7 +4200,7 @@ EXAMPLES
|
|
|
3972
4200
|
$ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
|
|
3973
4201
|
```
|
|
3974
4202
|
|
|
3975
|
-
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4203
|
+
_See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/close.ts)_
|
|
3976
4204
|
|
|
3977
4205
|
## `nex task comment`
|
|
3978
4206
|
|
|
@@ -3980,8 +4208,8 @@ Add a comment or work note to a ServiceNow task.
|
|
|
3980
4208
|
|
|
3981
4209
|
```
|
|
3982
4210
|
USAGE
|
|
3983
|
-
$ nex task comment -c <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
3984
|
-
debug|warn|error|info|trace] [--table <value>] [--work-note]
|
|
4211
|
+
$ nex task comment -c <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
4212
|
+
[--log-level debug|warn|error|info|trace] [--table <value>] [--work-note]
|
|
3985
4213
|
|
|
3986
4214
|
FLAGS
|
|
3987
4215
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -3994,6 +4222,10 @@ GLOBAL FLAGS
|
|
|
3994
4222
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
3995
4223
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
3996
4224
|
--json Format output as json.
|
|
4225
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4226
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4227
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4228
|
+
stderr only.
|
|
3997
4229
|
--log-level=<option> [default: info] Specify level for logging.
|
|
3998
4230
|
<options: debug|warn|error|info|trace>
|
|
3999
4231
|
|
|
@@ -4023,7 +4255,7 @@ EXAMPLES
|
|
|
4023
4255
|
$ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
|
|
4024
4256
|
```
|
|
4025
4257
|
|
|
4026
|
-
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4258
|
+
_See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/comment.ts)_
|
|
4027
4259
|
|
|
4028
4260
|
## `nex task find`
|
|
4029
4261
|
|
|
@@ -4031,8 +4263,8 @@ Find a ServiceNow task by its number.
|
|
|
4031
4263
|
|
|
4032
4264
|
```
|
|
4033
4265
|
USAGE
|
|
4034
|
-
$ nex task find -n <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
4035
|
-
[--table <value>]
|
|
4266
|
+
$ nex task find -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
4267
|
+
debug|warn|error|info|trace] [--table <value>]
|
|
4036
4268
|
|
|
4037
4269
|
FLAGS
|
|
4038
4270
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4043,6 +4275,10 @@ GLOBAL FLAGS
|
|
|
4043
4275
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4044
4276
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4045
4277
|
--json Format output as json.
|
|
4278
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4279
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4280
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4281
|
+
stderr only.
|
|
4046
4282
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4047
4283
|
<options: debug|warn|error|info|trace>
|
|
4048
4284
|
|
|
@@ -4071,7 +4307,7 @@ EXAMPLES
|
|
|
4071
4307
|
$ nex task find -n INC0010001 --json --auth dev
|
|
4072
4308
|
```
|
|
4073
4309
|
|
|
4074
|
-
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4310
|
+
_See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/find.ts)_
|
|
4075
4311
|
|
|
4076
4312
|
## `nex task resolve`
|
|
4077
4313
|
|
|
@@ -4079,8 +4315,8 @@ Resolve a ServiceNow incident with resolution notes.
|
|
|
4079
4315
|
|
|
4080
4316
|
```
|
|
4081
4317
|
USAGE
|
|
4082
|
-
$ nex task resolve --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
4083
|
-
debug|warn|error|info|trace] [--close-code <value>]
|
|
4318
|
+
$ nex task resolve --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>]
|
|
4319
|
+
[--log-file] [--log-level debug|warn|error|info|trace] [--close-code <value>]
|
|
4084
4320
|
|
|
4085
4321
|
FLAGS
|
|
4086
4322
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4092,6 +4328,10 @@ GLOBAL FLAGS
|
|
|
4092
4328
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4093
4329
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4094
4330
|
--json Format output as json.
|
|
4331
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4332
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4333
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4334
|
+
stderr only.
|
|
4095
4335
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4096
4336
|
<options: debug|warn|error|info|trace>
|
|
4097
4337
|
|
|
@@ -4116,7 +4356,7 @@ EXAMPLES
|
|
|
4116
4356
|
$ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
|
|
4117
4357
|
```
|
|
4118
4358
|
|
|
4119
|
-
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4359
|
+
_See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/task/resolve.ts)_
|
|
4120
4360
|
|
|
4121
4361
|
## `nex update-set`
|
|
4122
4362
|
|
|
@@ -4124,8 +4364,8 @@ List update sets on a ServiceNow instance.
|
|
|
4124
4364
|
|
|
4125
4365
|
```
|
|
4126
4366
|
USAGE
|
|
4127
|
-
$ nex update-set [--json] [-a <value>] [--cred-store] [--log-
|
|
4128
|
-
<value>] [-q <value>]
|
|
4367
|
+
$ nex update-set [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
4368
|
+
debug|warn|error|info|trace] [--limit <value>] [-q <value>]
|
|
4129
4369
|
|
|
4130
4370
|
FLAGS
|
|
4131
4371
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4136,6 +4376,10 @@ GLOBAL FLAGS
|
|
|
4136
4376
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4137
4377
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4138
4378
|
--json Format output as json.
|
|
4379
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4380
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4381
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4382
|
+
stderr only.
|
|
4139
4383
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4140
4384
|
<options: debug|warn|error|info|trace>
|
|
4141
4385
|
|
|
@@ -4156,7 +4400,7 @@ EXAMPLES
|
|
|
4156
4400
|
$ nex update-set --json --auth dev-instance
|
|
4157
4401
|
```
|
|
4158
4402
|
|
|
4159
|
-
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4403
|
+
_See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/index.ts)_
|
|
4160
4404
|
|
|
4161
4405
|
## `nex update-set clone`
|
|
4162
4406
|
|
|
@@ -4164,8 +4408,8 @@ Clone an update set and its records.
|
|
|
4164
4408
|
|
|
4165
4409
|
```
|
|
4166
4410
|
USAGE
|
|
4167
|
-
$ nex update-set clone -n <value> -s <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
4168
|
-
debug|warn|error|info|trace]
|
|
4411
|
+
$ nex update-set clone -n <value> -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
4412
|
+
[--log-level debug|warn|error|info|trace]
|
|
4169
4413
|
|
|
4170
4414
|
FLAGS
|
|
4171
4415
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4176,6 +4420,10 @@ GLOBAL FLAGS
|
|
|
4176
4420
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4177
4421
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4178
4422
|
--json Format output as json.
|
|
4423
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4424
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4425
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4426
|
+
stderr only.
|
|
4179
4427
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4180
4428
|
<options: debug|warn|error|info|trace>
|
|
4181
4429
|
|
|
@@ -4192,7 +4440,7 @@ EXAMPLES
|
|
|
4192
4440
|
$ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
|
|
4193
4441
|
```
|
|
4194
4442
|
|
|
4195
|
-
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4443
|
+
_See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/clone.ts)_
|
|
4196
4444
|
|
|
4197
4445
|
## `nex update-set create`
|
|
4198
4446
|
|
|
@@ -4200,8 +4448,8 @@ Create a new update set.
|
|
|
4200
4448
|
|
|
4201
4449
|
```
|
|
4202
4450
|
USAGE
|
|
4203
|
-
$ nex update-set create -n <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
4204
|
-
[--application <value>] [-d <value>]
|
|
4451
|
+
$ nex update-set create -n <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
4452
|
+
debug|warn|error|info|trace] [--application <value>] [-d <value>]
|
|
4205
4453
|
|
|
4206
4454
|
FLAGS
|
|
4207
4455
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4213,6 +4461,10 @@ GLOBAL FLAGS
|
|
|
4213
4461
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4214
4462
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4215
4463
|
--json Format output as json.
|
|
4464
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4465
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4466
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4467
|
+
stderr only.
|
|
4216
4468
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4217
4469
|
<options: debug|warn|error|info|trace>
|
|
4218
4470
|
|
|
@@ -4233,7 +4485,7 @@ EXAMPLES
|
|
|
4233
4485
|
$ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
|
|
4234
4486
|
```
|
|
4235
4487
|
|
|
4236
|
-
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4488
|
+
_See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/create.ts)_
|
|
4237
4489
|
|
|
4238
4490
|
## `nex update-set current`
|
|
4239
4491
|
|
|
@@ -4241,7 +4493,8 @@ Get or set the current update set.
|
|
|
4241
4493
|
|
|
4242
4494
|
```
|
|
4243
4495
|
USAGE
|
|
4244
|
-
$ nex update-set current [--json] [-a <value>] [--cred-store] [--log-
|
|
4496
|
+
$ nex update-set current [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
4497
|
+
debug|warn|error|info|trace] [-s <value>]
|
|
4245
4498
|
|
|
4246
4499
|
FLAGS
|
|
4247
4500
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4251,6 +4504,10 @@ GLOBAL FLAGS
|
|
|
4251
4504
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4252
4505
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4253
4506
|
--json Format output as json.
|
|
4507
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4508
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4509
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4510
|
+
stderr only.
|
|
4254
4511
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4255
4512
|
<options: debug|warn|error|info|trace>
|
|
4256
4513
|
|
|
@@ -4271,7 +4528,7 @@ EXAMPLES
|
|
|
4271
4528
|
$ nex update-set current --json --auth dev-instance
|
|
4272
4529
|
```
|
|
4273
4530
|
|
|
4274
|
-
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4531
|
+
_See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/current.ts)_
|
|
4275
4532
|
|
|
4276
4533
|
## `nex update-set inspect`
|
|
4277
4534
|
|
|
@@ -4279,7 +4536,8 @@ Inspect the components of an update set.
|
|
|
4279
4536
|
|
|
4280
4537
|
```
|
|
4281
4538
|
USAGE
|
|
4282
|
-
$ nex update-set inspect -s <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
4539
|
+
$ nex update-set inspect -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
4540
|
+
debug|warn|error|info|trace]
|
|
4283
4541
|
|
|
4284
4542
|
FLAGS
|
|
4285
4543
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4289,6 +4547,10 @@ GLOBAL FLAGS
|
|
|
4289
4547
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4290
4548
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4291
4549
|
--json Format output as json.
|
|
4550
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4551
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4552
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4553
|
+
stderr only.
|
|
4292
4554
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4293
4555
|
<options: debug|warn|error|info|trace>
|
|
4294
4556
|
|
|
@@ -4305,7 +4567,7 @@ EXAMPLES
|
|
|
4305
4567
|
$ nex update-set inspect --sys-id us-001 --json --auth dev-instance
|
|
4306
4568
|
```
|
|
4307
4569
|
|
|
4308
|
-
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4570
|
+
_See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/inspect.ts)_
|
|
4309
4571
|
|
|
4310
4572
|
## `nex update-set move`
|
|
4311
4573
|
|
|
@@ -4313,8 +4575,8 @@ Move records between update sets.
|
|
|
4313
4575
|
|
|
4314
4576
|
```
|
|
4315
4577
|
USAGE
|
|
4316
|
-
$ nex update-set move --target <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
4317
|
-
debug|warn|error|info|trace] [--records <value>] [--source <value>]
|
|
4578
|
+
$ nex update-set move --target <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
4579
|
+
[--log-level debug|warn|error|info|trace] [--records <value>] [--source <value>]
|
|
4318
4580
|
|
|
4319
4581
|
FLAGS
|
|
4320
4582
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4326,6 +4588,10 @@ GLOBAL FLAGS
|
|
|
4326
4588
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4327
4589
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4328
4590
|
--json Format output as json.
|
|
4591
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4592
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4593
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4594
|
+
stderr only.
|
|
4329
4595
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4330
4596
|
<options: debug|warn|error|info|trace>
|
|
4331
4597
|
|
|
@@ -4346,7 +4612,7 @@ EXAMPLES
|
|
|
4346
4612
|
$ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
|
|
4347
4613
|
```
|
|
4348
4614
|
|
|
4349
|
-
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4615
|
+
_See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/update-set/move.ts)_
|
|
4350
4616
|
|
|
4351
4617
|
## `nex workflow create`
|
|
4352
4618
|
|
|
@@ -4354,7 +4620,8 @@ Create a complete workflow from a JSON specification file.
|
|
|
4354
4620
|
|
|
4355
4621
|
```
|
|
4356
4622
|
USAGE
|
|
4357
|
-
$ nex workflow create -s <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
4623
|
+
$ nex workflow create -s <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file] [--log-level
|
|
4624
|
+
debug|warn|error|info|trace]
|
|
4358
4625
|
|
|
4359
4626
|
FLAGS
|
|
4360
4627
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4364,6 +4631,10 @@ GLOBAL FLAGS
|
|
|
4364
4631
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4365
4632
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4366
4633
|
--json Format output as json.
|
|
4634
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4635
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4636
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4637
|
+
stderr only.
|
|
4367
4638
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4368
4639
|
<options: debug|warn|error|info|trace>
|
|
4369
4640
|
|
|
@@ -4380,7 +4651,7 @@ EXAMPLES
|
|
|
4380
4651
|
$ nex workflow create -s ./workflow.json --json --auth dev
|
|
4381
4652
|
```
|
|
4382
4653
|
|
|
4383
|
-
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4654
|
+
_See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/workflow/create.ts)_
|
|
4384
4655
|
|
|
4385
4656
|
## `nex workflow publish`
|
|
4386
4657
|
|
|
@@ -4388,8 +4659,8 @@ Publish a workflow version.
|
|
|
4388
4659
|
|
|
4389
4660
|
```
|
|
4390
4661
|
USAGE
|
|
4391
|
-
$ nex workflow publish -s <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-
|
|
4392
|
-
debug|warn|error|info|trace]
|
|
4662
|
+
$ nex workflow publish -s <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
4663
|
+
[--log-level debug|warn|error|info|trace]
|
|
4393
4664
|
|
|
4394
4665
|
FLAGS
|
|
4395
4666
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4400,6 +4671,10 @@ GLOBAL FLAGS
|
|
|
4400
4671
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4401
4672
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4402
4673
|
--json Format output as json.
|
|
4674
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4675
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4676
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4677
|
+
stderr only.
|
|
4403
4678
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4404
4679
|
<options: debug|warn|error|info|trace>
|
|
4405
4680
|
|
|
@@ -4416,7 +4691,7 @@ EXAMPLES
|
|
|
4416
4691
|
$ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
|
|
4417
4692
|
```
|
|
4418
4693
|
|
|
4419
|
-
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4694
|
+
_See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/workflow/publish.ts)_
|
|
4420
4695
|
|
|
4421
4696
|
## `nex xml export`
|
|
4422
4697
|
|
|
@@ -4424,8 +4699,8 @@ Export a single ServiceNow record as XML.
|
|
|
4424
4699
|
|
|
4425
4700
|
```
|
|
4426
4701
|
USAGE
|
|
4427
|
-
$ nex xml export -t <value> -s <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
4428
|
-
debug|warn|error|info|trace] [-o <value>]
|
|
4702
|
+
$ nex xml export -t <value> -s <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
4703
|
+
[--log-level debug|warn|error|info|trace] [-o <value>]
|
|
4429
4704
|
|
|
4430
4705
|
FLAGS
|
|
4431
4706
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4437,6 +4712,10 @@ FLAGS
|
|
|
4437
4712
|
GLOBAL FLAGS
|
|
4438
4713
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4439
4714
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4715
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4716
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4717
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4718
|
+
stderr only.
|
|
4440
4719
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4441
4720
|
<options: debug|warn|error|info|trace>
|
|
4442
4721
|
|
|
@@ -4466,7 +4745,7 @@ EXAMPLES
|
|
|
4466
4745
|
$ nex xml export --table sys_script --sys-id abc123 --json --auth dev
|
|
4467
4746
|
```
|
|
4468
4747
|
|
|
4469
|
-
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4748
|
+
_See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/xml/export.ts)_
|
|
4470
4749
|
|
|
4471
4750
|
## `nex xml import`
|
|
4472
4751
|
|
|
@@ -4474,8 +4753,8 @@ Import XML records into a ServiceNow instance.
|
|
|
4474
4753
|
|
|
4475
4754
|
```
|
|
4476
4755
|
USAGE
|
|
4477
|
-
$ nex xml import -f <value> -t <value> [-j] [-a <value>] [--cred-store] [--log-
|
|
4478
|
-
debug|warn|error|info|trace]
|
|
4756
|
+
$ nex xml import -f <value> -t <value> [-j] [-a <value>] [--cred-store] [--log-dir <value>] [--log-file]
|
|
4757
|
+
[--log-level debug|warn|error|info|trace]
|
|
4479
4758
|
|
|
4480
4759
|
FLAGS
|
|
4481
4760
|
-a, --auth=<value> Auth alias to use.
|
|
@@ -4486,6 +4765,10 @@ FLAGS
|
|
|
4486
4765
|
GLOBAL FLAGS
|
|
4487
4766
|
--cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
|
|
4488
4767
|
sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
|
|
4768
|
+
--log-dir=<value> Directory to write log files to. Implies --log-file.
|
|
4769
|
+
--log-file Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs
|
|
4770
|
+
(~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to
|
|
4771
|
+
stderr only.
|
|
4489
4772
|
--log-level=<option> [default: info] Specify level for logging.
|
|
4490
4773
|
<options: debug|warn|error|info|trace>
|
|
4491
4774
|
|
|
@@ -4510,7 +4793,7 @@ EXAMPLES
|
|
|
4510
4793
|
$ nex xml import --file ./records.xml --table incident --json --auth dev
|
|
4511
4794
|
```
|
|
4512
4795
|
|
|
4513
|
-
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0
|
|
4796
|
+
_See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.1.0/src/commands/xml/import.ts)_
|
|
4514
4797
|
<!-- commandsstop -->
|
|
4515
4798
|
|
|
4516
4799
|
---
|