@sonisoft/now-sdk-ext-cli 5.7.1 → 5.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +86 -80
- package/oclif.manifest.json +647 -647
- package/package.json +2 -2
package/oclif.manifest.json
CHANGED
|
@@ -5227,6 +5227,172 @@
|
|
|
5227
5227
|
"test.js"
|
|
5228
5228
|
]
|
|
5229
5229
|
},
|
|
5230
|
+
"health:check": {
|
|
5231
|
+
"aliases": [],
|
|
5232
|
+
"args": {},
|
|
5233
|
+
"description": "Run a consolidated health check on a ServiceNow instance.\n\nPerforms comprehensive diagnostics including version info, cluster status, stuck job detection, semaphore counts, and operational record counts.\n\nFeatures:\n • Instance version and build information\n • Cluster node status\n • Stuck job detection with configurable threshold\n • Active semaphore count\n • Operational counts (incidents, changes, problems)\n • Color-coded status indicators\n • JSON output for CI/CD monitoring",
|
|
5234
|
+
"examples": [
|
|
5235
|
+
{
|
|
5236
|
+
"description": "Run full health check",
|
|
5237
|
+
"command": "<%= config.bin %> <%= command.id %> --auth dev"
|
|
5238
|
+
},
|
|
5239
|
+
{
|
|
5240
|
+
"description": "Check only version and stuck jobs",
|
|
5241
|
+
"command": "<%= config.bin %> <%= command.id %> --include-version --include-stuck-jobs --no-include-cluster --no-include-semaphores --no-include-operational-counts --auth dev"
|
|
5242
|
+
},
|
|
5243
|
+
{
|
|
5244
|
+
"description": "Health check with custom stuck job threshold",
|
|
5245
|
+
"command": "<%= config.bin %> <%= command.id %> --stuck-job-threshold 60 --auth dev"
|
|
5246
|
+
},
|
|
5247
|
+
{
|
|
5248
|
+
"description": "Health check as JSON",
|
|
5249
|
+
"command": "<%= config.bin %> <%= command.id %> --json --auth dev"
|
|
5250
|
+
}
|
|
5251
|
+
],
|
|
5252
|
+
"flags": {
|
|
5253
|
+
"json": {
|
|
5254
|
+
"char": "j",
|
|
5255
|
+
"description": "Output results as JSON",
|
|
5256
|
+
"name": "json",
|
|
5257
|
+
"required": false,
|
|
5258
|
+
"allowNo": false,
|
|
5259
|
+
"type": "boolean"
|
|
5260
|
+
},
|
|
5261
|
+
"auth": {
|
|
5262
|
+
"char": "a",
|
|
5263
|
+
"description": "Auth alias to use.",
|
|
5264
|
+
"name": "auth",
|
|
5265
|
+
"required": false,
|
|
5266
|
+
"hasDynamicHelp": false,
|
|
5267
|
+
"multiple": false,
|
|
5268
|
+
"type": "option"
|
|
5269
|
+
},
|
|
5270
|
+
"cred-store": {
|
|
5271
|
+
"description": "Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.",
|
|
5272
|
+
"helpGroup": "GLOBAL",
|
|
5273
|
+
"name": "cred-store",
|
|
5274
|
+
"required": false,
|
|
5275
|
+
"allowNo": false,
|
|
5276
|
+
"type": "boolean"
|
|
5277
|
+
},
|
|
5278
|
+
"deny-execute": {
|
|
5279
|
+
"description": "Refuse background scripts, flow runs and ATF runs for this invocation.",
|
|
5280
|
+
"helpGroup": "GLOBAL",
|
|
5281
|
+
"name": "deny-execute",
|
|
5282
|
+
"required": false,
|
|
5283
|
+
"allowNo": false,
|
|
5284
|
+
"type": "boolean"
|
|
5285
|
+
},
|
|
5286
|
+
"deny-write": {
|
|
5287
|
+
"description": "Refuse any change to instance data for this invocation.",
|
|
5288
|
+
"helpGroup": "GLOBAL",
|
|
5289
|
+
"name": "deny-write",
|
|
5290
|
+
"required": false,
|
|
5291
|
+
"allowNo": false,
|
|
5292
|
+
"type": "boolean"
|
|
5293
|
+
},
|
|
5294
|
+
"log-dir": {
|
|
5295
|
+
"description": "Directory to write log files to. Implies --log-file.",
|
|
5296
|
+
"helpGroup": "GLOBAL",
|
|
5297
|
+
"name": "log-dir",
|
|
5298
|
+
"required": false,
|
|
5299
|
+
"hasDynamicHelp": false,
|
|
5300
|
+
"multiple": false,
|
|
5301
|
+
"type": "option"
|
|
5302
|
+
},
|
|
5303
|
+
"log-file": {
|
|
5304
|
+
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
5305
|
+
"helpGroup": "GLOBAL",
|
|
5306
|
+
"name": "log-file",
|
|
5307
|
+
"required": false,
|
|
5308
|
+
"allowNo": false,
|
|
5309
|
+
"type": "boolean"
|
|
5310
|
+
},
|
|
5311
|
+
"log-level": {
|
|
5312
|
+
"helpGroup": "GLOBAL",
|
|
5313
|
+
"name": "log-level",
|
|
5314
|
+
"summary": "Specify level for logging.",
|
|
5315
|
+
"default": "info",
|
|
5316
|
+
"hasDynamicHelp": false,
|
|
5317
|
+
"multiple": false,
|
|
5318
|
+
"options": [
|
|
5319
|
+
"debug",
|
|
5320
|
+
"warn",
|
|
5321
|
+
"error",
|
|
5322
|
+
"info",
|
|
5323
|
+
"trace"
|
|
5324
|
+
],
|
|
5325
|
+
"type": "option"
|
|
5326
|
+
},
|
|
5327
|
+
"read-only": {
|
|
5328
|
+
"description": "Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are unaffected.",
|
|
5329
|
+
"helpGroup": "GLOBAL",
|
|
5330
|
+
"name": "read-only",
|
|
5331
|
+
"required": false,
|
|
5332
|
+
"allowNo": false,
|
|
5333
|
+
"type": "boolean"
|
|
5334
|
+
},
|
|
5335
|
+
"include-version": {
|
|
5336
|
+
"description": "Include instance version information",
|
|
5337
|
+
"name": "include-version",
|
|
5338
|
+
"required": false,
|
|
5339
|
+
"allowNo": true,
|
|
5340
|
+
"type": "boolean"
|
|
5341
|
+
},
|
|
5342
|
+
"include-cluster": {
|
|
5343
|
+
"description": "Include cluster node status",
|
|
5344
|
+
"name": "include-cluster",
|
|
5345
|
+
"required": false,
|
|
5346
|
+
"allowNo": true,
|
|
5347
|
+
"type": "boolean"
|
|
5348
|
+
},
|
|
5349
|
+
"include-stuck-jobs": {
|
|
5350
|
+
"description": "Include stuck job detection",
|
|
5351
|
+
"name": "include-stuck-jobs",
|
|
5352
|
+
"required": false,
|
|
5353
|
+
"allowNo": true,
|
|
5354
|
+
"type": "boolean"
|
|
5355
|
+
},
|
|
5356
|
+
"include-semaphores": {
|
|
5357
|
+
"description": "Include active semaphore count",
|
|
5358
|
+
"name": "include-semaphores",
|
|
5359
|
+
"required": false,
|
|
5360
|
+
"allowNo": true,
|
|
5361
|
+
"type": "boolean"
|
|
5362
|
+
},
|
|
5363
|
+
"include-operational-counts": {
|
|
5364
|
+
"description": "Include operational record counts (incidents, changes, problems)",
|
|
5365
|
+
"name": "include-operational-counts",
|
|
5366
|
+
"required": false,
|
|
5367
|
+
"allowNo": true,
|
|
5368
|
+
"type": "boolean"
|
|
5369
|
+
},
|
|
5370
|
+
"stuck-job-threshold": {
|
|
5371
|
+
"description": "Minutes threshold for a job to be considered stuck",
|
|
5372
|
+
"name": "stuck-job-threshold",
|
|
5373
|
+
"required": false,
|
|
5374
|
+
"default": 30,
|
|
5375
|
+
"hasDynamicHelp": false,
|
|
5376
|
+
"multiple": false,
|
|
5377
|
+
"type": "option"
|
|
5378
|
+
}
|
|
5379
|
+
},
|
|
5380
|
+
"hasDynamicHelp": false,
|
|
5381
|
+
"hiddenAliases": [],
|
|
5382
|
+
"id": "health:check",
|
|
5383
|
+
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
5384
|
+
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
5385
|
+
"pluginType": "core",
|
|
5386
|
+
"strict": true,
|
|
5387
|
+
"enableJsonFlag": true,
|
|
5388
|
+
"isESM": true,
|
|
5389
|
+
"relativePath": [
|
|
5390
|
+
"dist",
|
|
5391
|
+
"commands",
|
|
5392
|
+
"health",
|
|
5393
|
+
"check.js"
|
|
5394
|
+
]
|
|
5395
|
+
},
|
|
5230
5396
|
"log": {
|
|
5231
5397
|
"aliases": [],
|
|
5232
5398
|
"args": {},
|
|
@@ -6435,22 +6601,22 @@
|
|
|
6435
6601
|
"validate-catalog.js"
|
|
6436
6602
|
]
|
|
6437
6603
|
},
|
|
6438
|
-
"
|
|
6604
|
+
"script-sync:pull": {
|
|
6439
6605
|
"aliases": [],
|
|
6440
6606
|
"args": {},
|
|
6441
|
-
"description": "
|
|
6607
|
+
"description": "Pull a script from a ServiceNow instance to a local file.\n\nThis command downloads a script record from your ServiceNow instance and saves it as a local file. Supports multiple script types including Script Includes, Business Rules, UI Scripts, UI Actions, and Client Scripts.\n\nFeatures:\n • Download scripts by name and type\n • Custom output file path support\n • Auto-generated file names based on script name and type\n • JSON output for CI/CD integration",
|
|
6442
6608
|
"examples": [
|
|
6443
6609
|
{
|
|
6444
|
-
"
|
|
6445
|
-
"
|
|
6610
|
+
"description": "Pull a Script Include to auto-generated file name",
|
|
6611
|
+
"command": "<%= config.bin %> <%= command.id %> --name MyScriptInclude --type sys_script_include --auth dev-instance"
|
|
6446
6612
|
},
|
|
6447
6613
|
{
|
|
6448
|
-
"
|
|
6449
|
-
"
|
|
6614
|
+
"description": "Pull a Business Rule to a specific file",
|
|
6615
|
+
"command": "<%= config.bin %> <%= command.id %> --name MyBusinessRule --type sys_script --output ./scripts/my-rule.js --auth dev-instance"
|
|
6450
6616
|
},
|
|
6451
6617
|
{
|
|
6452
|
-
"
|
|
6453
|
-
"
|
|
6618
|
+
"description": "Pull a Client Script with JSON output",
|
|
6619
|
+
"command": "<%= config.bin %> <%= command.id %> -n MyClientScript -t sys_script_client --json --auth dev-instance"
|
|
6454
6620
|
}
|
|
6455
6621
|
],
|
|
6456
6622
|
"flags": {
|
|
@@ -6535,18 +6701,44 @@
|
|
|
6535
6701
|
"allowNo": false,
|
|
6536
6702
|
"type": "boolean"
|
|
6537
6703
|
},
|
|
6538
|
-
"
|
|
6539
|
-
"char": "
|
|
6540
|
-
"description": "
|
|
6541
|
-
"name": "
|
|
6704
|
+
"name": {
|
|
6705
|
+
"char": "n",
|
|
6706
|
+
"description": "Name of the script to pull",
|
|
6707
|
+
"name": "name",
|
|
6708
|
+
"required": true,
|
|
6709
|
+
"hasDynamicHelp": false,
|
|
6710
|
+
"multiple": false,
|
|
6711
|
+
"type": "option"
|
|
6712
|
+
},
|
|
6713
|
+
"type": {
|
|
6714
|
+
"char": "t",
|
|
6715
|
+
"description": "Type of script to pull",
|
|
6716
|
+
"name": "type",
|
|
6717
|
+
"required": true,
|
|
6718
|
+
"hasDynamicHelp": false,
|
|
6719
|
+
"multiple": false,
|
|
6720
|
+
"options": [
|
|
6721
|
+
"sys_script_include",
|
|
6722
|
+
"sys_script",
|
|
6723
|
+
"sys_ui_script",
|
|
6724
|
+
"sys_ui_action",
|
|
6725
|
+
"sys_script_client"
|
|
6726
|
+
],
|
|
6727
|
+
"type": "option"
|
|
6728
|
+
},
|
|
6729
|
+
"output": {
|
|
6730
|
+
"char": "o",
|
|
6731
|
+
"description": "Output file path. If not specified, a file name is auto-generated.",
|
|
6732
|
+
"name": "output",
|
|
6542
6733
|
"required": false,
|
|
6543
|
-
"
|
|
6544
|
-
"
|
|
6734
|
+
"hasDynamicHelp": false,
|
|
6735
|
+
"multiple": false,
|
|
6736
|
+
"type": "option"
|
|
6545
6737
|
}
|
|
6546
6738
|
},
|
|
6547
6739
|
"hasDynamicHelp": false,
|
|
6548
6740
|
"hiddenAliases": [],
|
|
6549
|
-
"id": "
|
|
6741
|
+
"id": "script-sync:pull",
|
|
6550
6742
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6551
6743
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6552
6744
|
"pluginType": "core",
|
|
@@ -6556,22 +6748,26 @@
|
|
|
6556
6748
|
"relativePath": [
|
|
6557
6749
|
"dist",
|
|
6558
6750
|
"commands",
|
|
6559
|
-
"
|
|
6560
|
-
"
|
|
6751
|
+
"script-sync",
|
|
6752
|
+
"pull.js"
|
|
6561
6753
|
]
|
|
6562
6754
|
},
|
|
6563
|
-
"
|
|
6755
|
+
"script-sync:push": {
|
|
6564
6756
|
"aliases": [],
|
|
6565
6757
|
"args": {},
|
|
6566
|
-
"description": "
|
|
6758
|
+
"description": "Push a local script file to a ServiceNow instance.\n\nThis command uploads a local script file to your ServiceNow instance, updating the corresponding script record. Supports multiple script types including Script Includes, Business Rules, UI Scripts, UI Actions, and Client Scripts.\n\nFeatures:\n • Upload scripts by name and type\n • Specify the local file to push\n • JSON output for CI/CD integration\n • Detailed push result reporting",
|
|
6567
6759
|
"examples": [
|
|
6568
6760
|
{
|
|
6569
|
-
"
|
|
6570
|
-
"
|
|
6761
|
+
"description": "Push a Script Include from a local file",
|
|
6762
|
+
"command": "<%= config.bin %> <%= command.id %> --name MyScriptInclude --type sys_script_include --file ./scripts/MyScriptInclude.js --auth dev-instance"
|
|
6571
6763
|
},
|
|
6572
6764
|
{
|
|
6573
|
-
"
|
|
6574
|
-
"
|
|
6765
|
+
"description": "Push a Business Rule with short flags",
|
|
6766
|
+
"command": "<%= config.bin %> <%= command.id %> -n MyBusinessRule -t sys_script -f ./scripts/my-rule.js -a dev-instance"
|
|
6767
|
+
},
|
|
6768
|
+
{
|
|
6769
|
+
"description": "Push a UI Script with JSON output",
|
|
6770
|
+
"command": "<%= config.bin %> <%= command.id %> -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance"
|
|
6575
6771
|
}
|
|
6576
6772
|
],
|
|
6577
6773
|
"flags": {
|
|
@@ -6656,20 +6852,45 @@
|
|
|
6656
6852
|
"allowNo": false,
|
|
6657
6853
|
"type": "boolean"
|
|
6658
6854
|
},
|
|
6659
|
-
"
|
|
6660
|
-
"char": "
|
|
6661
|
-
"description": "
|
|
6662
|
-
"name": "
|
|
6855
|
+
"name": {
|
|
6856
|
+
"char": "n",
|
|
6857
|
+
"description": "Name of the script to push",
|
|
6858
|
+
"name": "name",
|
|
6663
6859
|
"required": true,
|
|
6664
6860
|
"hasDynamicHelp": false,
|
|
6665
6861
|
"multiple": false,
|
|
6666
6862
|
"type": "option"
|
|
6667
|
-
}
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6863
|
+
},
|
|
6864
|
+
"type": {
|
|
6865
|
+
"char": "t",
|
|
6866
|
+
"description": "Type of script to push",
|
|
6867
|
+
"name": "type",
|
|
6868
|
+
"required": true,
|
|
6869
|
+
"hasDynamicHelp": false,
|
|
6870
|
+
"multiple": false,
|
|
6871
|
+
"options": [
|
|
6872
|
+
"sys_script_include",
|
|
6873
|
+
"sys_script",
|
|
6874
|
+
"sys_ui_script",
|
|
6875
|
+
"sys_ui_action",
|
|
6876
|
+
"sys_script_client"
|
|
6877
|
+
],
|
|
6878
|
+
"type": "option"
|
|
6879
|
+
},
|
|
6880
|
+
"file": {
|
|
6881
|
+
"char": "f",
|
|
6882
|
+
"description": "Path to the local script file to push",
|
|
6883
|
+
"name": "file",
|
|
6884
|
+
"required": true,
|
|
6885
|
+
"hasDynamicHelp": false,
|
|
6886
|
+
"multiple": false,
|
|
6887
|
+
"type": "option"
|
|
6888
|
+
}
|
|
6889
|
+
},
|
|
6890
|
+
"hasDynamicHelp": false,
|
|
6891
|
+
"hiddenAliases": [],
|
|
6892
|
+
"id": "script-sync:push",
|
|
6893
|
+
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6673
6894
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6674
6895
|
"pluginType": "core",
|
|
6675
6896
|
"strict": true,
|
|
@@ -6678,26 +6899,26 @@
|
|
|
6678
6899
|
"relativePath": [
|
|
6679
6900
|
"dist",
|
|
6680
6901
|
"commands",
|
|
6681
|
-
"
|
|
6682
|
-
"
|
|
6902
|
+
"script-sync",
|
|
6903
|
+
"push.js"
|
|
6683
6904
|
]
|
|
6684
6905
|
},
|
|
6685
|
-
"script-sync:
|
|
6906
|
+
"script-sync:sync": {
|
|
6686
6907
|
"aliases": [],
|
|
6687
6908
|
"args": {},
|
|
6688
|
-
"description": "
|
|
6909
|
+
"description": "Synchronize all scripts in a directory with a ServiceNow instance.\n\nThis command scans a local directory for script files and synchronizes them with the corresponding records on your ServiceNow instance. You can optionally filter by script types to synchronize only specific kinds of scripts.\n\nFeatures:\n • Batch synchronization of all scripts in a directory\n • Filter by one or more script types\n • Summary report with success/failure counts\n • JSON output for CI/CD integration",
|
|
6689
6910
|
"examples": [
|
|
6690
6911
|
{
|
|
6691
|
-
"description": "
|
|
6692
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6912
|
+
"description": "Sync all scripts in a directory",
|
|
6913
|
+
"command": "<%= config.bin %> <%= command.id %> --directory ./scripts --auth dev-instance"
|
|
6693
6914
|
},
|
|
6694
6915
|
{
|
|
6695
|
-
"description": "
|
|
6696
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
6916
|
+
"description": "Sync only Script Includes and Business Rules",
|
|
6917
|
+
"command": "<%= config.bin %> <%= command.id %> --directory ./scripts --types sys_script_include --types sys_script --auth dev-instance"
|
|
6697
6918
|
},
|
|
6698
6919
|
{
|
|
6699
|
-
"description": "
|
|
6700
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
6920
|
+
"description": "Sync with JSON output for CI/CD",
|
|
6921
|
+
"command": "<%= config.bin %> <%= command.id %> -d ./scripts --json --auth dev-instance"
|
|
6701
6922
|
}
|
|
6702
6923
|
],
|
|
6703
6924
|
"flags": {
|
|
@@ -6782,22 +7003,22 @@
|
|
|
6782
7003
|
"allowNo": false,
|
|
6783
7004
|
"type": "boolean"
|
|
6784
7005
|
},
|
|
6785
|
-
"
|
|
6786
|
-
"char": "
|
|
6787
|
-
"description": "
|
|
6788
|
-
"name": "
|
|
7006
|
+
"directory": {
|
|
7007
|
+
"char": "d",
|
|
7008
|
+
"description": "Directory containing script files to synchronize",
|
|
7009
|
+
"name": "directory",
|
|
6789
7010
|
"required": true,
|
|
6790
7011
|
"hasDynamicHelp": false,
|
|
6791
7012
|
"multiple": false,
|
|
6792
7013
|
"type": "option"
|
|
6793
7014
|
},
|
|
6794
|
-
"
|
|
7015
|
+
"types": {
|
|
6795
7016
|
"char": "t",
|
|
6796
|
-
"description": "
|
|
6797
|
-
"name": "
|
|
6798
|
-
"required":
|
|
7017
|
+
"description": "Script types to synchronize. Can be specified multiple times to include multiple types.",
|
|
7018
|
+
"name": "types",
|
|
7019
|
+
"required": false,
|
|
6799
7020
|
"hasDynamicHelp": false,
|
|
6800
|
-
"multiple":
|
|
7021
|
+
"multiple": true,
|
|
6801
7022
|
"options": [
|
|
6802
7023
|
"sys_script_include",
|
|
6803
7024
|
"sys_script",
|
|
@@ -6806,20 +7027,11 @@
|
|
|
6806
7027
|
"sys_script_client"
|
|
6807
7028
|
],
|
|
6808
7029
|
"type": "option"
|
|
6809
|
-
},
|
|
6810
|
-
"output": {
|
|
6811
|
-
"char": "o",
|
|
6812
|
-
"description": "Output file path. If not specified, a file name is auto-generated.",
|
|
6813
|
-
"name": "output",
|
|
6814
|
-
"required": false,
|
|
6815
|
-
"hasDynamicHelp": false,
|
|
6816
|
-
"multiple": false,
|
|
6817
|
-
"type": "option"
|
|
6818
7030
|
}
|
|
6819
7031
|
},
|
|
6820
7032
|
"hasDynamicHelp": false,
|
|
6821
7033
|
"hiddenAliases": [],
|
|
6822
|
-
"id": "script-sync:
|
|
7034
|
+
"id": "script-sync:sync",
|
|
6823
7035
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6824
7036
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6825
7037
|
"pluginType": "core",
|
|
@@ -6830,25 +7042,25 @@
|
|
|
6830
7042
|
"dist",
|
|
6831
7043
|
"commands",
|
|
6832
7044
|
"script-sync",
|
|
6833
|
-
"
|
|
7045
|
+
"sync.js"
|
|
6834
7046
|
]
|
|
6835
7047
|
},
|
|
6836
|
-
"
|
|
7048
|
+
"scope": {
|
|
6837
7049
|
"aliases": [],
|
|
6838
7050
|
"args": {},
|
|
6839
|
-
"description": "
|
|
7051
|
+
"description": "Get the current application scope or list available applications.",
|
|
6840
7052
|
"examples": [
|
|
6841
7053
|
{
|
|
6842
|
-
"
|
|
6843
|
-
"
|
|
7054
|
+
"command": "<%= config.bin %> <%= command.id %> --auth dev",
|
|
7055
|
+
"description": "Get the current application scope"
|
|
6844
7056
|
},
|
|
6845
7057
|
{
|
|
6846
|
-
"
|
|
6847
|
-
"
|
|
7058
|
+
"command": "<%= config.bin %> <%= command.id %> --list --auth dev",
|
|
7059
|
+
"description": "List all available applications"
|
|
6848
7060
|
},
|
|
6849
7061
|
{
|
|
6850
|
-
"
|
|
6851
|
-
"
|
|
7062
|
+
"command": "<%= config.bin %> <%= command.id %> -l --json --auth dev",
|
|
7063
|
+
"description": "List applications as JSON"
|
|
6852
7064
|
}
|
|
6853
7065
|
],
|
|
6854
7066
|
"flags": {
|
|
@@ -6933,44 +7145,18 @@
|
|
|
6933
7145
|
"allowNo": false,
|
|
6934
7146
|
"type": "boolean"
|
|
6935
7147
|
},
|
|
6936
|
-
"
|
|
6937
|
-
"char": "
|
|
6938
|
-
"description": "
|
|
6939
|
-
"name": "
|
|
6940
|
-
"required":
|
|
6941
|
-
"
|
|
6942
|
-
"
|
|
6943
|
-
"type": "option"
|
|
6944
|
-
},
|
|
6945
|
-
"type": {
|
|
6946
|
-
"char": "t",
|
|
6947
|
-
"description": "Type of script to push",
|
|
6948
|
-
"name": "type",
|
|
6949
|
-
"required": true,
|
|
6950
|
-
"hasDynamicHelp": false,
|
|
6951
|
-
"multiple": false,
|
|
6952
|
-
"options": [
|
|
6953
|
-
"sys_script_include",
|
|
6954
|
-
"sys_script",
|
|
6955
|
-
"sys_ui_script",
|
|
6956
|
-
"sys_ui_action",
|
|
6957
|
-
"sys_script_client"
|
|
6958
|
-
],
|
|
6959
|
-
"type": "option"
|
|
6960
|
-
},
|
|
6961
|
-
"file": {
|
|
6962
|
-
"char": "f",
|
|
6963
|
-
"description": "Path to the local script file to push",
|
|
6964
|
-
"name": "file",
|
|
6965
|
-
"required": true,
|
|
6966
|
-
"hasDynamicHelp": false,
|
|
6967
|
-
"multiple": false,
|
|
6968
|
-
"type": "option"
|
|
7148
|
+
"list": {
|
|
7149
|
+
"char": "l",
|
|
7150
|
+
"description": "List all available applications",
|
|
7151
|
+
"name": "list",
|
|
7152
|
+
"required": false,
|
|
7153
|
+
"allowNo": false,
|
|
7154
|
+
"type": "boolean"
|
|
6969
7155
|
}
|
|
6970
7156
|
},
|
|
6971
7157
|
"hasDynamicHelp": false,
|
|
6972
7158
|
"hiddenAliases": [],
|
|
6973
|
-
"id": "
|
|
7159
|
+
"id": "scope",
|
|
6974
7160
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
6975
7161
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
6976
7162
|
"pluginType": "core",
|
|
@@ -6980,26 +7166,22 @@
|
|
|
6980
7166
|
"relativePath": [
|
|
6981
7167
|
"dist",
|
|
6982
7168
|
"commands",
|
|
6983
|
-
"
|
|
6984
|
-
"
|
|
7169
|
+
"scope",
|
|
7170
|
+
"index.js"
|
|
6985
7171
|
]
|
|
6986
7172
|
},
|
|
6987
|
-
"
|
|
7173
|
+
"scope:set": {
|
|
6988
7174
|
"aliases": [],
|
|
6989
7175
|
"args": {},
|
|
6990
|
-
"description": "
|
|
7176
|
+
"description": "Set the current application scope on a ServiceNow instance.",
|
|
6991
7177
|
"examples": [
|
|
6992
7178
|
{
|
|
6993
|
-
"
|
|
6994
|
-
"
|
|
6995
|
-
},
|
|
6996
|
-
{
|
|
6997
|
-
"description": "Sync only Script Includes and Business Rules",
|
|
6998
|
-
"command": "<%= config.bin %> <%= command.id %> --directory ./scripts --types sys_script_include --types sys_script --auth dev-instance"
|
|
7179
|
+
"command": "<%= config.bin %> <%= command.id %> --app-id abc123def456ghi789jkl012mno345pq --auth dev",
|
|
7180
|
+
"description": "Set application scope by sys_id"
|
|
6999
7181
|
},
|
|
7000
7182
|
{
|
|
7001
|
-
"
|
|
7002
|
-
"
|
|
7183
|
+
"command": "<%= config.bin %> <%= command.id %> -a abc123def456ghi789jkl012mno345pq --json --auth dev",
|
|
7184
|
+
"description": "Set application scope and output as JSON"
|
|
7003
7185
|
}
|
|
7004
7186
|
],
|
|
7005
7187
|
"flags": {
|
|
@@ -7084,35 +7266,19 @@
|
|
|
7084
7266
|
"allowNo": false,
|
|
7085
7267
|
"type": "boolean"
|
|
7086
7268
|
},
|
|
7087
|
-
"
|
|
7088
|
-
"char": "
|
|
7089
|
-
"description": "
|
|
7090
|
-
"name": "
|
|
7269
|
+
"app-id": {
|
|
7270
|
+
"char": "a",
|
|
7271
|
+
"description": "32-char sys_id of application",
|
|
7272
|
+
"name": "app-id",
|
|
7091
7273
|
"required": true,
|
|
7092
7274
|
"hasDynamicHelp": false,
|
|
7093
7275
|
"multiple": false,
|
|
7094
7276
|
"type": "option"
|
|
7095
|
-
},
|
|
7096
|
-
"types": {
|
|
7097
|
-
"char": "t",
|
|
7098
|
-
"description": "Script types to synchronize. Can be specified multiple times to include multiple types.",
|
|
7099
|
-
"name": "types",
|
|
7100
|
-
"required": false,
|
|
7101
|
-
"hasDynamicHelp": false,
|
|
7102
|
-
"multiple": true,
|
|
7103
|
-
"options": [
|
|
7104
|
-
"sys_script_include",
|
|
7105
|
-
"sys_script",
|
|
7106
|
-
"sys_ui_script",
|
|
7107
|
-
"sys_ui_action",
|
|
7108
|
-
"sys_script_client"
|
|
7109
|
-
],
|
|
7110
|
-
"type": "option"
|
|
7111
7277
|
}
|
|
7112
7278
|
},
|
|
7113
7279
|
"hasDynamicHelp": false,
|
|
7114
7280
|
"hiddenAliases": [],
|
|
7115
|
-
"id": "
|
|
7281
|
+
"id": "scope:set",
|
|
7116
7282
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
7117
7283
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
7118
7284
|
"pluginType": "core",
|
|
@@ -7122,8 +7288,8 @@
|
|
|
7122
7288
|
"relativePath": [
|
|
7123
7289
|
"dist",
|
|
7124
7290
|
"commands",
|
|
7125
|
-
"
|
|
7126
|
-
"
|
|
7291
|
+
"scope",
|
|
7292
|
+
"set.js"
|
|
7127
7293
|
]
|
|
7128
7294
|
},
|
|
7129
7295
|
"search:add-table": {
|
|
@@ -8264,19 +8430,13 @@
|
|
|
8264
8430
|
"validate.js"
|
|
8265
8431
|
]
|
|
8266
8432
|
},
|
|
8267
|
-
"
|
|
8433
|
+
"transaction:kill": {
|
|
8268
8434
|
"aliases": [],
|
|
8269
8435
|
"args": {},
|
|
8270
|
-
"description": "
|
|
8436
|
+
"description": "Submit a request to terminate one active transaction. Platform acceptance does not mean immediate removal.\n\nOnly pass an identifier you deliberately selected from `nex transaction list`. Killing another user's transaction aborts their work.",
|
|
8271
8437
|
"examples": [
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
"description": "Approve a change request"
|
|
8275
|
-
},
|
|
8276
|
-
{
|
|
8277
|
-
"command": "<%= config.bin %> <%= command.id %> -n CHG0010001 -c \"Looks good, approved\" --auth dev",
|
|
8278
|
-
"description": "Approve a change request with comments"
|
|
8279
|
-
}
|
|
8438
|
+
"<%= config.bin %> <%= command.id %> --transaction-id 8f9a1234567890abcdef1234567890c1 --confirm --auth dev",
|
|
8439
|
+
"<%= config.bin %> <%= command.id %> --transaction-id 8f9a1234567890abcdef1234567890c1 --confirm --json --auth dev"
|
|
8280
8440
|
],
|
|
8281
8441
|
"flags": {
|
|
8282
8442
|
"json": {
|
|
@@ -8360,19 +8520,16 @@
|
|
|
8360
8520
|
"allowNo": false,
|
|
8361
8521
|
"type": "boolean"
|
|
8362
8522
|
},
|
|
8363
|
-
"
|
|
8364
|
-
"
|
|
8365
|
-
"
|
|
8366
|
-
"
|
|
8367
|
-
"
|
|
8368
|
-
"hasDynamicHelp": false,
|
|
8369
|
-
"multiple": false,
|
|
8370
|
-
"type": "option"
|
|
8523
|
+
"confirm": {
|
|
8524
|
+
"description": "Confirm submission of the kill request.",
|
|
8525
|
+
"name": "confirm",
|
|
8526
|
+
"allowNo": false,
|
|
8527
|
+
"type": "boolean"
|
|
8371
8528
|
},
|
|
8372
|
-
"
|
|
8373
|
-
"char": "
|
|
8374
|
-
"description": "
|
|
8375
|
-
"name": "
|
|
8529
|
+
"transaction-id": {
|
|
8530
|
+
"char": "t",
|
|
8531
|
+
"description": "Exact 32-character hexadecimal sys_id from `nex transaction list`.",
|
|
8532
|
+
"name": "transaction-id",
|
|
8376
8533
|
"required": true,
|
|
8377
8534
|
"hasDynamicHelp": false,
|
|
8378
8535
|
"multiple": false,
|
|
@@ -8381,7 +8538,7 @@
|
|
|
8381
8538
|
},
|
|
8382
8539
|
"hasDynamicHelp": false,
|
|
8383
8540
|
"hiddenAliases": [],
|
|
8384
|
-
"id": "
|
|
8541
|
+
"id": "transaction:kill",
|
|
8385
8542
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
8386
8543
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
8387
8544
|
"pluginType": "core",
|
|
@@ -8391,27 +8548,19 @@
|
|
|
8391
8548
|
"relativePath": [
|
|
8392
8549
|
"dist",
|
|
8393
8550
|
"commands",
|
|
8394
|
-
"
|
|
8395
|
-
"
|
|
8551
|
+
"transaction",
|
|
8552
|
+
"kill.js"
|
|
8396
8553
|
]
|
|
8397
8554
|
},
|
|
8398
|
-
"
|
|
8555
|
+
"transaction:list": {
|
|
8399
8556
|
"aliases": [],
|
|
8400
8557
|
"args": {},
|
|
8401
|
-
"description": "
|
|
8558
|
+
"description": "List active transactions from all responding ServiceNow cluster nodes.",
|
|
8402
8559
|
"examples": [
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
{
|
|
8408
|
-
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 -u admin -g \"Service Desk\" --auth dev",
|
|
8409
|
-
"description": "Assign an incident to a user and group"
|
|
8410
|
-
},
|
|
8411
|
-
{
|
|
8412
|
-
"command": "<%= config.bin %> <%= command.id %> --number CHG0010001 --table change_request --user admin --auth dev",
|
|
8413
|
-
"description": "Assign a change request to a user"
|
|
8414
|
-
}
|
|
8560
|
+
"<%= config.bin %> <%= command.id %> --auth dev",
|
|
8561
|
+
"<%= config.bin %> <%= command.id %> --json --auth dev",
|
|
8562
|
+
"<%= config.bin %> <%= command.id %> --query \"user=admin\" --limit 50 --auth dev",
|
|
8563
|
+
"<%= config.bin %> <%= command.id %> --timeout-ms 120000 --poll-interval-ms 2000 --auth dev"
|
|
8415
8564
|
],
|
|
8416
8565
|
"flags": {
|
|
8417
8566
|
"json": {
|
|
@@ -8495,38 +8644,32 @@
|
|
|
8495
8644
|
"allowNo": false,
|
|
8496
8645
|
"type": "boolean"
|
|
8497
8646
|
},
|
|
8498
|
-
"
|
|
8499
|
-
"char": "
|
|
8500
|
-
"description": "
|
|
8501
|
-
"name": "
|
|
8502
|
-
"required": false,
|
|
8647
|
+
"limit": {
|
|
8648
|
+
"char": "l",
|
|
8649
|
+
"description": "Maximum transactions to return. Core default: 1000.",
|
|
8650
|
+
"name": "limit",
|
|
8503
8651
|
"hasDynamicHelp": false,
|
|
8504
8652
|
"multiple": false,
|
|
8505
8653
|
"type": "option"
|
|
8506
8654
|
},
|
|
8507
|
-
"
|
|
8508
|
-
"
|
|
8509
|
-
"
|
|
8510
|
-
"name": "number",
|
|
8511
|
-
"required": true,
|
|
8655
|
+
"poll-interval-ms": {
|
|
8656
|
+
"description": "Interval between collection status polls. Core default: 1000.",
|
|
8657
|
+
"name": "poll-interval-ms",
|
|
8512
8658
|
"hasDynamicHelp": false,
|
|
8513
8659
|
"multiple": false,
|
|
8514
8660
|
"type": "option"
|
|
8515
8661
|
},
|
|
8516
|
-
"
|
|
8517
|
-
"
|
|
8518
|
-
"
|
|
8519
|
-
"
|
|
8520
|
-
"default": "task",
|
|
8662
|
+
"query": {
|
|
8663
|
+
"char": "q",
|
|
8664
|
+
"description": "Encoded query used to filter transactions. Core default: none.",
|
|
8665
|
+
"name": "query",
|
|
8521
8666
|
"hasDynamicHelp": false,
|
|
8522
8667
|
"multiple": false,
|
|
8523
8668
|
"type": "option"
|
|
8524
8669
|
},
|
|
8525
|
-
"
|
|
8526
|
-
"
|
|
8527
|
-
"
|
|
8528
|
-
"name": "user",
|
|
8529
|
-
"required": true,
|
|
8670
|
+
"timeout-ms": {
|
|
8671
|
+
"description": "Collection timeout in milliseconds. Core default: 60000.",
|
|
8672
|
+
"name": "timeout-ms",
|
|
8530
8673
|
"hasDynamicHelp": false,
|
|
8531
8674
|
"multiple": false,
|
|
8532
8675
|
"type": "option"
|
|
@@ -8534,7 +8677,7 @@
|
|
|
8534
8677
|
},
|
|
8535
8678
|
"hasDynamicHelp": false,
|
|
8536
8679
|
"hiddenAliases": [],
|
|
8537
|
-
"id": "
|
|
8680
|
+
"id": "transaction:list",
|
|
8538
8681
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
8539
8682
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
8540
8683
|
"pluginType": "core",
|
|
@@ -8544,22 +8687,22 @@
|
|
|
8544
8687
|
"relativePath": [
|
|
8545
8688
|
"dist",
|
|
8546
8689
|
"commands",
|
|
8547
|
-
"
|
|
8548
|
-
"
|
|
8690
|
+
"transaction",
|
|
8691
|
+
"list.js"
|
|
8549
8692
|
]
|
|
8550
8693
|
},
|
|
8551
|
-
"task:
|
|
8694
|
+
"task:approve": {
|
|
8552
8695
|
"aliases": [],
|
|
8553
8696
|
"args": {},
|
|
8554
|
-
"description": "
|
|
8697
|
+
"description": "Approve a ServiceNow change request.\n\nThis command approves a change request identified by its number. You can optionally provide approval comments.\n\nFeatures:\n - Approve change requests\n - Optionally add approval comments\n - Auto-resolves change request number to sys_id",
|
|
8555
8698
|
"examples": [
|
|
8556
8699
|
{
|
|
8557
|
-
"command": "<%= config.bin %> <%= command.id %> --number
|
|
8558
|
-
"description": "
|
|
8700
|
+
"command": "<%= config.bin %> <%= command.id %> --number CHG0010001 --auth dev",
|
|
8701
|
+
"description": "Approve a change request"
|
|
8559
8702
|
},
|
|
8560
8703
|
{
|
|
8561
|
-
"command": "<%= config.bin %> <%= command.id %> -n
|
|
8562
|
-
"description": "
|
|
8704
|
+
"command": "<%= config.bin %> <%= command.id %> -n CHG0010001 -c \"Looks good, approved\" --auth dev",
|
|
8705
|
+
"description": "Approve a change request with comments"
|
|
8563
8706
|
}
|
|
8564
8707
|
],
|
|
8565
8708
|
"flags": {
|
|
@@ -8644,25 +8787,18 @@
|
|
|
8644
8787
|
"allowNo": false,
|
|
8645
8788
|
"type": "boolean"
|
|
8646
8789
|
},
|
|
8647
|
-
"
|
|
8648
|
-
"
|
|
8649
|
-
"
|
|
8790
|
+
"comments": {
|
|
8791
|
+
"char": "c",
|
|
8792
|
+
"description": "Approval comments",
|
|
8793
|
+
"name": "comments",
|
|
8650
8794
|
"required": false,
|
|
8651
8795
|
"hasDynamicHelp": false,
|
|
8652
8796
|
"multiple": false,
|
|
8653
8797
|
"type": "option"
|
|
8654
8798
|
},
|
|
8655
|
-
"notes": {
|
|
8656
|
-
"description": "Close notes",
|
|
8657
|
-
"name": "notes",
|
|
8658
|
-
"required": true,
|
|
8659
|
-
"hasDynamicHelp": false,
|
|
8660
|
-
"multiple": false,
|
|
8661
|
-
"type": "option"
|
|
8662
|
-
},
|
|
8663
8799
|
"number": {
|
|
8664
8800
|
"char": "n",
|
|
8665
|
-
"description": "
|
|
8801
|
+
"description": "Change request number (e.g., CHG0010001)",
|
|
8666
8802
|
"name": "number",
|
|
8667
8803
|
"required": true,
|
|
8668
8804
|
"hasDynamicHelp": false,
|
|
@@ -8672,7 +8808,7 @@
|
|
|
8672
8808
|
},
|
|
8673
8809
|
"hasDynamicHelp": false,
|
|
8674
8810
|
"hiddenAliases": [],
|
|
8675
|
-
"id": "task:
|
|
8811
|
+
"id": "task:approve",
|
|
8676
8812
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
8677
8813
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
8678
8814
|
"pluginType": "core",
|
|
@@ -8683,25 +8819,25 @@
|
|
|
8683
8819
|
"dist",
|
|
8684
8820
|
"commands",
|
|
8685
8821
|
"task",
|
|
8686
|
-
"
|
|
8822
|
+
"approve.js"
|
|
8687
8823
|
]
|
|
8688
8824
|
},
|
|
8689
|
-
"task:
|
|
8825
|
+
"task:assign": {
|
|
8690
8826
|
"aliases": [],
|
|
8691
8827
|
"args": {},
|
|
8692
|
-
"description": "
|
|
8828
|
+
"description": "Assign a ServiceNow task to a user or group.\n\nThis command assigns a task record identified by its number to a specified user and/or group. You can assign to a user, a group, or both simultaneously.\n\nFeatures:\n - Assign tasks to individual users\n - Assign tasks to assignment groups\n - Assign to both user and group at once\n - Supports any task-based table\n - Auto-resolves task number to sys_id",
|
|
8693
8829
|
"examples": [
|
|
8694
8830
|
{
|
|
8695
|
-
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --
|
|
8696
|
-
"description": "
|
|
8831
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --user admin --auth dev",
|
|
8832
|
+
"description": "Assign an incident to a user"
|
|
8697
8833
|
},
|
|
8698
8834
|
{
|
|
8699
|
-
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 -
|
|
8700
|
-
"description": "
|
|
8835
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 -u admin -g \"Service Desk\" --auth dev",
|
|
8836
|
+
"description": "Assign an incident to a user and group"
|
|
8701
8837
|
},
|
|
8702
8838
|
{
|
|
8703
|
-
"command": "<%= config.bin %> <%= command.id %> --number CHG0010001 --table change_request --
|
|
8704
|
-
"description": "
|
|
8839
|
+
"command": "<%= config.bin %> <%= command.id %> --number CHG0010001 --table change_request --user admin --auth dev",
|
|
8840
|
+
"description": "Assign a change request to a user"
|
|
8705
8841
|
}
|
|
8706
8842
|
],
|
|
8707
8843
|
"flags": {
|
|
@@ -8786,11 +8922,11 @@
|
|
|
8786
8922
|
"allowNo": false,
|
|
8787
8923
|
"type": "boolean"
|
|
8788
8924
|
},
|
|
8789
|
-
"
|
|
8790
|
-
"char": "
|
|
8791
|
-
"description": "
|
|
8792
|
-
"name": "
|
|
8793
|
-
"required":
|
|
8925
|
+
"group": {
|
|
8926
|
+
"char": "g",
|
|
8927
|
+
"description": "Assignment group",
|
|
8928
|
+
"name": "group",
|
|
8929
|
+
"required": false,
|
|
8794
8930
|
"hasDynamicHelp": false,
|
|
8795
8931
|
"multiple": false,
|
|
8796
8932
|
"type": "option"
|
|
@@ -8813,17 +8949,19 @@
|
|
|
8813
8949
|
"multiple": false,
|
|
8814
8950
|
"type": "option"
|
|
8815
8951
|
},
|
|
8816
|
-
"
|
|
8817
|
-
"
|
|
8818
|
-
"
|
|
8819
|
-
"
|
|
8820
|
-
"
|
|
8821
|
-
"
|
|
8952
|
+
"user": {
|
|
8953
|
+
"char": "u",
|
|
8954
|
+
"description": "User to assign the task to",
|
|
8955
|
+
"name": "user",
|
|
8956
|
+
"required": true,
|
|
8957
|
+
"hasDynamicHelp": false,
|
|
8958
|
+
"multiple": false,
|
|
8959
|
+
"type": "option"
|
|
8822
8960
|
}
|
|
8823
8961
|
},
|
|
8824
8962
|
"hasDynamicHelp": false,
|
|
8825
8963
|
"hiddenAliases": [],
|
|
8826
|
-
"id": "task:
|
|
8964
|
+
"id": "task:assign",
|
|
8827
8965
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
8828
8966
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
8829
8967
|
"pluginType": "core",
|
|
@@ -8834,25 +8972,21 @@
|
|
|
8834
8972
|
"dist",
|
|
8835
8973
|
"commands",
|
|
8836
8974
|
"task",
|
|
8837
|
-
"
|
|
8975
|
+
"assign.js"
|
|
8838
8976
|
]
|
|
8839
8977
|
},
|
|
8840
|
-
"task:
|
|
8978
|
+
"task:close": {
|
|
8841
8979
|
"aliases": [],
|
|
8842
8980
|
"args": {},
|
|
8843
|
-
"description": "
|
|
8981
|
+
"description": "Close a ServiceNow incident.\n\nThis command closes an incident identified by its number, setting the close notes and optionally a close code. The incident must be in a state that allows closure.\n\nFeatures:\n - Close incidents with close notes\n - Optionally specify a close code\n - Auto-resolves incident number to sys_id",
|
|
8844
8982
|
"examples": [
|
|
8845
8983
|
{
|
|
8846
|
-
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --auth dev",
|
|
8847
|
-
"description": "
|
|
8848
|
-
},
|
|
8849
|
-
{
|
|
8850
|
-
"command": "<%= config.bin %> <%= command.id %> -n CHG0010001 --table change_request --auth dev",
|
|
8851
|
-
"description": "Find a change request by number"
|
|
8984
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --notes \"Issue confirmed resolved by user\" --auth dev",
|
|
8985
|
+
"description": "Close an incident with close notes"
|
|
8852
8986
|
},
|
|
8853
8987
|
{
|
|
8854
|
-
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 --
|
|
8855
|
-
"description": "
|
|
8988
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 --notes \"Closed\" --close-code \"Solved (Permanently)\" --auth dev",
|
|
8989
|
+
"description": "Close with a specific close code"
|
|
8856
8990
|
}
|
|
8857
8991
|
],
|
|
8858
8992
|
"flags": {
|
|
@@ -8937,20 +9071,27 @@
|
|
|
8937
9071
|
"allowNo": false,
|
|
8938
9072
|
"type": "boolean"
|
|
8939
9073
|
},
|
|
8940
|
-
"
|
|
8941
|
-
"
|
|
8942
|
-
"
|
|
8943
|
-
"
|
|
9074
|
+
"close-code": {
|
|
9075
|
+
"description": "Close code for the closure",
|
|
9076
|
+
"name": "close-code",
|
|
9077
|
+
"required": false,
|
|
9078
|
+
"hasDynamicHelp": false,
|
|
9079
|
+
"multiple": false,
|
|
9080
|
+
"type": "option"
|
|
9081
|
+
},
|
|
9082
|
+
"notes": {
|
|
9083
|
+
"description": "Close notes",
|
|
9084
|
+
"name": "notes",
|
|
8944
9085
|
"required": true,
|
|
8945
9086
|
"hasDynamicHelp": false,
|
|
8946
9087
|
"multiple": false,
|
|
8947
9088
|
"type": "option"
|
|
8948
9089
|
},
|
|
8949
|
-
"
|
|
8950
|
-
"
|
|
8951
|
-
"
|
|
8952
|
-
"
|
|
8953
|
-
"
|
|
9090
|
+
"number": {
|
|
9091
|
+
"char": "n",
|
|
9092
|
+
"description": "Incident number (e.g., INC0010001)",
|
|
9093
|
+
"name": "number",
|
|
9094
|
+
"required": true,
|
|
8954
9095
|
"hasDynamicHelp": false,
|
|
8955
9096
|
"multiple": false,
|
|
8956
9097
|
"type": "option"
|
|
@@ -8958,7 +9099,7 @@
|
|
|
8958
9099
|
},
|
|
8959
9100
|
"hasDynamicHelp": false,
|
|
8960
9101
|
"hiddenAliases": [],
|
|
8961
|
-
"id": "task:
|
|
9102
|
+
"id": "task:close",
|
|
8962
9103
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
8963
9104
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
8964
9105
|
"pluginType": "core",
|
|
@@ -8969,21 +9110,25 @@
|
|
|
8969
9110
|
"dist",
|
|
8970
9111
|
"commands",
|
|
8971
9112
|
"task",
|
|
8972
|
-
"
|
|
9113
|
+
"close.js"
|
|
8973
9114
|
]
|
|
8974
9115
|
},
|
|
8975
|
-
"task:
|
|
9116
|
+
"task:comment": {
|
|
8976
9117
|
"aliases": [],
|
|
8977
9118
|
"args": {},
|
|
8978
|
-
"description": "
|
|
9119
|
+
"description": "Add a comment or work note to a ServiceNow task.\n\nThis command adds a comment or work note to a task record identified by its number. By default, comments are added as customer-visible comments. Use the --work-note flag to add an internal work note instead.\n\nFeatures:\n - Add customer-visible comments to any task\n - Add internal work notes visible only to fulfiller teams\n - Supports any task-based table (incident, change_request, etc.)\n - Auto-resolves task number to sys_id",
|
|
8979
9120
|
"examples": [
|
|
8980
9121
|
{
|
|
8981
|
-
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --
|
|
8982
|
-
"description": "
|
|
9122
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --comment \"Investigating the issue\" --auth dev",
|
|
9123
|
+
"description": "Add a comment to an incident"
|
|
8983
9124
|
},
|
|
8984
9125
|
{
|
|
8985
|
-
"command": "<%= config.bin %> <%= command.id %> -n INC0010001
|
|
8986
|
-
"description": "
|
|
9126
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 -c \"Internal update\" --work-note --auth dev",
|
|
9127
|
+
"description": "Add a work note to an incident"
|
|
9128
|
+
},
|
|
9129
|
+
{
|
|
9130
|
+
"command": "<%= config.bin %> <%= command.id %> --number CHG0010001 --table change_request --comment \"Approved\" --auth dev",
|
|
9131
|
+
"description": "Add a comment to a change request"
|
|
8987
9132
|
}
|
|
8988
9133
|
],
|
|
8989
9134
|
"flags": {
|
|
@@ -9068,17 +9213,10 @@
|
|
|
9068
9213
|
"allowNo": false,
|
|
9069
9214
|
"type": "boolean"
|
|
9070
9215
|
},
|
|
9071
|
-
"
|
|
9072
|
-
"
|
|
9073
|
-
"
|
|
9074
|
-
"
|
|
9075
|
-
"hasDynamicHelp": false,
|
|
9076
|
-
"multiple": false,
|
|
9077
|
-
"type": "option"
|
|
9078
|
-
},
|
|
9079
|
-
"notes": {
|
|
9080
|
-
"description": "Resolution notes",
|
|
9081
|
-
"name": "notes",
|
|
9216
|
+
"comment": {
|
|
9217
|
+
"char": "c",
|
|
9218
|
+
"description": "Comment text to add",
|
|
9219
|
+
"name": "comment",
|
|
9082
9220
|
"required": true,
|
|
9083
9221
|
"hasDynamicHelp": false,
|
|
9084
9222
|
"multiple": false,
|
|
@@ -9086,17 +9224,33 @@
|
|
|
9086
9224
|
},
|
|
9087
9225
|
"number": {
|
|
9088
9226
|
"char": "n",
|
|
9089
|
-
"description": "
|
|
9227
|
+
"description": "Task number (e.g., INC0010001)",
|
|
9090
9228
|
"name": "number",
|
|
9091
9229
|
"required": true,
|
|
9092
9230
|
"hasDynamicHelp": false,
|
|
9093
9231
|
"multiple": false,
|
|
9094
9232
|
"type": "option"
|
|
9233
|
+
},
|
|
9234
|
+
"table": {
|
|
9235
|
+
"description": "ServiceNow table name",
|
|
9236
|
+
"name": "table",
|
|
9237
|
+
"required": false,
|
|
9238
|
+
"default": "task",
|
|
9239
|
+
"hasDynamicHelp": false,
|
|
9240
|
+
"multiple": false,
|
|
9241
|
+
"type": "option"
|
|
9242
|
+
},
|
|
9243
|
+
"work-note": {
|
|
9244
|
+
"description": "Add as work note instead of comment",
|
|
9245
|
+
"name": "work-note",
|
|
9246
|
+
"required": false,
|
|
9247
|
+
"allowNo": false,
|
|
9248
|
+
"type": "boolean"
|
|
9095
9249
|
}
|
|
9096
9250
|
},
|
|
9097
9251
|
"hasDynamicHelp": false,
|
|
9098
9252
|
"hiddenAliases": [],
|
|
9099
|
-
"id": "task:
|
|
9253
|
+
"id": "task:comment",
|
|
9100
9254
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
9101
9255
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
9102
9256
|
"pluginType": "core",
|
|
@@ -9107,16 +9261,26 @@
|
|
|
9107
9261
|
"dist",
|
|
9108
9262
|
"commands",
|
|
9109
9263
|
"task",
|
|
9110
|
-
"
|
|
9264
|
+
"comment.js"
|
|
9111
9265
|
]
|
|
9112
9266
|
},
|
|
9113
|
-
"
|
|
9267
|
+
"task:find": {
|
|
9114
9268
|
"aliases": [],
|
|
9115
9269
|
"args": {},
|
|
9116
|
-
"description": "
|
|
9270
|
+
"description": "Find a ServiceNow task by its number.\n\nThis command looks up a task record by its number in the specified table. Returns the full task details including sys_id, description, state, and assignment information.\n\nFeatures:\n - Look up any task by number\n - Supports any task-based table\n - JSON output for scripting and automation",
|
|
9117
9271
|
"examples": [
|
|
9118
|
-
|
|
9119
|
-
|
|
9272
|
+
{
|
|
9273
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --auth dev",
|
|
9274
|
+
"description": "Find an incident by number"
|
|
9275
|
+
},
|
|
9276
|
+
{
|
|
9277
|
+
"command": "<%= config.bin %> <%= command.id %> -n CHG0010001 --table change_request --auth dev",
|
|
9278
|
+
"description": "Find a change request by number"
|
|
9279
|
+
},
|
|
9280
|
+
{
|
|
9281
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 --json --auth dev",
|
|
9282
|
+
"description": "Find an incident and output as JSON"
|
|
9283
|
+
}
|
|
9120
9284
|
],
|
|
9121
9285
|
"flags": {
|
|
9122
9286
|
"json": {
|
|
@@ -9200,25 +9364,28 @@
|
|
|
9200
9364
|
"allowNo": false,
|
|
9201
9365
|
"type": "boolean"
|
|
9202
9366
|
},
|
|
9203
|
-
"
|
|
9204
|
-
"
|
|
9205
|
-
"
|
|
9206
|
-
"
|
|
9207
|
-
"type": "boolean"
|
|
9208
|
-
},
|
|
9209
|
-
"transaction-id": {
|
|
9210
|
-
"char": "t",
|
|
9211
|
-
"description": "Exact 32-character hexadecimal sys_id from `nex transaction list`.",
|
|
9212
|
-
"name": "transaction-id",
|
|
9367
|
+
"number": {
|
|
9368
|
+
"char": "n",
|
|
9369
|
+
"description": "Task number (e.g., INC0010001, CHG0010001)",
|
|
9370
|
+
"name": "number",
|
|
9213
9371
|
"required": true,
|
|
9214
9372
|
"hasDynamicHelp": false,
|
|
9215
9373
|
"multiple": false,
|
|
9216
9374
|
"type": "option"
|
|
9375
|
+
},
|
|
9376
|
+
"table": {
|
|
9377
|
+
"description": "ServiceNow table name",
|
|
9378
|
+
"name": "table",
|
|
9379
|
+
"required": false,
|
|
9380
|
+
"default": "task",
|
|
9381
|
+
"hasDynamicHelp": false,
|
|
9382
|
+
"multiple": false,
|
|
9383
|
+
"type": "option"
|
|
9217
9384
|
}
|
|
9218
9385
|
},
|
|
9219
9386
|
"hasDynamicHelp": false,
|
|
9220
9387
|
"hiddenAliases": [],
|
|
9221
|
-
"id": "
|
|
9388
|
+
"id": "task:find",
|
|
9222
9389
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
9223
9390
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
9224
9391
|
"pluginType": "core",
|
|
@@ -9228,19 +9395,23 @@
|
|
|
9228
9395
|
"relativePath": [
|
|
9229
9396
|
"dist",
|
|
9230
9397
|
"commands",
|
|
9231
|
-
"
|
|
9232
|
-
"
|
|
9233
|
-
]
|
|
9398
|
+
"task",
|
|
9399
|
+
"find.js"
|
|
9400
|
+
]
|
|
9234
9401
|
},
|
|
9235
|
-
"
|
|
9402
|
+
"task:resolve": {
|
|
9236
9403
|
"aliases": [],
|
|
9237
9404
|
"args": {},
|
|
9238
|
-
"description": "
|
|
9405
|
+
"description": "Resolve a ServiceNow incident with resolution notes.\n\nThis command resolves an incident identified by its number, setting the resolution notes and optionally a close code. The incident must be in a state that allows resolution.\n\nFeatures:\n - Resolve incidents with resolution notes\n - Optionally specify a close code\n - Auto-resolves incident number to sys_id",
|
|
9239
9406
|
"examples": [
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9407
|
+
{
|
|
9408
|
+
"command": "<%= config.bin %> <%= command.id %> --number INC0010001 --notes \"Issue resolved by restarting the service\" --auth dev",
|
|
9409
|
+
"description": "Resolve an incident with resolution notes"
|
|
9410
|
+
},
|
|
9411
|
+
{
|
|
9412
|
+
"command": "<%= config.bin %> <%= command.id %> -n INC0010001 --notes \"Fixed\" --close-code \"Solved (Permanently)\" --auth dev",
|
|
9413
|
+
"description": "Resolve with a specific close code"
|
|
9414
|
+
}
|
|
9244
9415
|
],
|
|
9245
9416
|
"flags": {
|
|
9246
9417
|
"json": {
|
|
@@ -9324,32 +9495,27 @@
|
|
|
9324
9495
|
"allowNo": false,
|
|
9325
9496
|
"type": "boolean"
|
|
9326
9497
|
},
|
|
9327
|
-
"
|
|
9328
|
-
"
|
|
9329
|
-
"
|
|
9330
|
-
"
|
|
9331
|
-
"hasDynamicHelp": false,
|
|
9332
|
-
"multiple": false,
|
|
9333
|
-
"type": "option"
|
|
9334
|
-
},
|
|
9335
|
-
"poll-interval-ms": {
|
|
9336
|
-
"description": "Interval between collection status polls. Core default: 1000.",
|
|
9337
|
-
"name": "poll-interval-ms",
|
|
9498
|
+
"close-code": {
|
|
9499
|
+
"description": "Close code for the resolution",
|
|
9500
|
+
"name": "close-code",
|
|
9501
|
+
"required": false,
|
|
9338
9502
|
"hasDynamicHelp": false,
|
|
9339
9503
|
"multiple": false,
|
|
9340
9504
|
"type": "option"
|
|
9341
9505
|
},
|
|
9342
|
-
"
|
|
9343
|
-
"
|
|
9344
|
-
"
|
|
9345
|
-
"
|
|
9506
|
+
"notes": {
|
|
9507
|
+
"description": "Resolution notes",
|
|
9508
|
+
"name": "notes",
|
|
9509
|
+
"required": true,
|
|
9346
9510
|
"hasDynamicHelp": false,
|
|
9347
9511
|
"multiple": false,
|
|
9348
9512
|
"type": "option"
|
|
9349
9513
|
},
|
|
9350
|
-
"
|
|
9351
|
-
"
|
|
9352
|
-
"
|
|
9514
|
+
"number": {
|
|
9515
|
+
"char": "n",
|
|
9516
|
+
"description": "Incident number (e.g., INC0010001)",
|
|
9517
|
+
"name": "number",
|
|
9518
|
+
"required": true,
|
|
9353
9519
|
"hasDynamicHelp": false,
|
|
9354
9520
|
"multiple": false,
|
|
9355
9521
|
"type": "option"
|
|
@@ -9357,7 +9523,7 @@
|
|
|
9357
9523
|
},
|
|
9358
9524
|
"hasDynamicHelp": false,
|
|
9359
9525
|
"hiddenAliases": [],
|
|
9360
|
-
"id": "
|
|
9526
|
+
"id": "task:resolve",
|
|
9361
9527
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
9362
9528
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
9363
9529
|
"pluginType": "core",
|
|
@@ -9367,22 +9533,22 @@
|
|
|
9367
9533
|
"relativePath": [
|
|
9368
9534
|
"dist",
|
|
9369
9535
|
"commands",
|
|
9370
|
-
"
|
|
9371
|
-
"
|
|
9536
|
+
"task",
|
|
9537
|
+
"resolve.js"
|
|
9372
9538
|
]
|
|
9373
9539
|
},
|
|
9374
|
-
"
|
|
9540
|
+
"workflow:create": {
|
|
9375
9541
|
"aliases": [],
|
|
9376
9542
|
"args": {},
|
|
9377
|
-
"description": "
|
|
9543
|
+
"description": "Create a complete workflow from a JSON specification file.",
|
|
9378
9544
|
"examples": [
|
|
9379
9545
|
{
|
|
9380
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
9381
|
-
"description": "
|
|
9546
|
+
"command": "<%= config.bin %> <%= command.id %> --spec ./workflow.json --auth dev",
|
|
9547
|
+
"description": "Create a workflow from a JSON spec file"
|
|
9382
9548
|
},
|
|
9383
9549
|
{
|
|
9384
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9385
|
-
"description": "
|
|
9550
|
+
"command": "<%= config.bin %> <%= command.id %> -s ./workflow.json --json --auth dev",
|
|
9551
|
+
"description": "Create a workflow and output result as JSON"
|
|
9386
9552
|
}
|
|
9387
9553
|
],
|
|
9388
9554
|
"flags": {
|
|
@@ -9467,19 +9633,10 @@
|
|
|
9467
9633
|
"allowNo": false,
|
|
9468
9634
|
"type": "boolean"
|
|
9469
9635
|
},
|
|
9470
|
-
"
|
|
9471
|
-
"char": "n",
|
|
9472
|
-
"description": "Name for the cloned update set",
|
|
9473
|
-
"name": "name",
|
|
9474
|
-
"required": true,
|
|
9475
|
-
"hasDynamicHelp": false,
|
|
9476
|
-
"multiple": false,
|
|
9477
|
-
"type": "option"
|
|
9478
|
-
},
|
|
9479
|
-
"source": {
|
|
9636
|
+
"spec": {
|
|
9480
9637
|
"char": "s",
|
|
9481
|
-
"description": "
|
|
9482
|
-
"name": "
|
|
9638
|
+
"description": "Path to workflow JSON specification file",
|
|
9639
|
+
"name": "spec",
|
|
9483
9640
|
"required": true,
|
|
9484
9641
|
"hasDynamicHelp": false,
|
|
9485
9642
|
"multiple": false,
|
|
@@ -9488,7 +9645,7 @@
|
|
|
9488
9645
|
},
|
|
9489
9646
|
"hasDynamicHelp": false,
|
|
9490
9647
|
"hiddenAliases": [],
|
|
9491
|
-
"id": "
|
|
9648
|
+
"id": "workflow:create",
|
|
9492
9649
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
9493
9650
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
9494
9651
|
"pluginType": "core",
|
|
@@ -9498,26 +9655,22 @@
|
|
|
9498
9655
|
"relativePath": [
|
|
9499
9656
|
"dist",
|
|
9500
9657
|
"commands",
|
|
9501
|
-
"
|
|
9502
|
-
"
|
|
9658
|
+
"workflow",
|
|
9659
|
+
"create.js"
|
|
9503
9660
|
]
|
|
9504
9661
|
},
|
|
9505
|
-
"
|
|
9662
|
+
"workflow:publish": {
|
|
9506
9663
|
"aliases": [],
|
|
9507
9664
|
"args": {},
|
|
9508
|
-
"description": "
|
|
9665
|
+
"description": "Publish a workflow version.",
|
|
9509
9666
|
"examples": [
|
|
9510
9667
|
{
|
|
9511
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
9512
|
-
"description": "
|
|
9513
|
-
},
|
|
9514
|
-
{
|
|
9515
|
-
"command": "<%= config.bin %> <%= command.id %> --name \"My Feature Set\" --description \"Update set for feature X\" --auth dev-instance",
|
|
9516
|
-
"description": "Create with name and description"
|
|
9668
|
+
"command": "<%= config.bin %> <%= command.id %> --version-id wfv-001 --start-activity act-001 --auth dev",
|
|
9669
|
+
"description": "Publish a workflow version"
|
|
9517
9670
|
},
|
|
9518
9671
|
{
|
|
9519
|
-
"command": "<%= config.bin %> <%= command.id %>
|
|
9520
|
-
"description": "
|
|
9672
|
+
"command": "<%= config.bin %> <%= command.id %> -v wfv-001 -s act-001 --json --auth dev",
|
|
9673
|
+
"description": "Publish a workflow version and output as JSON"
|
|
9521
9674
|
}
|
|
9522
9675
|
],
|
|
9523
9676
|
"flags": {
|
|
@@ -9602,27 +9755,19 @@
|
|
|
9602
9755
|
"allowNo": false,
|
|
9603
9756
|
"type": "boolean"
|
|
9604
9757
|
},
|
|
9605
|
-
"
|
|
9606
|
-
"
|
|
9607
|
-
"
|
|
9608
|
-
"
|
|
9609
|
-
"
|
|
9610
|
-
"multiple": false,
|
|
9611
|
-
"type": "option"
|
|
9612
|
-
},
|
|
9613
|
-
"description": {
|
|
9614
|
-
"char": "d",
|
|
9615
|
-
"description": "Description for the new update set",
|
|
9616
|
-
"name": "description",
|
|
9617
|
-
"required": false,
|
|
9758
|
+
"start-activity": {
|
|
9759
|
+
"char": "s",
|
|
9760
|
+
"description": "Sys ID of the start activity",
|
|
9761
|
+
"name": "start-activity",
|
|
9762
|
+
"required": true,
|
|
9618
9763
|
"hasDynamicHelp": false,
|
|
9619
9764
|
"multiple": false,
|
|
9620
9765
|
"type": "option"
|
|
9621
9766
|
},
|
|
9622
|
-
"
|
|
9623
|
-
"char": "
|
|
9624
|
-
"description": "
|
|
9625
|
-
"name": "
|
|
9767
|
+
"version-id": {
|
|
9768
|
+
"char": "v",
|
|
9769
|
+
"description": "Sys ID of the workflow version to publish",
|
|
9770
|
+
"name": "version-id",
|
|
9626
9771
|
"required": true,
|
|
9627
9772
|
"hasDynamicHelp": false,
|
|
9628
9773
|
"multiple": false,
|
|
@@ -9631,7 +9776,7 @@
|
|
|
9631
9776
|
},
|
|
9632
9777
|
"hasDynamicHelp": false,
|
|
9633
9778
|
"hiddenAliases": [],
|
|
9634
|
-
"id": "
|
|
9779
|
+
"id": "workflow:publish",
|
|
9635
9780
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
9636
9781
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
9637
9782
|
"pluginType": "core",
|
|
@@ -9641,26 +9786,22 @@
|
|
|
9641
9786
|
"relativePath": [
|
|
9642
9787
|
"dist",
|
|
9643
9788
|
"commands",
|
|
9644
|
-
"
|
|
9645
|
-
"
|
|
9789
|
+
"workflow",
|
|
9790
|
+
"publish.js"
|
|
9646
9791
|
]
|
|
9647
9792
|
},
|
|
9648
|
-
"update-set:
|
|
9793
|
+
"update-set:clone": {
|
|
9649
9794
|
"aliases": [],
|
|
9650
9795
|
"args": {},
|
|
9651
|
-
"description": "
|
|
9796
|
+
"description": "Clone an update set and its records.",
|
|
9652
9797
|
"examples": [
|
|
9653
9798
|
{
|
|
9654
|
-
"command": "<%= config.bin %> <%= command.id %> --auth dev-instance",
|
|
9655
|
-
"description": "
|
|
9656
|
-
},
|
|
9657
|
-
{
|
|
9658
|
-
"command": "<%= config.bin %> <%= command.id %> --set us-001 --auth dev-instance",
|
|
9659
|
-
"description": "Set the current update set by sys_id"
|
|
9799
|
+
"command": "<%= config.bin %> <%= command.id %> --source us-001 --name \"Cloned Set\" --auth dev-instance",
|
|
9800
|
+
"description": "Clone an update set"
|
|
9660
9801
|
},
|
|
9661
9802
|
{
|
|
9662
|
-
"command": "<%= config.bin %> <%= command.id %> --json --auth dev-instance",
|
|
9663
|
-
"description": "
|
|
9803
|
+
"command": "<%= config.bin %> <%= command.id %> --source us-001 --name \"Cloned Set\" --json --auth dev-instance",
|
|
9804
|
+
"description": "Clone with JSON output"
|
|
9664
9805
|
}
|
|
9665
9806
|
],
|
|
9666
9807
|
"flags": {
|
|
@@ -9745,11 +9886,20 @@
|
|
|
9745
9886
|
"allowNo": false,
|
|
9746
9887
|
"type": "boolean"
|
|
9747
9888
|
},
|
|
9748
|
-
"
|
|
9889
|
+
"name": {
|
|
9890
|
+
"char": "n",
|
|
9891
|
+
"description": "Name for the cloned update set",
|
|
9892
|
+
"name": "name",
|
|
9893
|
+
"required": true,
|
|
9894
|
+
"hasDynamicHelp": false,
|
|
9895
|
+
"multiple": false,
|
|
9896
|
+
"type": "option"
|
|
9897
|
+
},
|
|
9898
|
+
"source": {
|
|
9749
9899
|
"char": "s",
|
|
9750
|
-
"description": "
|
|
9751
|
-
"name": "
|
|
9752
|
-
"required":
|
|
9900
|
+
"description": "Source update set sys_id",
|
|
9901
|
+
"name": "source",
|
|
9902
|
+
"required": true,
|
|
9753
9903
|
"hasDynamicHelp": false,
|
|
9754
9904
|
"multiple": false,
|
|
9755
9905
|
"type": "option"
|
|
@@ -9757,7 +9907,7 @@
|
|
|
9757
9907
|
},
|
|
9758
9908
|
"hasDynamicHelp": false,
|
|
9759
9909
|
"hiddenAliases": [],
|
|
9760
|
-
"id": "update-set:
|
|
9910
|
+
"id": "update-set:clone",
|
|
9761
9911
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
9762
9912
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
9763
9913
|
"pluginType": "core",
|
|
@@ -9768,25 +9918,25 @@
|
|
|
9768
9918
|
"dist",
|
|
9769
9919
|
"commands",
|
|
9770
9920
|
"update-set",
|
|
9771
|
-
"
|
|
9921
|
+
"clone.js"
|
|
9772
9922
|
]
|
|
9773
9923
|
},
|
|
9774
|
-
"update-set": {
|
|
9924
|
+
"update-set:create": {
|
|
9775
9925
|
"aliases": [],
|
|
9776
9926
|
"args": {},
|
|
9777
|
-
"description": "
|
|
9927
|
+
"description": "Create a new update set.",
|
|
9778
9928
|
"examples": [
|
|
9779
9929
|
{
|
|
9780
|
-
"command": "<%= config.bin %> <%= command.id %> --auth dev-instance",
|
|
9781
|
-
"description": "
|
|
9930
|
+
"command": "<%= config.bin %> <%= command.id %> --name \"My Feature Set\" --auth dev-instance",
|
|
9931
|
+
"description": "Create a new update set with a name"
|
|
9782
9932
|
},
|
|
9783
9933
|
{
|
|
9784
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
9785
|
-
"description": "
|
|
9934
|
+
"command": "<%= config.bin %> <%= command.id %> --name \"My Feature Set\" --description \"Update set for feature X\" --auth dev-instance",
|
|
9935
|
+
"description": "Create with name and description"
|
|
9786
9936
|
},
|
|
9787
9937
|
{
|
|
9788
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
9789
|
-
"description": "
|
|
9938
|
+
"command": "<%= config.bin %> <%= command.id %> --name \"My Feature Set\" --application x_my_app --auth dev-instance",
|
|
9939
|
+
"description": "Create within a specific application scope"
|
|
9790
9940
|
}
|
|
9791
9941
|
],
|
|
9792
9942
|
"flags": {
|
|
@@ -9871,28 +10021,36 @@
|
|
|
9871
10021
|
"allowNo": false,
|
|
9872
10022
|
"type": "boolean"
|
|
9873
10023
|
},
|
|
9874
|
-
"
|
|
9875
|
-
"description": "
|
|
9876
|
-
"name": "
|
|
10024
|
+
"application": {
|
|
10025
|
+
"description": "Application scope for the new update set",
|
|
10026
|
+
"name": "application",
|
|
9877
10027
|
"required": false,
|
|
9878
|
-
"default": 20,
|
|
9879
10028
|
"hasDynamicHelp": false,
|
|
9880
10029
|
"multiple": false,
|
|
9881
10030
|
"type": "option"
|
|
9882
10031
|
},
|
|
9883
|
-
"
|
|
9884
|
-
"char": "
|
|
9885
|
-
"description": "
|
|
9886
|
-
"name": "
|
|
10032
|
+
"description": {
|
|
10033
|
+
"char": "d",
|
|
10034
|
+
"description": "Description for the new update set",
|
|
10035
|
+
"name": "description",
|
|
9887
10036
|
"required": false,
|
|
9888
10037
|
"hasDynamicHelp": false,
|
|
9889
10038
|
"multiple": false,
|
|
9890
10039
|
"type": "option"
|
|
10040
|
+
},
|
|
10041
|
+
"name": {
|
|
10042
|
+
"char": "n",
|
|
10043
|
+
"description": "Name for the new update set",
|
|
10044
|
+
"name": "name",
|
|
10045
|
+
"required": true,
|
|
10046
|
+
"hasDynamicHelp": false,
|
|
10047
|
+
"multiple": false,
|
|
10048
|
+
"type": "option"
|
|
9891
10049
|
}
|
|
9892
10050
|
},
|
|
9893
10051
|
"hasDynamicHelp": false,
|
|
9894
10052
|
"hiddenAliases": [],
|
|
9895
|
-
"id": "update-set",
|
|
10053
|
+
"id": "update-set:create",
|
|
9896
10054
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
9897
10055
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
9898
10056
|
"pluginType": "core",
|
|
@@ -9903,21 +10061,25 @@
|
|
|
9903
10061
|
"dist",
|
|
9904
10062
|
"commands",
|
|
9905
10063
|
"update-set",
|
|
9906
|
-
"
|
|
10064
|
+
"create.js"
|
|
9907
10065
|
]
|
|
9908
10066
|
},
|
|
9909
|
-
"update-set:
|
|
10067
|
+
"update-set:current": {
|
|
9910
10068
|
"aliases": [],
|
|
9911
10069
|
"args": {},
|
|
9912
|
-
"description": "
|
|
10070
|
+
"description": "Get or set the current update set.",
|
|
9913
10071
|
"examples": [
|
|
9914
10072
|
{
|
|
9915
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
9916
|
-
"description": "
|
|
10073
|
+
"command": "<%= config.bin %> <%= command.id %> --auth dev-instance",
|
|
10074
|
+
"description": "Get the current update set"
|
|
9917
10075
|
},
|
|
9918
10076
|
{
|
|
9919
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
9920
|
-
"description": "
|
|
10077
|
+
"command": "<%= config.bin %> <%= command.id %> --set us-001 --auth dev-instance",
|
|
10078
|
+
"description": "Set the current update set by sys_id"
|
|
10079
|
+
},
|
|
10080
|
+
{
|
|
10081
|
+
"command": "<%= config.bin %> <%= command.id %> --json --auth dev-instance",
|
|
10082
|
+
"description": "Get the current update set as JSON"
|
|
9921
10083
|
}
|
|
9922
10084
|
],
|
|
9923
10085
|
"flags": {
|
|
@@ -10002,11 +10164,11 @@
|
|
|
10002
10164
|
"allowNo": false,
|
|
10003
10165
|
"type": "boolean"
|
|
10004
10166
|
},
|
|
10005
|
-
"
|
|
10167
|
+
"set": {
|
|
10006
10168
|
"char": "s",
|
|
10007
|
-
"description": "sys_id of
|
|
10008
|
-
"name": "
|
|
10009
|
-
"required":
|
|
10169
|
+
"description": "sys_id of update set to make current",
|
|
10170
|
+
"name": "set",
|
|
10171
|
+
"required": false,
|
|
10010
10172
|
"hasDynamicHelp": false,
|
|
10011
10173
|
"multiple": false,
|
|
10012
10174
|
"type": "option"
|
|
@@ -10014,7 +10176,7 @@
|
|
|
10014
10176
|
},
|
|
10015
10177
|
"hasDynamicHelp": false,
|
|
10016
10178
|
"hiddenAliases": [],
|
|
10017
|
-
"id": "update-set:
|
|
10179
|
+
"id": "update-set:current",
|
|
10018
10180
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
10019
10181
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
10020
10182
|
"pluginType": "core",
|
|
@@ -10025,25 +10187,25 @@
|
|
|
10025
10187
|
"dist",
|
|
10026
10188
|
"commands",
|
|
10027
10189
|
"update-set",
|
|
10028
|
-
"
|
|
10190
|
+
"current.js"
|
|
10029
10191
|
]
|
|
10030
10192
|
},
|
|
10031
|
-
"update-set
|
|
10193
|
+
"update-set": {
|
|
10032
10194
|
"aliases": [],
|
|
10033
10195
|
"args": {},
|
|
10034
|
-
"description": "
|
|
10196
|
+
"description": "List update sets on a ServiceNow instance.",
|
|
10035
10197
|
"examples": [
|
|
10036
10198
|
{
|
|
10037
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
10038
|
-
"description": "
|
|
10199
|
+
"command": "<%= config.bin %> <%= command.id %> --auth dev-instance",
|
|
10200
|
+
"description": "List update sets with default limit"
|
|
10039
10201
|
},
|
|
10040
10202
|
{
|
|
10041
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
10042
|
-
"description": "
|
|
10203
|
+
"command": "<%= config.bin %> <%= command.id %> --query \"state=in progress\" --limit 50 --auth dev-instance",
|
|
10204
|
+
"description": "List update sets with a custom query filter"
|
|
10043
10205
|
},
|
|
10044
10206
|
{
|
|
10045
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
10046
|
-
"description": "
|
|
10207
|
+
"command": "<%= config.bin %> <%= command.id %> --json --auth dev-instance",
|
|
10208
|
+
"description": "List update sets with JSON output"
|
|
10047
10209
|
}
|
|
10048
10210
|
],
|
|
10049
10211
|
"flags": {
|
|
@@ -10128,34 +10290,28 @@
|
|
|
10128
10290
|
"allowNo": false,
|
|
10129
10291
|
"type": "boolean"
|
|
10130
10292
|
},
|
|
10131
|
-
"
|
|
10132
|
-
"description": "
|
|
10133
|
-
"name": "
|
|
10293
|
+
"limit": {
|
|
10294
|
+
"description": "Maximum number of update sets to return",
|
|
10295
|
+
"name": "limit",
|
|
10134
10296
|
"required": false,
|
|
10297
|
+
"default": 20,
|
|
10135
10298
|
"hasDynamicHelp": false,
|
|
10136
10299
|
"multiple": false,
|
|
10137
10300
|
"type": "option"
|
|
10138
10301
|
},
|
|
10139
|
-
"
|
|
10140
|
-
"
|
|
10141
|
-
"
|
|
10302
|
+
"query": {
|
|
10303
|
+
"char": "q",
|
|
10304
|
+
"description": "Encoded query filter",
|
|
10305
|
+
"name": "query",
|
|
10142
10306
|
"required": false,
|
|
10143
10307
|
"hasDynamicHelp": false,
|
|
10144
10308
|
"multiple": false,
|
|
10145
10309
|
"type": "option"
|
|
10146
|
-
},
|
|
10147
|
-
"target": {
|
|
10148
|
-
"description": "Target update set sys_id",
|
|
10149
|
-
"name": "target",
|
|
10150
|
-
"required": true,
|
|
10151
|
-
"hasDynamicHelp": false,
|
|
10152
|
-
"multiple": false,
|
|
10153
|
-
"type": "option"
|
|
10154
10310
|
}
|
|
10155
10311
|
},
|
|
10156
10312
|
"hasDynamicHelp": false,
|
|
10157
10313
|
"hiddenAliases": [],
|
|
10158
|
-
"id": "update-set
|
|
10314
|
+
"id": "update-set",
|
|
10159
10315
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
10160
10316
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
10161
10317
|
"pluginType": "core",
|
|
@@ -10166,21 +10322,21 @@
|
|
|
10166
10322
|
"dist",
|
|
10167
10323
|
"commands",
|
|
10168
10324
|
"update-set",
|
|
10169
|
-
"
|
|
10325
|
+
"index.js"
|
|
10170
10326
|
]
|
|
10171
10327
|
},
|
|
10172
|
-
"
|
|
10328
|
+
"update-set:inspect": {
|
|
10173
10329
|
"aliases": [],
|
|
10174
10330
|
"args": {},
|
|
10175
|
-
"description": "
|
|
10331
|
+
"description": "Inspect the components of an update set.",
|
|
10176
10332
|
"examples": [
|
|
10177
10333
|
{
|
|
10178
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
10179
|
-
"description": "
|
|
10334
|
+
"command": "<%= config.bin %> <%= command.id %> --sys-id us-001 --auth dev-instance",
|
|
10335
|
+
"description": "Inspect an update set by sys_id"
|
|
10180
10336
|
},
|
|
10181
10337
|
{
|
|
10182
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
10183
|
-
"description": "
|
|
10338
|
+
"command": "<%= config.bin %> <%= command.id %> --sys-id us-001 --json --auth dev-instance",
|
|
10339
|
+
"description": "Inspect with JSON output"
|
|
10184
10340
|
}
|
|
10185
10341
|
],
|
|
10186
10342
|
"flags": {
|
|
@@ -10265,10 +10421,10 @@
|
|
|
10265
10421
|
"allowNo": false,
|
|
10266
10422
|
"type": "boolean"
|
|
10267
10423
|
},
|
|
10268
|
-
"
|
|
10424
|
+
"sys-id": {
|
|
10269
10425
|
"char": "s",
|
|
10270
|
-
"description": "
|
|
10271
|
-
"name": "
|
|
10426
|
+
"description": "sys_id of the update set to inspect",
|
|
10427
|
+
"name": "sys-id",
|
|
10272
10428
|
"required": true,
|
|
10273
10429
|
"hasDynamicHelp": false,
|
|
10274
10430
|
"multiple": false,
|
|
@@ -10277,7 +10433,7 @@
|
|
|
10277
10433
|
},
|
|
10278
10434
|
"hasDynamicHelp": false,
|
|
10279
10435
|
"hiddenAliases": [],
|
|
10280
|
-
"id": "
|
|
10436
|
+
"id": "update-set:inspect",
|
|
10281
10437
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
10282
10438
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
10283
10439
|
"pluginType": "core",
|
|
@@ -10287,22 +10443,26 @@
|
|
|
10287
10443
|
"relativePath": [
|
|
10288
10444
|
"dist",
|
|
10289
10445
|
"commands",
|
|
10290
|
-
"
|
|
10291
|
-
"
|
|
10446
|
+
"update-set",
|
|
10447
|
+
"inspect.js"
|
|
10292
10448
|
]
|
|
10293
10449
|
},
|
|
10294
|
-
"
|
|
10450
|
+
"update-set:move": {
|
|
10295
10451
|
"aliases": [],
|
|
10296
10452
|
"args": {},
|
|
10297
|
-
"description": "
|
|
10453
|
+
"description": "Move records between update sets.",
|
|
10298
10454
|
"examples": [
|
|
10299
10455
|
{
|
|
10300
|
-
"command": "<%= config.bin %> <%= command.id %> --
|
|
10301
|
-
"description": "
|
|
10456
|
+
"command": "<%= config.bin %> <%= command.id %> --target us-002 --source us-001 --auth dev-instance",
|
|
10457
|
+
"description": "Move all records from one update set to another"
|
|
10302
10458
|
},
|
|
10303
10459
|
{
|
|
10304
|
-
"command": "<%= config.bin %> <%= command.id %> -
|
|
10305
|
-
"description": "
|
|
10460
|
+
"command": "<%= config.bin %> <%= command.id %> --target us-002 --records \"rec-001,rec-002,rec-003\" --auth dev-instance",
|
|
10461
|
+
"description": "Move specific records to a target update set"
|
|
10462
|
+
},
|
|
10463
|
+
{
|
|
10464
|
+
"command": "<%= config.bin %> <%= command.id %> --target us-002 --source us-001 --json --auth dev-instance",
|
|
10465
|
+
"description": "Move records with JSON output"
|
|
10306
10466
|
}
|
|
10307
10467
|
],
|
|
10308
10468
|
"flags": {
|
|
@@ -10387,19 +10547,25 @@
|
|
|
10387
10547
|
"allowNo": false,
|
|
10388
10548
|
"type": "boolean"
|
|
10389
10549
|
},
|
|
10390
|
-
"
|
|
10391
|
-
"
|
|
10392
|
-
"
|
|
10393
|
-
"
|
|
10394
|
-
"required": true,
|
|
10550
|
+
"records": {
|
|
10551
|
+
"description": "Comma-separated sys_ids of records to move",
|
|
10552
|
+
"name": "records",
|
|
10553
|
+
"required": false,
|
|
10395
10554
|
"hasDynamicHelp": false,
|
|
10396
10555
|
"multiple": false,
|
|
10397
10556
|
"type": "option"
|
|
10398
10557
|
},
|
|
10399
|
-
"
|
|
10400
|
-
"
|
|
10401
|
-
"
|
|
10402
|
-
"
|
|
10558
|
+
"source": {
|
|
10559
|
+
"description": "Source update set sys_id",
|
|
10560
|
+
"name": "source",
|
|
10561
|
+
"required": false,
|
|
10562
|
+
"hasDynamicHelp": false,
|
|
10563
|
+
"multiple": false,
|
|
10564
|
+
"type": "option"
|
|
10565
|
+
},
|
|
10566
|
+
"target": {
|
|
10567
|
+
"description": "Target update set sys_id",
|
|
10568
|
+
"name": "target",
|
|
10403
10569
|
"required": true,
|
|
10404
10570
|
"hasDynamicHelp": false,
|
|
10405
10571
|
"multiple": false,
|
|
@@ -10408,7 +10574,7 @@
|
|
|
10408
10574
|
},
|
|
10409
10575
|
"hasDynamicHelp": false,
|
|
10410
10576
|
"hiddenAliases": [],
|
|
10411
|
-
"id": "
|
|
10577
|
+
"id": "update-set:move",
|
|
10412
10578
|
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
10413
10579
|
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
10414
10580
|
"pluginType": "core",
|
|
@@ -10418,8 +10584,8 @@
|
|
|
10418
10584
|
"relativePath": [
|
|
10419
10585
|
"dist",
|
|
10420
10586
|
"commands",
|
|
10421
|
-
"
|
|
10422
|
-
"
|
|
10587
|
+
"update-set",
|
|
10588
|
+
"move.js"
|
|
10423
10589
|
]
|
|
10424
10590
|
},
|
|
10425
10591
|
"xml:export": {
|
|
@@ -10698,173 +10864,7 @@
|
|
|
10698
10864
|
"xml",
|
|
10699
10865
|
"import.js"
|
|
10700
10866
|
]
|
|
10701
|
-
},
|
|
10702
|
-
"health:check": {
|
|
10703
|
-
"aliases": [],
|
|
10704
|
-
"args": {},
|
|
10705
|
-
"description": "Run a consolidated health check on a ServiceNow instance.\n\nPerforms comprehensive diagnostics including version info, cluster status, stuck job detection, semaphore counts, and operational record counts.\n\nFeatures:\n • Instance version and build information\n • Cluster node status\n • Stuck job detection with configurable threshold\n • Active semaphore count\n • Operational counts (incidents, changes, problems)\n • Color-coded status indicators\n • JSON output for CI/CD monitoring",
|
|
10706
|
-
"examples": [
|
|
10707
|
-
{
|
|
10708
|
-
"description": "Run full health check",
|
|
10709
|
-
"command": "<%= config.bin %> <%= command.id %> --auth dev"
|
|
10710
|
-
},
|
|
10711
|
-
{
|
|
10712
|
-
"description": "Check only version and stuck jobs",
|
|
10713
|
-
"command": "<%= config.bin %> <%= command.id %> --include-version --include-stuck-jobs --no-include-cluster --no-include-semaphores --no-include-operational-counts --auth dev"
|
|
10714
|
-
},
|
|
10715
|
-
{
|
|
10716
|
-
"description": "Health check with custom stuck job threshold",
|
|
10717
|
-
"command": "<%= config.bin %> <%= command.id %> --stuck-job-threshold 60 --auth dev"
|
|
10718
|
-
},
|
|
10719
|
-
{
|
|
10720
|
-
"description": "Health check as JSON",
|
|
10721
|
-
"command": "<%= config.bin %> <%= command.id %> --json --auth dev"
|
|
10722
|
-
}
|
|
10723
|
-
],
|
|
10724
|
-
"flags": {
|
|
10725
|
-
"json": {
|
|
10726
|
-
"char": "j",
|
|
10727
|
-
"description": "Output results as JSON",
|
|
10728
|
-
"name": "json",
|
|
10729
|
-
"required": false,
|
|
10730
|
-
"allowNo": false,
|
|
10731
|
-
"type": "boolean"
|
|
10732
|
-
},
|
|
10733
|
-
"auth": {
|
|
10734
|
-
"char": "a",
|
|
10735
|
-
"description": "Auth alias to use.",
|
|
10736
|
-
"name": "auth",
|
|
10737
|
-
"required": false,
|
|
10738
|
-
"hasDynamicHelp": false,
|
|
10739
|
-
"multiple": false,
|
|
10740
|
-
"type": "option"
|
|
10741
|
-
},
|
|
10742
|
-
"cred-store": {
|
|
10743
|
-
"description": "Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.",
|
|
10744
|
-
"helpGroup": "GLOBAL",
|
|
10745
|
-
"name": "cred-store",
|
|
10746
|
-
"required": false,
|
|
10747
|
-
"allowNo": false,
|
|
10748
|
-
"type": "boolean"
|
|
10749
|
-
},
|
|
10750
|
-
"deny-execute": {
|
|
10751
|
-
"description": "Refuse background scripts, flow runs and ATF runs for this invocation.",
|
|
10752
|
-
"helpGroup": "GLOBAL",
|
|
10753
|
-
"name": "deny-execute",
|
|
10754
|
-
"required": false,
|
|
10755
|
-
"allowNo": false,
|
|
10756
|
-
"type": "boolean"
|
|
10757
|
-
},
|
|
10758
|
-
"deny-write": {
|
|
10759
|
-
"description": "Refuse any change to instance data for this invocation.",
|
|
10760
|
-
"helpGroup": "GLOBAL",
|
|
10761
|
-
"name": "deny-write",
|
|
10762
|
-
"required": false,
|
|
10763
|
-
"allowNo": false,
|
|
10764
|
-
"type": "boolean"
|
|
10765
|
-
},
|
|
10766
|
-
"log-dir": {
|
|
10767
|
-
"description": "Directory to write log files to. Implies --log-file.",
|
|
10768
|
-
"helpGroup": "GLOBAL",
|
|
10769
|
-
"name": "log-dir",
|
|
10770
|
-
"required": false,
|
|
10771
|
-
"hasDynamicHelp": false,
|
|
10772
|
-
"multiple": false,
|
|
10773
|
-
"type": "option"
|
|
10774
|
-
},
|
|
10775
|
-
"log-file": {
|
|
10776
|
-
"description": "Write logs to a file. Defaults to $XDG_STATE_HOME/now-sdk-ext/logs (~/.local/state/now-sdk-ext/logs). Off by default; without this, nex logs warnings and errors to stderr only.",
|
|
10777
|
-
"helpGroup": "GLOBAL",
|
|
10778
|
-
"name": "log-file",
|
|
10779
|
-
"required": false,
|
|
10780
|
-
"allowNo": false,
|
|
10781
|
-
"type": "boolean"
|
|
10782
|
-
},
|
|
10783
|
-
"log-level": {
|
|
10784
|
-
"helpGroup": "GLOBAL",
|
|
10785
|
-
"name": "log-level",
|
|
10786
|
-
"summary": "Specify level for logging.",
|
|
10787
|
-
"default": "info",
|
|
10788
|
-
"hasDynamicHelp": false,
|
|
10789
|
-
"multiple": false,
|
|
10790
|
-
"options": [
|
|
10791
|
-
"debug",
|
|
10792
|
-
"warn",
|
|
10793
|
-
"error",
|
|
10794
|
-
"info",
|
|
10795
|
-
"trace"
|
|
10796
|
-
],
|
|
10797
|
-
"type": "option"
|
|
10798
|
-
},
|
|
10799
|
-
"read-only": {
|
|
10800
|
-
"description": "Refuse every change to the instance — equivalent to --deny-write --deny-execute. Reads are unaffected.",
|
|
10801
|
-
"helpGroup": "GLOBAL",
|
|
10802
|
-
"name": "read-only",
|
|
10803
|
-
"required": false,
|
|
10804
|
-
"allowNo": false,
|
|
10805
|
-
"type": "boolean"
|
|
10806
|
-
},
|
|
10807
|
-
"include-version": {
|
|
10808
|
-
"description": "Include instance version information",
|
|
10809
|
-
"name": "include-version",
|
|
10810
|
-
"required": false,
|
|
10811
|
-
"allowNo": true,
|
|
10812
|
-
"type": "boolean"
|
|
10813
|
-
},
|
|
10814
|
-
"include-cluster": {
|
|
10815
|
-
"description": "Include cluster node status",
|
|
10816
|
-
"name": "include-cluster",
|
|
10817
|
-
"required": false,
|
|
10818
|
-
"allowNo": true,
|
|
10819
|
-
"type": "boolean"
|
|
10820
|
-
},
|
|
10821
|
-
"include-stuck-jobs": {
|
|
10822
|
-
"description": "Include stuck job detection",
|
|
10823
|
-
"name": "include-stuck-jobs",
|
|
10824
|
-
"required": false,
|
|
10825
|
-
"allowNo": true,
|
|
10826
|
-
"type": "boolean"
|
|
10827
|
-
},
|
|
10828
|
-
"include-semaphores": {
|
|
10829
|
-
"description": "Include active semaphore count",
|
|
10830
|
-
"name": "include-semaphores",
|
|
10831
|
-
"required": false,
|
|
10832
|
-
"allowNo": true,
|
|
10833
|
-
"type": "boolean"
|
|
10834
|
-
},
|
|
10835
|
-
"include-operational-counts": {
|
|
10836
|
-
"description": "Include operational record counts (incidents, changes, problems)",
|
|
10837
|
-
"name": "include-operational-counts",
|
|
10838
|
-
"required": false,
|
|
10839
|
-
"allowNo": true,
|
|
10840
|
-
"type": "boolean"
|
|
10841
|
-
},
|
|
10842
|
-
"stuck-job-threshold": {
|
|
10843
|
-
"description": "Minutes threshold for a job to be considered stuck",
|
|
10844
|
-
"name": "stuck-job-threshold",
|
|
10845
|
-
"required": false,
|
|
10846
|
-
"default": 30,
|
|
10847
|
-
"hasDynamicHelp": false,
|
|
10848
|
-
"multiple": false,
|
|
10849
|
-
"type": "option"
|
|
10850
|
-
}
|
|
10851
|
-
},
|
|
10852
|
-
"hasDynamicHelp": false,
|
|
10853
|
-
"hiddenAliases": [],
|
|
10854
|
-
"id": "health:check",
|
|
10855
|
-
"pluginAlias": "@sonisoft/now-sdk-ext-cli",
|
|
10856
|
-
"pluginName": "@sonisoft/now-sdk-ext-cli",
|
|
10857
|
-
"pluginType": "core",
|
|
10858
|
-
"strict": true,
|
|
10859
|
-
"enableJsonFlag": true,
|
|
10860
|
-
"isESM": true,
|
|
10861
|
-
"relativePath": [
|
|
10862
|
-
"dist",
|
|
10863
|
-
"commands",
|
|
10864
|
-
"health",
|
|
10865
|
-
"check.js"
|
|
10866
|
-
]
|
|
10867
10867
|
}
|
|
10868
10868
|
},
|
|
10869
|
-
"version": "5.7.
|
|
10869
|
+
"version": "5.7.2"
|
|
10870
10870
|
}
|