doc-detective 4.26.8 → 4.27.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.
Files changed (71) hide show
  1. package/dist/common/src/schemas/schemas.json +522 -64
  2. package/dist/common/src/types/generated/config_v3.d.ts +10 -2
  3. package/dist/common/src/types/generated/config_v3.d.ts.map +1 -1
  4. package/dist/common/src/types/generated/resolvedTests_v3.d.ts +10 -2
  5. package/dist/common/src/types/generated/resolvedTests_v3.d.ts.map +1 -1
  6. package/dist/common/src/types/generated/runShell_v3.d.ts +6 -2
  7. package/dist/common/src/types/generated/runShell_v3.d.ts.map +1 -1
  8. package/dist/common/src/types/generated/step_v3.d.ts +6 -2
  9. package/dist/common/src/types/generated/step_v3.d.ts.map +1 -1
  10. package/dist/common/src/types/generated/test_v3.d.ts +12 -4
  11. package/dist/common/src/types/generated/test_v3.d.ts.map +1 -1
  12. package/dist/core/index.d.ts.map +1 -1
  13. package/dist/core/index.js +20 -1
  14. package/dist/core/index.js.map +1 -1
  15. package/dist/core/tests/processSurface.d.ts +1 -0
  16. package/dist/core/tests/processSurface.d.ts.map +1 -1
  17. package/dist/core/tests/processSurface.js +2 -0
  18. package/dist/core/tests/processSurface.js.map +1 -1
  19. package/dist/core/tests/runCode.d.ts.map +1 -1
  20. package/dist/core/tests/runCode.js +61 -14
  21. package/dist/core/tests/runCode.js.map +1 -1
  22. package/dist/core/tests/runShell.d.ts.map +1 -1
  23. package/dist/core/tests/runShell.js +20 -2
  24. package/dist/core/tests/runShell.js.map +1 -1
  25. package/dist/core/tests/startSurface.d.ts.map +1 -1
  26. package/dist/core/tests/startSurface.js +29 -14
  27. package/dist/core/tests/startSurface.js.map +1 -1
  28. package/dist/core/utils.d.ts +20 -1
  29. package/dist/core/utils.d.ts.map +1 -1
  30. package/dist/core/utils.js +169 -18
  31. package/dist/core/utils.js.map +1 -1
  32. package/dist/hints/context.d.ts +1 -0
  33. package/dist/hints/context.d.ts.map +1 -1
  34. package/dist/hints/context.js +11 -0
  35. package/dist/hints/context.js.map +1 -1
  36. package/dist/hints/hints.d.ts.map +1 -1
  37. package/dist/hints/hints.js +22 -0
  38. package/dist/hints/hints.js.map +1 -1
  39. package/dist/hints/types.d.ts +7 -0
  40. package/dist/hints/types.d.ts.map +1 -1
  41. package/dist/index.cjs +1570 -616
  42. package/dist/runtime/androidInstaller.d.ts.map +1 -1
  43. package/dist/runtime/androidInstaller.js +1 -62
  44. package/dist/runtime/androidInstaller.js.map +1 -1
  45. package/dist/runtime/archiveUtils.d.ts +3 -0
  46. package/dist/runtime/archiveUtils.d.ts.map +1 -0
  47. package/dist/runtime/archiveUtils.js +100 -0
  48. package/dist/runtime/archiveUtils.js.map +1 -0
  49. package/dist/runtime/cacheDir.d.ts +5 -0
  50. package/dist/runtime/cacheDir.d.ts.map +1 -1
  51. package/dist/runtime/cacheDir.js +3 -0
  52. package/dist/runtime/cacheDir.js.map +1 -1
  53. package/dist/runtime/inferRuntimeNeeds.d.ts +5 -1
  54. package/dist/runtime/inferRuntimeNeeds.d.ts.map +1 -1
  55. package/dist/runtime/inferRuntimeNeeds.js +38 -2
  56. package/dist/runtime/inferRuntimeNeeds.js.map +1 -1
  57. package/dist/runtime/installCommand.d.ts.map +1 -1
  58. package/dist/runtime/installCommand.js +32 -3
  59. package/dist/runtime/installCommand.js.map +1 -1
  60. package/dist/runtime/installer.d.ts +2 -2
  61. package/dist/runtime/installer.d.ts.map +1 -1
  62. package/dist/runtime/installer.js +42 -5
  63. package/dist/runtime/installer.js.map +1 -1
  64. package/dist/runtime/windowsBash.d.ts +41 -0
  65. package/dist/runtime/windowsBash.d.ts.map +1 -0
  66. package/dist/runtime/windowsBash.js +386 -0
  67. package/dist/runtime/windowsBash.js.map +1 -0
  68. package/dist/utils.d.ts.map +1 -1
  69. package/dist/utils.js +17 -0
  70. package/dist/utils.js.map +1 -1
  71. package/package.json +1 -1
@@ -22367,7 +22367,7 @@
22367
22367
  "anyOf": [
22368
22368
  {
22369
22369
  "title": "Run shell command (simple)",
22370
- "description": "Command to perform in the machine's default shell.",
22370
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
22371
22371
  "type": "string",
22372
22372
  "transform": [
22373
22373
  "trim"
@@ -22382,7 +22382,16 @@
22382
22382
  "properties": {
22383
22383
  "command": {
22384
22384
  "type": "string",
22385
- "description": "Command to perform in the machine's default shell."
22385
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
22386
+ },
22387
+ "shell": {
22388
+ "type": "string",
22389
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
22390
+ "enum": [
22391
+ "bash",
22392
+ "cmd",
22393
+ "powershell"
22394
+ ]
22386
22395
  },
22387
22396
  "args": {
22388
22397
  "type": "array",
@@ -22509,7 +22518,7 @@
22509
22518
  "schemas": {
22510
22519
  "string": {
22511
22520
  "title": "Run shell command (simple)",
22512
- "description": "Command to perform in the machine's default shell.",
22521
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
22513
22522
  "type": "string",
22514
22523
  "transform": [
22515
22524
  "trim"
@@ -22524,7 +22533,16 @@
22524
22533
  "properties": {
22525
22534
  "command": {
22526
22535
  "type": "string",
22527
- "description": "Command to perform in the machine's default shell."
22536
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
22537
+ },
22538
+ "shell": {
22539
+ "type": "string",
22540
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
22541
+ "enum": [
22542
+ "bash",
22543
+ "cmd",
22544
+ "powershell"
22545
+ ]
22528
22546
  },
22529
22547
  "args": {
22530
22548
  "type": "array",
@@ -22650,6 +22668,15 @@
22650
22668
  },
22651
22669
  "examples": [
22652
22670
  "docker run hello-world",
22671
+ {
22672
+ "command": "echo %USERNAME%",
22673
+ "shell": "cmd"
22674
+ },
22675
+ {
22676
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
22677
+ "shell": "bash",
22678
+ "stdio": "bashism"
22679
+ },
22653
22680
  {
22654
22681
  "command": "echo",
22655
22682
  "args": [
@@ -48037,7 +48064,7 @@
48037
48064
  "anyOf": [
48038
48065
  {
48039
48066
  "title": "Run shell command (simple)",
48040
- "description": "Command to perform in the machine's default shell.",
48067
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
48041
48068
  "type": "string",
48042
48069
  "transform": [
48043
48070
  "trim"
@@ -48052,7 +48079,16 @@
48052
48079
  "properties": {
48053
48080
  "command": {
48054
48081
  "type": "string",
48055
- "description": "Command to perform in the machine's default shell."
48082
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
48083
+ },
48084
+ "shell": {
48085
+ "type": "string",
48086
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
48087
+ "enum": [
48088
+ "bash",
48089
+ "cmd",
48090
+ "powershell"
48091
+ ]
48056
48092
  },
48057
48093
  "args": {
48058
48094
  "type": "array",
@@ -48179,7 +48215,7 @@
48179
48215
  "schemas": {
48180
48216
  "string": {
48181
48217
  "title": "Run shell command (simple)",
48182
- "description": "Command to perform in the machine's default shell.",
48218
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
48183
48219
  "type": "string",
48184
48220
  "transform": [
48185
48221
  "trim"
@@ -48194,7 +48230,16 @@
48194
48230
  "properties": {
48195
48231
  "command": {
48196
48232
  "type": "string",
48197
- "description": "Command to perform in the machine's default shell."
48233
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
48234
+ },
48235
+ "shell": {
48236
+ "type": "string",
48237
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
48238
+ "enum": [
48239
+ "bash",
48240
+ "cmd",
48241
+ "powershell"
48242
+ ]
48198
48243
  },
48199
48244
  "args": {
48200
48245
  "type": "array",
@@ -48320,6 +48365,15 @@
48320
48365
  },
48321
48366
  "examples": [
48322
48367
  "docker run hello-world",
48368
+ {
48369
+ "command": "echo %USERNAME%",
48370
+ "shell": "cmd"
48371
+ },
48372
+ {
48373
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
48374
+ "shell": "bash",
48375
+ "stdio": "bashism"
48376
+ },
48323
48377
  {
48324
48378
  "command": "echo",
48325
48379
  "args": [
@@ -48821,6 +48875,16 @@
48821
48875
  "type": "boolean",
48822
48876
  "default": true
48823
48877
  },
48878
+ "shell": {
48879
+ "description": "Default shell for `runShell` steps (and `runCode`'s shell-based execution). `runShell` steps can override this value with their own `shell` field. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
48880
+ "type": "string",
48881
+ "enum": [
48882
+ "bash",
48883
+ "cmd",
48884
+ "powershell"
48885
+ ],
48886
+ "default": "bash"
48887
+ },
48824
48888
  "cacheDir": {
48825
48889
  "description": "Directory for lazy-installed runtime assets (heavy npm packages, browser binaries, ffmpeg). Defaults to `<os.tmpdir()>/doc-detective/`. Override here, with the `DOC_DETECTIVE_CACHE_DIR` env var, or with `--cache-dir` on the CLI when the default temp location is unsuitable (e.g., baked container images where temp gets cleared on reboot).",
48826
48890
  "type": "string",
@@ -67942,7 +68006,7 @@
67942
68006
  "anyOf": [
67943
68007
  {
67944
68008
  "title": "Run shell command (simple)",
67945
- "description": "Command to perform in the machine's default shell.",
68009
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
67946
68010
  "type": "string",
67947
68011
  "transform": [
67948
68012
  "trim"
@@ -67957,7 +68021,16 @@
67957
68021
  "properties": {
67958
68022
  "command": {
67959
68023
  "type": "string",
67960
- "description": "Command to perform in the machine's default shell."
68024
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
68025
+ },
68026
+ "shell": {
68027
+ "type": "string",
68028
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
68029
+ "enum": [
68030
+ "bash",
68031
+ "cmd",
68032
+ "powershell"
68033
+ ]
67961
68034
  },
67962
68035
  "args": {
67963
68036
  "type": "array",
@@ -68084,7 +68157,7 @@
68084
68157
  "schemas": {
68085
68158
  "string": {
68086
68159
  "title": "Run shell command (simple)",
68087
- "description": "Command to perform in the machine's default shell.",
68160
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
68088
68161
  "type": "string",
68089
68162
  "transform": [
68090
68163
  "trim"
@@ -68099,7 +68172,16 @@
68099
68172
  "properties": {
68100
68173
  "command": {
68101
68174
  "type": "string",
68102
- "description": "Command to perform in the machine's default shell."
68175
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
68176
+ },
68177
+ "shell": {
68178
+ "type": "string",
68179
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
68180
+ "enum": [
68181
+ "bash",
68182
+ "cmd",
68183
+ "powershell"
68184
+ ]
68103
68185
  },
68104
68186
  "args": {
68105
68187
  "type": "array",
@@ -68225,6 +68307,15 @@
68225
68307
  },
68226
68308
  "examples": [
68227
68309
  "docker run hello-world",
68310
+ {
68311
+ "command": "echo %USERNAME%",
68312
+ "shell": "cmd"
68313
+ },
68314
+ {
68315
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
68316
+ "shell": "bash",
68317
+ "stdio": "bashism"
68318
+ },
68228
68319
  {
68229
68320
  "command": "echo",
68230
68321
  "args": [
@@ -93712,6 +93803,9 @@
93712
93803
  },
93713
93804
  "examples": [
93714
93805
  {},
93806
+ {
93807
+ "shell": "powershell"
93808
+ },
93715
93809
  {
93716
93810
  "input": ".",
93717
93811
  "output": ".",
@@ -126838,7 +126932,7 @@
126838
126932
  "anyOf": [
126839
126933
  {
126840
126934
  "title": "Run shell command (simple)",
126841
- "description": "Command to perform in the machine's default shell.",
126935
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
126842
126936
  "type": "string",
126843
126937
  "transform": [
126844
126938
  "trim"
@@ -126853,7 +126947,16 @@
126853
126947
  "properties": {
126854
126948
  "command": {
126855
126949
  "type": "string",
126856
- "description": "Command to perform in the machine's default shell."
126950
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
126951
+ },
126952
+ "shell": {
126953
+ "type": "string",
126954
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
126955
+ "enum": [
126956
+ "bash",
126957
+ "cmd",
126958
+ "powershell"
126959
+ ]
126857
126960
  },
126858
126961
  "args": {
126859
126962
  "type": "array",
@@ -126980,7 +127083,7 @@
126980
127083
  "schemas": {
126981
127084
  "string": {
126982
127085
  "title": "Run shell command (simple)",
126983
- "description": "Command to perform in the machine's default shell.",
127086
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
126984
127087
  "type": "string",
126985
127088
  "transform": [
126986
127089
  "trim"
@@ -126995,7 +127098,16 @@
126995
127098
  "properties": {
126996
127099
  "command": {
126997
127100
  "type": "string",
126998
- "description": "Command to perform in the machine's default shell."
127101
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
127102
+ },
127103
+ "shell": {
127104
+ "type": "string",
127105
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
127106
+ "enum": [
127107
+ "bash",
127108
+ "cmd",
127109
+ "powershell"
127110
+ ]
126999
127111
  },
127000
127112
  "args": {
127001
127113
  "type": "array",
@@ -127121,6 +127233,15 @@
127121
127233
  },
127122
127234
  "examples": [
127123
127235
  "docker run hello-world",
127236
+ {
127237
+ "command": "echo %USERNAME%",
127238
+ "shell": "cmd"
127239
+ },
127240
+ {
127241
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
127242
+ "shell": "bash",
127243
+ "stdio": "bashism"
127244
+ },
127124
127245
  {
127125
127246
  "command": "echo",
127126
127247
  "args": [
@@ -152508,7 +152629,7 @@
152508
152629
  "anyOf": [
152509
152630
  {
152510
152631
  "title": "Run shell command (simple)",
152511
- "description": "Command to perform in the machine's default shell.",
152632
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
152512
152633
  "type": "string",
152513
152634
  "transform": [
152514
152635
  "trim"
@@ -152523,7 +152644,16 @@
152523
152644
  "properties": {
152524
152645
  "command": {
152525
152646
  "type": "string",
152526
- "description": "Command to perform in the machine's default shell."
152647
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
152648
+ },
152649
+ "shell": {
152650
+ "type": "string",
152651
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
152652
+ "enum": [
152653
+ "bash",
152654
+ "cmd",
152655
+ "powershell"
152656
+ ]
152527
152657
  },
152528
152658
  "args": {
152529
152659
  "type": "array",
@@ -152650,7 +152780,7 @@
152650
152780
  "schemas": {
152651
152781
  "string": {
152652
152782
  "title": "Run shell command (simple)",
152653
- "description": "Command to perform in the machine's default shell.",
152783
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
152654
152784
  "type": "string",
152655
152785
  "transform": [
152656
152786
  "trim"
@@ -152665,7 +152795,16 @@
152665
152795
  "properties": {
152666
152796
  "command": {
152667
152797
  "type": "string",
152668
- "description": "Command to perform in the machine's default shell."
152798
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
152799
+ },
152800
+ "shell": {
152801
+ "type": "string",
152802
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
152803
+ "enum": [
152804
+ "bash",
152805
+ "cmd",
152806
+ "powershell"
152807
+ ]
152669
152808
  },
152670
152809
  "args": {
152671
152810
  "type": "array",
@@ -152791,6 +152930,15 @@
152791
152930
  },
152792
152931
  "examples": [
152793
152932
  "docker run hello-world",
152933
+ {
152934
+ "command": "echo %USERNAME%",
152935
+ "shell": "cmd"
152936
+ },
152937
+ {
152938
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
152939
+ "shell": "bash",
152940
+ "stdio": "bashism"
152941
+ },
152794
152942
  {
152795
152943
  "command": "echo",
152796
152944
  "args": [
@@ -153292,6 +153440,16 @@
153292
153440
  "type": "boolean",
153293
153441
  "default": true
153294
153442
  },
153443
+ "shell": {
153444
+ "description": "Default shell for `runShell` steps (and `runCode`'s shell-based execution). `runShell` steps can override this value with their own `shell` field. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
153445
+ "type": "string",
153446
+ "enum": [
153447
+ "bash",
153448
+ "cmd",
153449
+ "powershell"
153450
+ ],
153451
+ "default": "bash"
153452
+ },
153295
153453
  "cacheDir": {
153296
153454
  "description": "Directory for lazy-installed runtime assets (heavy npm packages, browser binaries, ffmpeg). Defaults to `<os.tmpdir()>/doc-detective/`. Override here, with the `DOC_DETECTIVE_CACHE_DIR` env var, or with `--cache-dir` on the CLI when the default temp location is unsuitable (e.g., baked container images where temp gets cleared on reboot).",
153297
153455
  "type": "string",
@@ -172413,7 +172571,7 @@
172413
172571
  "anyOf": [
172414
172572
  {
172415
172573
  "title": "Run shell command (simple)",
172416
- "description": "Command to perform in the machine's default shell.",
172574
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
172417
172575
  "type": "string",
172418
172576
  "transform": [
172419
172577
  "trim"
@@ -172428,7 +172586,16 @@
172428
172586
  "properties": {
172429
172587
  "command": {
172430
172588
  "type": "string",
172431
- "description": "Command to perform in the machine's default shell."
172589
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
172590
+ },
172591
+ "shell": {
172592
+ "type": "string",
172593
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
172594
+ "enum": [
172595
+ "bash",
172596
+ "cmd",
172597
+ "powershell"
172598
+ ]
172432
172599
  },
172433
172600
  "args": {
172434
172601
  "type": "array",
@@ -172555,7 +172722,7 @@
172555
172722
  "schemas": {
172556
172723
  "string": {
172557
172724
  "title": "Run shell command (simple)",
172558
- "description": "Command to perform in the machine's default shell.",
172725
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
172559
172726
  "type": "string",
172560
172727
  "transform": [
172561
172728
  "trim"
@@ -172570,7 +172737,16 @@
172570
172737
  "properties": {
172571
172738
  "command": {
172572
172739
  "type": "string",
172573
- "description": "Command to perform in the machine's default shell."
172740
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
172741
+ },
172742
+ "shell": {
172743
+ "type": "string",
172744
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
172745
+ "enum": [
172746
+ "bash",
172747
+ "cmd",
172748
+ "powershell"
172749
+ ]
172574
172750
  },
172575
172751
  "args": {
172576
172752
  "type": "array",
@@ -172696,6 +172872,15 @@
172696
172872
  },
172697
172873
  "examples": [
172698
172874
  "docker run hello-world",
172875
+ {
172876
+ "command": "echo %USERNAME%",
172877
+ "shell": "cmd"
172878
+ },
172879
+ {
172880
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
172881
+ "shell": "bash",
172882
+ "stdio": "bashism"
172883
+ },
172699
172884
  {
172700
172885
  "command": "echo",
172701
172886
  "args": [
@@ -198183,6 +198368,9 @@
198183
198368
  },
198184
198369
  "examples": [
198185
198370
  {},
198371
+ {
198372
+ "shell": "powershell"
198373
+ },
198186
198374
  {
198187
198375
  "input": ".",
198188
198376
  "output": ".",
@@ -219761,7 +219949,7 @@
219761
219949
  "anyOf": [
219762
219950
  {
219763
219951
  "title": "Run shell command (simple)",
219764
- "description": "Command to perform in the machine's default shell.",
219952
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
219765
219953
  "type": "string",
219766
219954
  "transform": [
219767
219955
  "trim"
@@ -219776,7 +219964,16 @@
219776
219964
  "properties": {
219777
219965
  "command": {
219778
219966
  "type": "string",
219779
- "description": "Command to perform in the machine's default shell."
219967
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
219968
+ },
219969
+ "shell": {
219970
+ "type": "string",
219971
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
219972
+ "enum": [
219973
+ "bash",
219974
+ "cmd",
219975
+ "powershell"
219976
+ ]
219780
219977
  },
219781
219978
  "args": {
219782
219979
  "type": "array",
@@ -219903,7 +220100,7 @@
219903
220100
  "schemas": {
219904
220101
  "string": {
219905
220102
  "title": "Run shell command (simple)",
219906
- "description": "Command to perform in the machine's default shell.",
220103
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
219907
220104
  "type": "string",
219908
220105
  "transform": [
219909
220106
  "trim"
@@ -219918,7 +220115,16 @@
219918
220115
  "properties": {
219919
220116
  "command": {
219920
220117
  "type": "string",
219921
- "description": "Command to perform in the machine's default shell."
220118
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
220119
+ },
220120
+ "shell": {
220121
+ "type": "string",
220122
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
220123
+ "enum": [
220124
+ "bash",
220125
+ "cmd",
220126
+ "powershell"
220127
+ ]
219922
220128
  },
219923
220129
  "args": {
219924
220130
  "type": "array",
@@ -220044,6 +220250,15 @@
220044
220250
  },
220045
220251
  "examples": [
220046
220252
  "docker run hello-world",
220253
+ {
220254
+ "command": "echo %USERNAME%",
220255
+ "shell": "cmd"
220256
+ },
220257
+ {
220258
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
220259
+ "shell": "bash",
220260
+ "stdio": "bashism"
220261
+ },
220047
220262
  {
220048
220263
  "command": "echo",
220049
220264
  "args": [
@@ -264635,7 +264850,7 @@
264635
264850
  "anyOf": [
264636
264851
  {
264637
264852
  "title": "Run shell command (simple)",
264638
- "description": "Command to perform in the machine's default shell.",
264853
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
264639
264854
  "type": "string",
264640
264855
  "transform": [
264641
264856
  "trim"
@@ -264650,7 +264865,16 @@
264650
264865
  "properties": {
264651
264866
  "command": {
264652
264867
  "type": "string",
264653
- "description": "Command to perform in the machine's default shell."
264868
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
264869
+ },
264870
+ "shell": {
264871
+ "type": "string",
264872
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
264873
+ "enum": [
264874
+ "bash",
264875
+ "cmd",
264876
+ "powershell"
264877
+ ]
264654
264878
  },
264655
264879
  "args": {
264656
264880
  "type": "array",
@@ -264777,7 +265001,7 @@
264777
265001
  "schemas": {
264778
265002
  "string": {
264779
265003
  "title": "Run shell command (simple)",
264780
- "description": "Command to perform in the machine's default shell.",
265004
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
264781
265005
  "type": "string",
264782
265006
  "transform": [
264783
265007
  "trim"
@@ -264792,7 +265016,16 @@
264792
265016
  "properties": {
264793
265017
  "command": {
264794
265018
  "type": "string",
264795
- "description": "Command to perform in the machine's default shell."
265019
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
265020
+ },
265021
+ "shell": {
265022
+ "type": "string",
265023
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
265024
+ "enum": [
265025
+ "bash",
265026
+ "cmd",
265027
+ "powershell"
265028
+ ]
264796
265029
  },
264797
265030
  "args": {
264798
265031
  "type": "array",
@@ -264918,6 +265151,15 @@
264918
265151
  },
264919
265152
  "examples": [
264920
265153
  "docker run hello-world",
265154
+ {
265155
+ "command": "echo %USERNAME%",
265156
+ "shell": "cmd"
265157
+ },
265158
+ {
265159
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
265160
+ "shell": "bash",
265161
+ "stdio": "bashism"
265162
+ },
264921
265163
  {
264922
265164
  "command": "echo",
264923
265165
  "args": [
@@ -312470,7 +312712,7 @@
312470
312712
  "anyOf": [
312471
312713
  {
312472
312714
  "title": "Run shell command (simple)",
312473
- "description": "Command to perform in the machine's default shell.",
312715
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
312474
312716
  "type": "string",
312475
312717
  "transform": [
312476
312718
  "trim"
@@ -312485,7 +312727,16 @@
312485
312727
  "properties": {
312486
312728
  "command": {
312487
312729
  "type": "string",
312488
- "description": "Command to perform in the machine's default shell."
312730
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
312731
+ },
312732
+ "shell": {
312733
+ "type": "string",
312734
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
312735
+ "enum": [
312736
+ "bash",
312737
+ "cmd",
312738
+ "powershell"
312739
+ ]
312489
312740
  },
312490
312741
  "args": {
312491
312742
  "type": "array",
@@ -312612,7 +312863,7 @@
312612
312863
  "schemas": {
312613
312864
  "string": {
312614
312865
  "title": "Run shell command (simple)",
312615
- "description": "Command to perform in the machine's default shell.",
312866
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
312616
312867
  "type": "string",
312617
312868
  "transform": [
312618
312869
  "trim"
@@ -312627,7 +312878,16 @@
312627
312878
  "properties": {
312628
312879
  "command": {
312629
312880
  "type": "string",
312630
- "description": "Command to perform in the machine's default shell."
312881
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
312882
+ },
312883
+ "shell": {
312884
+ "type": "string",
312885
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
312886
+ "enum": [
312887
+ "bash",
312888
+ "cmd",
312889
+ "powershell"
312890
+ ]
312631
312891
  },
312632
312892
  "args": {
312633
312893
  "type": "array",
@@ -312753,6 +313013,15 @@
312753
313013
  },
312754
313014
  "examples": [
312755
313015
  "docker run hello-world",
313016
+ {
313017
+ "command": "echo %USERNAME%",
313018
+ "shell": "cmd"
313019
+ },
313020
+ {
313021
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
313022
+ "shell": "bash",
313023
+ "stdio": "bashism"
313024
+ },
312756
313025
  {
312757
313026
  "command": "echo",
312758
313027
  "args": [
@@ -357344,7 +357613,7 @@
357344
357613
  "anyOf": [
357345
357614
  {
357346
357615
  "title": "Run shell command (simple)",
357347
- "description": "Command to perform in the machine's default shell.",
357616
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
357348
357617
  "type": "string",
357349
357618
  "transform": [
357350
357619
  "trim"
@@ -357359,7 +357628,16 @@
357359
357628
  "properties": {
357360
357629
  "command": {
357361
357630
  "type": "string",
357362
- "description": "Command to perform in the machine's default shell."
357631
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
357632
+ },
357633
+ "shell": {
357634
+ "type": "string",
357635
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
357636
+ "enum": [
357637
+ "bash",
357638
+ "cmd",
357639
+ "powershell"
357640
+ ]
357363
357641
  },
357364
357642
  "args": {
357365
357643
  "type": "array",
@@ -357486,7 +357764,7 @@
357486
357764
  "schemas": {
357487
357765
  "string": {
357488
357766
  "title": "Run shell command (simple)",
357489
- "description": "Command to perform in the machine's default shell.",
357767
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
357490
357768
  "type": "string",
357491
357769
  "transform": [
357492
357770
  "trim"
@@ -357501,7 +357779,16 @@
357501
357779
  "properties": {
357502
357780
  "command": {
357503
357781
  "type": "string",
357504
- "description": "Command to perform in the machine's default shell."
357782
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
357783
+ },
357784
+ "shell": {
357785
+ "type": "string",
357786
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
357787
+ "enum": [
357788
+ "bash",
357789
+ "cmd",
357790
+ "powershell"
357791
+ ]
357505
357792
  },
357506
357793
  "args": {
357507
357794
  "type": "array",
@@ -357627,6 +357914,15 @@
357627
357914
  },
357628
357915
  "examples": [
357629
357916
  "docker run hello-world",
357917
+ {
357918
+ "command": "echo %USERNAME%",
357919
+ "shell": "cmd"
357920
+ },
357921
+ {
357922
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
357923
+ "shell": "bash",
357924
+ "stdio": "bashism"
357925
+ },
357630
357926
  {
357631
357927
  "command": "echo",
357632
357928
  "args": [
@@ -384672,7 +384968,7 @@
384672
384968
  "anyOf": [
384673
384969
  {
384674
384970
  "title": "Run shell command (simple)",
384675
- "description": "Command to perform in the machine's default shell.",
384971
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
384676
384972
  "type": "string",
384677
384973
  "transform": [
384678
384974
  "trim"
@@ -384687,7 +384983,16 @@
384687
384983
  "properties": {
384688
384984
  "command": {
384689
384985
  "type": "string",
384690
- "description": "Command to perform in the machine's default shell."
384986
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
384987
+ },
384988
+ "shell": {
384989
+ "type": "string",
384990
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
384991
+ "enum": [
384992
+ "bash",
384993
+ "cmd",
384994
+ "powershell"
384995
+ ]
384691
384996
  },
384692
384997
  "args": {
384693
384998
  "type": "array",
@@ -384814,7 +385119,7 @@
384814
385119
  "schemas": {
384815
385120
  "string": {
384816
385121
  "title": "Run shell command (simple)",
384817
- "description": "Command to perform in the machine's default shell.",
385122
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
384818
385123
  "type": "string",
384819
385124
  "transform": [
384820
385125
  "trim"
@@ -384829,7 +385134,16 @@
384829
385134
  "properties": {
384830
385135
  "command": {
384831
385136
  "type": "string",
384832
- "description": "Command to perform in the machine's default shell."
385137
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
385138
+ },
385139
+ "shell": {
385140
+ "type": "string",
385141
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
385142
+ "enum": [
385143
+ "bash",
385144
+ "cmd",
385145
+ "powershell"
385146
+ ]
384833
385147
  },
384834
385148
  "args": {
384835
385149
  "type": "array",
@@ -384955,6 +385269,15 @@
384955
385269
  },
384956
385270
  "examples": [
384957
385271
  "docker run hello-world",
385272
+ {
385273
+ "command": "echo %USERNAME%",
385274
+ "shell": "cmd"
385275
+ },
385276
+ {
385277
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
385278
+ "shell": "bash",
385279
+ "stdio": "bashism"
385280
+ },
384958
385281
  {
384959
385282
  "command": "echo",
384960
385283
  "args": [
@@ -408392,7 +408715,7 @@
408392
408715
  "anyOf": [
408393
408716
  {
408394
408717
  "title": "Run shell command (simple)",
408395
- "description": "Command to perform in the machine's default shell.",
408718
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
408396
408719
  "type": "string",
408397
408720
  "transform": [
408398
408721
  "trim"
@@ -408407,7 +408730,16 @@
408407
408730
  "properties": {
408408
408731
  "command": {
408409
408732
  "type": "string",
408410
- "description": "Command to perform in the machine's default shell."
408733
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
408734
+ },
408735
+ "shell": {
408736
+ "type": "string",
408737
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
408738
+ "enum": [
408739
+ "bash",
408740
+ "cmd",
408741
+ "powershell"
408742
+ ]
408411
408743
  },
408412
408744
  "args": {
408413
408745
  "type": "array",
@@ -408534,7 +408866,7 @@
408534
408866
  "schemas": {
408535
408867
  "string": {
408536
408868
  "title": "Run shell command (simple)",
408537
- "description": "Command to perform in the machine's default shell.",
408869
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
408538
408870
  "type": "string",
408539
408871
  "transform": [
408540
408872
  "trim"
@@ -408549,7 +408881,16 @@
408549
408881
  "properties": {
408550
408882
  "command": {
408551
408883
  "type": "string",
408552
- "description": "Command to perform in the machine's default shell."
408884
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
408885
+ },
408886
+ "shell": {
408887
+ "type": "string",
408888
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
408889
+ "enum": [
408890
+ "bash",
408891
+ "cmd",
408892
+ "powershell"
408893
+ ]
408553
408894
  },
408554
408895
  "args": {
408555
408896
  "type": "array",
@@ -408675,6 +409016,15 @@
408675
409016
  },
408676
409017
  "examples": [
408677
409018
  "docker run hello-world",
409019
+ {
409020
+ "command": "echo %USERNAME%",
409021
+ "shell": "cmd"
409022
+ },
409023
+ {
409024
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
409025
+ "shell": "bash",
409026
+ "stdio": "bashism"
409027
+ },
408678
409028
  {
408679
409029
  "command": "echo",
408680
409030
  "args": [
@@ -453266,7 +453616,7 @@
453266
453616
  "anyOf": [
453267
453617
  {
453268
453618
  "title": "Run shell command (simple)",
453269
- "description": "Command to perform in the machine's default shell.",
453619
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
453270
453620
  "type": "string",
453271
453621
  "transform": [
453272
453622
  "trim"
@@ -453281,7 +453631,16 @@
453281
453631
  "properties": {
453282
453632
  "command": {
453283
453633
  "type": "string",
453284
- "description": "Command to perform in the machine's default shell."
453634
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
453635
+ },
453636
+ "shell": {
453637
+ "type": "string",
453638
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
453639
+ "enum": [
453640
+ "bash",
453641
+ "cmd",
453642
+ "powershell"
453643
+ ]
453285
453644
  },
453286
453645
  "args": {
453287
453646
  "type": "array",
@@ -453408,7 +453767,7 @@
453408
453767
  "schemas": {
453409
453768
  "string": {
453410
453769
  "title": "Run shell command (simple)",
453411
- "description": "Command to perform in the machine's default shell.",
453770
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
453412
453771
  "type": "string",
453413
453772
  "transform": [
453414
453773
  "trim"
@@ -453423,7 +453782,16 @@
453423
453782
  "properties": {
453424
453783
  "command": {
453425
453784
  "type": "string",
453426
- "description": "Command to perform in the machine's default shell."
453785
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
453786
+ },
453787
+ "shell": {
453788
+ "type": "string",
453789
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
453790
+ "enum": [
453791
+ "bash",
453792
+ "cmd",
453793
+ "powershell"
453794
+ ]
453427
453795
  },
453428
453796
  "args": {
453429
453797
  "type": "array",
@@ -453549,6 +453917,15 @@
453549
453917
  },
453550
453918
  "examples": [
453551
453919
  "docker run hello-world",
453920
+ {
453921
+ "command": "echo %USERNAME%",
453922
+ "shell": "cmd"
453923
+ },
453924
+ {
453925
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
453926
+ "shell": "bash",
453927
+ "stdio": "bashism"
453928
+ },
453552
453929
  {
453553
453930
  "command": "echo",
453554
453931
  "args": [
@@ -499832,7 +500209,7 @@
499832
500209
  "anyOf": [
499833
500210
  {
499834
500211
  "title": "Run shell command (simple)",
499835
- "description": "Command to perform in the machine's default shell.",
500212
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
499836
500213
  "type": "string",
499837
500214
  "transform": [
499838
500215
  "trim"
@@ -499847,7 +500224,16 @@
499847
500224
  "properties": {
499848
500225
  "command": {
499849
500226
  "type": "string",
499850
- "description": "Command to perform in the machine's default shell."
500227
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
500228
+ },
500229
+ "shell": {
500230
+ "type": "string",
500231
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
500232
+ "enum": [
500233
+ "bash",
500234
+ "cmd",
500235
+ "powershell"
500236
+ ]
499851
500237
  },
499852
500238
  "args": {
499853
500239
  "type": "array",
@@ -499974,7 +500360,7 @@
499974
500360
  "schemas": {
499975
500361
  "string": {
499976
500362
  "title": "Run shell command (simple)",
499977
- "description": "Command to perform in the machine's default shell.",
500363
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
499978
500364
  "type": "string",
499979
500365
  "transform": [
499980
500366
  "trim"
@@ -499989,7 +500375,16 @@
499989
500375
  "properties": {
499990
500376
  "command": {
499991
500377
  "type": "string",
499992
- "description": "Command to perform in the machine's default shell."
500378
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
500379
+ },
500380
+ "shell": {
500381
+ "type": "string",
500382
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
500383
+ "enum": [
500384
+ "bash",
500385
+ "cmd",
500386
+ "powershell"
500387
+ ]
499993
500388
  },
499994
500389
  "args": {
499995
500390
  "type": "array",
@@ -500115,6 +500510,15 @@
500115
500510
  },
500116
500511
  "examples": [
500117
500512
  "docker run hello-world",
500513
+ {
500514
+ "command": "echo %USERNAME%",
500515
+ "shell": "cmd"
500516
+ },
500517
+ {
500518
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
500519
+ "shell": "bash",
500520
+ "stdio": "bashism"
500521
+ },
500118
500522
  {
500119
500523
  "command": "echo",
500120
500524
  "args": [
@@ -548051,7 +548455,7 @@
548051
548455
  "anyOf": [
548052
548456
  {
548053
548457
  "title": "Run shell command (simple)",
548054
- "description": "Command to perform in the machine's default shell.",
548458
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
548055
548459
  "type": "string",
548056
548460
  "transform": [
548057
548461
  "trim"
@@ -548066,7 +548470,16 @@
548066
548470
  "properties": {
548067
548471
  "command": {
548068
548472
  "type": "string",
548069
- "description": "Command to perform in the machine's default shell."
548473
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
548474
+ },
548475
+ "shell": {
548476
+ "type": "string",
548477
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
548478
+ "enum": [
548479
+ "bash",
548480
+ "cmd",
548481
+ "powershell"
548482
+ ]
548070
548483
  },
548071
548484
  "args": {
548072
548485
  "type": "array",
@@ -548193,7 +548606,7 @@
548193
548606
  "schemas": {
548194
548607
  "string": {
548195
548608
  "title": "Run shell command (simple)",
548196
- "description": "Command to perform in the machine's default shell.",
548609
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
548197
548610
  "type": "string",
548198
548611
  "transform": [
548199
548612
  "trim"
@@ -548208,7 +548621,16 @@
548208
548621
  "properties": {
548209
548622
  "command": {
548210
548623
  "type": "string",
548211
- "description": "Command to perform in the machine's default shell."
548624
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
548625
+ },
548626
+ "shell": {
548627
+ "type": "string",
548628
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
548629
+ "enum": [
548630
+ "bash",
548631
+ "cmd",
548632
+ "powershell"
548633
+ ]
548212
548634
  },
548213
548635
  "args": {
548214
548636
  "type": "array",
@@ -548334,6 +548756,15 @@
548334
548756
  },
548335
548757
  "examples": [
548336
548758
  "docker run hello-world",
548759
+ {
548760
+ "command": "echo %USERNAME%",
548761
+ "shell": "cmd"
548762
+ },
548763
+ {
548764
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
548765
+ "shell": "bash",
548766
+ "stdio": "bashism"
548767
+ },
548337
548768
  {
548338
548769
  "command": "echo",
548339
548770
  "args": [
@@ -592925,7 +593356,7 @@
592925
593356
  "anyOf": [
592926
593357
  {
592927
593358
  "title": "Run shell command (simple)",
592928
- "description": "Command to perform in the machine's default shell.",
593359
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
592929
593360
  "type": "string",
592930
593361
  "transform": [
592931
593362
  "trim"
@@ -592940,7 +593371,16 @@
592940
593371
  "properties": {
592941
593372
  "command": {
592942
593373
  "type": "string",
592943
- "description": "Command to perform in the machine's default shell."
593374
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
593375
+ },
593376
+ "shell": {
593377
+ "type": "string",
593378
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
593379
+ "enum": [
593380
+ "bash",
593381
+ "cmd",
593382
+ "powershell"
593383
+ ]
592944
593384
  },
592945
593385
  "args": {
592946
593386
  "type": "array",
@@ -593067,7 +593507,7 @@
593067
593507
  "schemas": {
593068
593508
  "string": {
593069
593509
  "title": "Run shell command (simple)",
593070
- "description": "Command to perform in the machine's default shell.",
593510
+ "description": "Command to perform in the default shell (`bash` on every platform, unless the config-level `shell` setting changes it).",
593071
593511
  "type": "string",
593072
593512
  "transform": [
593073
593513
  "trim"
@@ -593082,7 +593522,16 @@
593082
593522
  "properties": {
593083
593523
  "command": {
593084
593524
  "type": "string",
593085
- "description": "Command to perform in the machine's default shell."
593525
+ "description": "Command to perform in the selected shell (see `shell`; defaults to `bash` on every platform)."
593526
+ },
593527
+ "shell": {
593528
+ "type": "string",
593529
+ "description": "Shell to run the command in. If unset, uses the config-level `shell` setting, which defaults to `bash`. `cmd` and `powershell` are only supported on Windows. On Windows, `bash` resolves to Git Bash, which Doc Detective installs automatically if it isn't present.",
593530
+ "enum": [
593531
+ "bash",
593532
+ "cmd",
593533
+ "powershell"
593534
+ ]
593086
593535
  },
593087
593536
  "args": {
593088
593537
  "type": "array",
@@ -593208,6 +593657,15 @@
593208
593657
  },
593209
593658
  "examples": [
593210
593659
  "docker run hello-world",
593660
+ {
593661
+ "command": "echo %USERNAME%",
593662
+ "shell": "cmd"
593663
+ },
593664
+ {
593665
+ "command": "[[ \"ok\" == o* ]] && echo bashism",
593666
+ "shell": "bash",
593667
+ "stdio": "bashism"
593668
+ },
593211
593669
  {
593212
593670
  "command": "echo",
593213
593671
  "args": [