safe-chains 0.219.0

Auto-allow safe bash commands in agentic coding tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
# Xcode

### `actool`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/actool.1.html">https://keith.github.io/xcode-man-pages/actool.1.html</a></p>

- Allowed standalone flags: --compress-pngs, --enable-on-demand-resources, --errors, --include-all-app-icons, --include-sticker-content, --notices, --print-contents, --skip-app-store-deployment, --version, --warnings, --help, -h
- Allowed valued flags: --accent-color, --alternate-app-icon, --app-icon, --asset-pack-output-specifications, --compile, --filter-for-device-model, --filter-for-device-os-version, --include-partial-info-plist-localizations, --launch-image, --minimum-deployment-target, --output-format, --output-partial-info-plist, --platform, --product-type, --standalone-icon-behavior, --sticker-pack-identifier-prefix, --sticker-pack-strings-file, --stickers-icon-role, --target-device, --widget-background-color

### `agvtool`
<p class="cmd-url"><a href="https://developer.apple.com/library/archive/qa/qa1827/_index.html">https://developer.apple.com/library/archive/qa/qa1827/_index.html</a></p>

- **bump**: Flags: --help, -all, -h
- **mvers**: Flags: --help, -h
- **new-marketing-version**: Flags: --help, -h
- **new-version**: Flags: --help, -all, -h
- **vers**: Flags: --help, -h
- **what-marketing-version**: Flags: --help, -h
- **what-version**: Flags: --help, -h

**Examples:**

- `agvtool what-version`
- `agvtool what-marketing-version`
- `agvtool vers`
- `agvtool mvers`
- `agvtool new-version 1.2.3`
- `agvtool new-version -all 1.2.3`
- `agvtool new-marketing-version 1.0`
- `agvtool bump`
- `agvtool bump -all`

### `codesign`
<p class="cmd-url"><a href="https://ss64.com/mac/codesign.html">https://ss64.com/mac/codesign.html</a></p>

- Requires --display, --verify, -d, -v. - Allowed standalone flags: --deep, --display, --verify, --xml, -R, -d, -v, --help, -h
- Allowed valued flags: --entitlements, --requirements, --verbose, -r

**Examples:**

- `codesign -dv MyApp.app`
- `codesign --display --verify MyApp.app`
- `codesign --verify --deep MyApp.app`
- `codesign -d --entitlements - MyApp.app`
- `codesign -d --entitlements :- MyApp.app`
- `codesign -d --requirements - MyApp.app`
- `codesign -d --xml --entitlements - MyApp.app`
- `codesign -dv --verbose=4 MyApp.app`

### `devicectl`
<p class="cmd-url"><a href="https://theapplewiki.com/wiki/Devicectl">https://theapplewiki.com/wiki/Devicectl</a></p>

- **device info apps**: Positional args accepted
- **device info ddiServices**: Positional args accepted
- **device info details**: Positional args accepted
- **device info displays**: Positional args accepted
- **device info files**: Positional args accepted
- **device info lockState**: Positional args accepted
- **device info processes**: Positional args accepted
- **list devices**: Positional args accepted
- **list preferredDDI**: Positional args accepted
- Allowed standalone flags: --help, --version, -h

### `gen_bridge_metadata`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/gen_bridge_metadata.1.html">https://keith.github.io/xcode-man-pages/gen_bridge_metadata.1.html</a></p>

- Allowed standalone flags: --64-bit, --arm64e, --debug, --no-32-bit, --no-64-bit, --private, --version, --help, -d, -h, -p, -v
- Allowed valued flags: --cflags, --cflags-64, --exception, --format, --framework, --output, -C, -F, -c, -e, -f, -o

### `genstrings`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/genstrings.1.html">https://keith.github.io/xcode-man-pages/genstrings.1.html</a></p>

- Allowed standalone flags: -SwiftUI, -a, -bigEndian, -d, -littleEndian, -macRoman, -noPositionalParameters, -q, -u, --help, -h
- Allowed valued flags: -encoding, -o, -s, -skipTable

### `ibtool`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/ibtool.1.html">https://keith.github.io/xcode-man-pages/ibtool.1.html</a></p>

- Allowed standalone flags: --all, --classes, --connections, --enable-auto-layout, --errors, --hierarchy, --localizable-all, --localizable-geometry, --localizable-other, --localizable-stringarrays, --localizable-strings, --localizable-to-many-relationships, --localize-incremental, --notices, --objects, --reference-external-strings-file, --remove-plugin-dependencies, --update-constraints, --update-frames, --upgrade, --version, --version-history, --warnings, --help, -h
- Allowed valued flags: --bundle, --companion-strings-file, --compile, --convert, --export, --export-strings-file, --export-xliff, --flatten, --import, --import-strings-file, --import-xliff, --incremental-file, --module, --output-format, --previous-file, --source-language, --strip, --target-language, --write

### `iconutil`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/iconutil.1.html">https://keith.github.io/xcode-man-pages/iconutil.1.html</a></p>

- Allowed standalone flags: --help, -h
- Allowed valued flags: --convert, --output, -c, -o

**Examples:**

- `iconutil -c iconset -o ./out.iconset app.icns`

### `layerutil`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/layerutil.1.html">https://keith.github.io/xcode-man-pages/layerutil.1.html</a></p>

- Allowed standalone flags: --help, --palette-image, --version, -V, -c, -h
- Allowed valued flags: --display-gamut, --flattened-image, --gpu-compression, --lossy-compression, --output, --scale, -f, -g, -l, -o, -p, -s

### `lipo`
<p class="cmd-url"><a href="https://ss64.com/mac/lipo.html">https://ss64.com/mac/lipo.html</a></p>

- Requires -archs, -create, -detailed_info, -extract, -extract_family, -info, -remove, -replace, -thin, -verify_arch. - Allowed standalone flags: -archs, -create, -detailed_info, -info, -verify_arch, --help, -h
- Allowed valued flags: -arch, -extract, -extract_family, -output, -remove, -replace, -segalign, -thin

**Examples:**

- `lipo -info MyBinary`
- `lipo -archs MyBinary`
- `lipo -detailed_info MyBinary`
- `lipo -verify_arch arm64 x86_64 MyBinary`
- `lipo -create x86_64.o arm64.o -output universal.o`
- `lipo MyBinary -thin arm64 -output arm64-only`
- `lipo MyBinary -extract arm64 -output arm64.o`
- `lipo MyBinary -remove arm64 -output without-arm64.o`

### `mig`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/mig.1.html">https://keith.github.io/xcode-man-pages/mig.1.html</a></p>

- Allowed standalone flags: -B, -K, -L, -MD, -Q, -S, -V, -b, -cpp, -k, -l, -q, -s, -split, -v
- Allowed valued flags: -arch, -cc, -dheader, -header, -i, -iheader, -isysroot, -maxonstack, -migcom, -server, -sheader, -user

### `migcom`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/migcom.1.html">https://keith.github.io/xcode-man-pages/migcom.1.html</a></p>

- Allowed standalone flags: -B, -K, -L, -Q, -S, -V, -b, -k, -l, -q, -s, -split, -v
- Allowed valued flags: -dheader, -header, -i, -iheader, -maxonstack, -server, -sheader, -user

### `periphery`
<p class="cmd-url"><a href="https://github.com/peripheryapp/periphery">https://github.com/peripheryapp/periphery</a></p>

- **check-update**: Flags: --help, -h
- **clear-cache**: Flags: --help, -h
- **scan**: Flags: --bazel, --bazel-check-visibility, --clean-build, --disable-redundant-public-analysis, --disable-unused-import-analysis, --disable-update-check, --exclude-tests, --help, --no-color, --no-superfluous-ignore-comments, --quiet, --relative-results, --retain-assign-only-properties, --retain-codable-properties, --retain-encodable-properties, --retain-objc-accessible, --retain-objc-annotated, --retain-public, --retain-swift-ui-previews, --retain-unused-protocol-func-params, --skip-build, --skip-schemes-validation, --strict, --superfluous-ignore-comments, --verbose, -h. Valued: --baseline, --bazel-filter, --bazel-index-store, --color, --config, --exclude-targets, --external-codable-protocols, --external-encodable-protocols, --external-test-case-classes, --format, --generic-project-config, --index-exclude, --index-store-path, --json-package-manifest-path, --no-retain-spi, --project, --project-root, --report-exclude, --report-include, --retain-assign-only-property-types, --retain-files, --retain-unused-imported-modules, --schemes, --write-baseline, --write-results
- **version**: Flags: --help, -h
- Allowed standalone flags: --help, --version, -V, -h

### `pkgutil`
<p class="cmd-url"><a href="https://ss64.com/mac/pkgutil.html">https://ss64.com/mac/pkgutil.html</a></p>

- Requires --check-signature, --export-plist, --file-info, --file-info-plist, --files, --group-pkgs, --groups, --groups-plist, --packages, --payload-files, --pkg-groups, --pkg-info, --pkg-info-plist, --pkgs, --pkgs-plist. - Allowed standalone flags: --check-signature, --export-plist, --file-info, --file-info-plist, --files, --group-pkgs, --groups, --groups-plist, --packages, --payload-files, --pkg-groups, --pkg-info, --pkg-info-plist, --pkgs, --pkgs-plist, --regexp, --help, -h
- Allowed valued flags: --volume

### `plutil`
<p class="cmd-url"><a href="https://ss64.com/mac/plutil.html">https://ss64.com/mac/plutil.html</a></p>

- **-convert**
- **-extract**
- **-lint**: Flags: --help, -h, -s
- **-p**: Flags: --help, -h
- **-type**: Flags: --help, -h
- Allowed standalone flags: --help, --version, -V, -h, -help

### `pod`
<p class="cmd-url"><a href="https://guides.cocoapods.org/terminal/commands.html">https://guides.cocoapods.org/terminal/commands.html</a></p>

- **env**: Flags: --help, -h
- **info**: Flags: --help, -h
- **init**: Flags: --help, --no-ansi, --silent, --verbose, -h
- **install**: Flags: --clean-install, --deployment, --help, --no-ansi, --no-clean, --no-integrate, --no-repo-update, --repo-update, --silent, --verbose, -h. Valued: --project-directory
- **list**: Flags: --help, -h
- **outdated**: Flags: --help, --no-ansi, --no-repo-update, --silent, --verbose, -h
- **repo list**: Flags: --count-only, --help, --no-ansi, --silent, --verbose, -h
- **repo update**: Flags: --help, --no-ansi, --silent, --verbose, -h
- **repo**: Flags: --help, -h
- **search**: Flags: --help, --simple, --stats, --web, -h
- **spec cat**: Flags: --help, -h. Valued: --version
- **spec which**: Flags: --help, -h. Valued: --version
- **update**: Flags: --clean-install, --help, --no-ansi, --no-clean, --no-integrate, --no-repo-update, --silent, --sources, --verbose, -h. Valued: --exclude-pods, --project-directory, --sources
- Allowed standalone flags: --help, --version, -V, -h

**Examples:**

- `pod --version`
- `pod env`
- `pod list`
- `pod search Alamofire`
- `pod outdated`
- `pod install`
- `pod install --repo-update --verbose`
- `pod update`
- `pod update Alamofire`
- `pod init`
- `pod repo update`
- `pod spec cat Alamofire`

### `simctl`
<p class="cmd-url"><a href="https://developer.apple.com/documentation/xcode/simctl">https://developer.apple.com/documentation/xcode/simctl</a></p>

- **addmedia**: Flags: --help, -h
- **appinfo**: Flags: --help, -h
- **boot**: Flags: --help, -h. Valued: --arch
- **clone**: Flags: --help, -h
- **create**: Flags: --help, -h
- **delete**: Flags: --help, -h
- **erase**: Flags: --help, -h
- **getenv**: Flags: --help, -h
- **install**: Flags: --help, -h
- **keyboard**: Flags: --help, -h
- **keychain**: Flags: --help, -h
- **launch**: Flags: --console, --console-pty, --help, --stdout, --stderr, --terminate-running-process, --wait-for-debugger, -h
- **list**: Flags: --help, --json, --verbose, -h, -j, -v
- **openurl**: Flags: --help, -h
- **pair**: Flags: --help, -h
- **privacy**: Flags: --help, -h
- **push**: Flags: --help, -h
- **rename**: Flags: --help, -h
- **shutdown**: Flags: --help, -h
- **status_bar**: Flags: --help, -h. Valued: --batteryLevel, --batteryState, --cellularBars, --cellularMode, --dataNetwork, --operatorName, --time, --wifiBars, --wifiMode
- **terminate**: Flags: --help, -h
- **ui**: Flags: --help, -h
- **uninstall**: Flags: --help, -h
- **unpair**: Flags: --help, -h
- Allowed standalone flags: --help, --version, -V, -h

**Examples:**

- `simctl list`
- `simctl list devices`
- `simctl list runtimes --json`
- `simctl getenv booted HOME`
- `simctl boot 'iPhone 15'`
- `simctl shutdown all`
- `simctl shutdown booted`
- `simctl erase all`
- `simctl erase 'iPhone 15'`
- `simctl install booted MyApp.app`
- `simctl uninstall booted com.example.app`
- `simctl launch booted com.example.app`
- `simctl launch --console-pty booted com.example.app`
- `simctl terminate booted com.example.app`
- `simctl openurl booted https://example.com`
- `simctl addmedia booted photo.jpg`
- `simctl push booted com.example.app push.json`
- `simctl status_bar booted clear`
- `simctl appinfo booted com.example.app`
- `simctl create 'iPhone 15 Test' 'iPhone 15'`
- `simctl clone 'iPhone 15' 'iPhone 15 Test'`
- `simctl delete unavailable`

### `spctl`
<p class="cmd-url"><a href="https://ss64.com/mac/spctl.html">https://ss64.com/mac/spctl.html</a></p>

- Requires --assess, -a. - Allowed standalone flags: --assess, --verbose, -a, -v, --help, -h
- Allowed valued flags: --context, --type, --verbose, -t

**Examples:**

- `spctl --assess MyApp.app`
- `spctl -a -t exec MyApp.app`
- `spctl --assess --verbose MyApp.app`
- `spctl --assess --verbose=4 MyApp.app`
- `spctl --assess --verbose 4 MyApp.app`
- `spctl --assess --type install Package.pkg`

### `swiftformat`
<p class="cmd-url"><a href="https://github.com/nicklockwood/SwiftFormat">https://github.com/nicklockwood/SwiftFormat</a></p>

- Allowed standalone flags: --dryrun, --help, --lenient, --lint, --quiet, --strict, --verbose, -h
- Allowed valued flags: --config, --disable, --enable, --exclude, --reporter, --report, --rules, --swiftversion

**Examples:**

- `swiftformat Sources/`
- `swiftformat --lint Sources/`
- `swiftformat --dryrun .`
- `swiftformat --enable redundantSelf Sources/`
- `swiftformat --config .swiftformat Sources/`
- `swiftformat --reporter github-actions-log .`

### `swiftlint`
<p class="cmd-url"><a href="https://github.com/realm/SwiftLint">https://github.com/realm/SwiftLint</a></p>

- **analyze**: Flags: --help, --quiet, --strict, -h. Valued: --compiler-log-path, --config, --path, --reporter
- **autocorrect**: Flags: --format, --help, --no-cache, --quiet, --strict, --use-script-input-files, -h. Valued: --config, --path, --reporter
- **fix**: Flags: --format, --help, --no-cache, --quiet, --strict, --use-script-input-files, -h. Valued: --config, --path, --reporter
- **lint**: Flags: --help, --no-cache, --quiet, --strict, -h. Valued: --config, --path, --reporter
- **reporters**: Flags: --help, -h
- **rules**: Flags: --disabled, --enabled, --help, -h. Valued: --config, --reporter
- **version**: Flags: --help, -h
- Allowed standalone flags: --help, --no-cache, --quiet, --strict, --version, -V, -h

**Examples:**

- `swiftlint lint`
- `swiftlint lint --reporter github-actions-logging`
- `swiftlint analyze --compiler-log-path xcodebuild.log`
- `swiftlint fix`
- `swiftlint fix --format`
- `swiftlint autocorrect`
- `swiftlint rules`
- `swiftlint reporters`
- `swiftlint version`
- `swiftlint --version`
- `swiftlint --help`

### `tuist`
<p class="cmd-url"><a href="https://docs.tuist.dev/en/cli/">https://docs.tuist.dev/en/cli/</a></p>

- **build**: Flags: --build-output-path, --clean, --generate, --help, --no-binary-cache, --no-clean, --rosetta, --skip-signing, --verbose, -h. Valued: --configuration, --derived-data-path, --destination, --device, --os, --passthrough-xcodebuild-arguments, --path, --platform, --scheme, -c, -p
- **clean**: Flags: --help, --verbose, -h. Valued: --path, -p
- **dump**: Flags: --help, --json, --verbose, -h. Valued: --path, -p
- **edit**: Flags: --help, --permanent, --verbose, -h, -P. Valued: --path, -p
- **fetch**: Flags: --help, --update, --verbose, -h. Valued: --path, -p
- **generate**: Flags: --binary-cache, --help, --json, --no-binary-cache, --no-open, --open, --verbose, -h. Valued: --configuration, --destination, --device, --os, --path, --platform, --rosetta, -c, -p
- **graph**: Flags: --help, --json, --verbose, -h. Valued: --format, --path, -f, -p
- **hash cache**: Flags: --help, --json, --verbose, -h. Valued: --path, -p
- **hash selective-testing**: Flags: --help, --json, --verbose, -h. Valued: --path, -p
- **inspect build**: Flags: --help, --json, --verbose, -h. Valued: --path, -p
- **inspect bundle**: Flags: --help, --json, --verbose, -h. Valued: --path, -p
- **inspect dependencies**: Flags: --help, --json, --verbose, -h. Valued: --path, -p
- **inspect implicit-imports**: Flags: --help, --json, --verbose, -h. Valued: --path, -p
- **inspect redundant-imports**: Flags: --help, --json, --verbose, -h. Valued: --path, -p
- **inspect test**: Flags: --help, --json, --verbose, -h. Valued: --path, -p
- **install**: Flags: --help, --update, --verbose, -h. Valued: --path, -p
- **migration check-empty-settings**: Flags: --help, -h. Valued: --path, -p
- **migration list-targets**: Flags: --help, -h. Valued: --path, -p
- **scaffold list**: Flags: --help, --json, -h. Valued: --path, -p
- **test**: Flags: --clean, --generate, --help, --ignore-binary-cache, --no-binary-cache, --no-clean, --no-selective-testing, --no-upload-results, --rosetta, --skip-signing, --skip-ui-tests, --verbose, --without-selective-testing, -h. Valued: --configuration, --derived-data-path, --destination, --device, --os, --passthrough-xcodebuild-arguments, --path, --platform, --result-bundle-path, --retry-count, --scheme, --skip-test-targets, --test-plan, --test-targets, -c, -p
- **version**: Flags: --help, -h
- Allowed standalone flags: --help, --version, -V, -h

**Examples:**

- `tuist --version`
- `tuist version`
- `tuist generate`
- `tuist generate --no-open`
- `tuist generate --no-open -p .`
- `tuist generate App Watch`
- `tuist build`
- `tuist build MyTarget --configuration Release`
- `tuist test`
- `tuist test --skip-ui-tests`
- `tuist clean`
- `tuist clean dependencies manifests`
- `tuist install`
- `tuist install --update`
- `tuist edit`
- `tuist dump`
- `tuist graph --format json`
- `tuist inspect dependencies`

### `xcbeautify`
<p class="cmd-url"><a href="https://github.com/cpisciotta/xcbeautify">https://github.com/cpisciotta/xcbeautify</a></p>

- Allowed standalone flags: --help, --is-ci, --quiet, --quieter, --version, -V, -h, -q
- Allowed valued flags: --renderer
- Bare invocation allowed

### `xccov`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/xccov.1.html">https://keith.github.io/xcode-man-pages/xccov.1.html</a></p>

- **diff**: Flags: --json, --help, -h. Valued: --path-equivalence
- **merge** (requires --outArchive, --outReport): Flags: --help, -h. Valued: --outArchive, --outReport
- **view**: Flags: --archive, --file-list, --json, --only-targets, --report, --help, -h. Valued: --file, --files-for-target, --functions-for-file

### `xcode-select`
<p class="cmd-url"><a href="https://ss64.com/mac/xcode-select.html">https://ss64.com/mac/xcode-select.html</a></p>

- Allowed standalone flags: --help, --print-path, --version, -V, -h, -p, -v

### `xcodebuild`
<p class="cmd-url"><a href="https://developer.apple.com/documentation/xcode/xcodebuild">https://developer.apple.com/documentation/xcode/xcodebuild</a></p>

- Allowed standalone flags: -alltargets, -allowProvisioningDeviceRegistration, -allowProvisioningUpdates, -checkFirstLaunchStatus, -disableAutomaticPackageResolution, -disablePackageRepositoryCache, -dry-run, -enableAddressSanitizer, -enableCodeCoverage, -enableThreadSanitizer, -enableUndefinedBehaviorSanitizer, -hideShellScriptEnvironment, -json, -license, -list, -onlyUsePackageVersionsFromResolvedFile, -parallelizeTargets, -quiet, -resolvePackageDependencies, -runFirstLaunch, -showBuildSettings, -showBuildSettingsForIndex, -showComponent, -showFirstLaunchExperience, -showPartialBuildSettings, -showTestPlans, -showdestinations, -showsdks, -skipMacroValidation, -skipPackagePluginValidation, -skipPackageSignatureValidation, -skipPackageUpdates, -skipUnavailableActions, -usePackageSupportBuiltinSCM, -verbose, -version, --help, --version, -V, -h
- Allowed valued flags: -arch, -archivePath, -buildVersion, -configuration, -defaultLanguage, -defaultPackageRegistryURL, -derivedDataPath, -destination, -destination-timeout, -exportArchive, -exportFormat, -exportLanguage, -exportLocalizations, -exportNotarizedApp, -exportOptionsPlist, -exportPath, -find-executable, -find-library, -importComponent, -importLocalizations, -importPath, -jobs, -localizationPath, -maximum-concurrent-test-device-destinations, -maximum-concurrent-test-simulator-destinations, -maximum-parallel-testing-workers, -only-testing, -only-testing:TEST-IDENTIFIER, -onlyTesting, -packageAuthorizationProvider, -packageCachePath, -packageDependencySCMToRegistryTransformation, -packageFingerprintPolicy, -packageSigningEntityPolicy, -parallel-testing-enabled, -parallel-testing-worker-count, -prepareDeviceSupport, -project, -resultBundlePath, -resultBundleVersion, -resultStreamPath, -retry-tests-on-failure, -runDestination, -runDestinationTimeout, -scheme, -scmProvider, -sdk, -skip-testing, -skip-testing:TEST-IDENTIFIER, -skipTesting, -target, -test-enumeration-format, -test-enumeration-output-path, -test-enumeration-style, -test-iterations, -test-repetition-relaunch-enabled, -test-timeouts-enabled, -testLanguage, -testPlan, -testProductsPath, -testRegion, -toolchain, -workspace, -xcconfig, -xctestrun
- Hyphen-prefixed positional arguments accepted

**Examples:**

- `xcodebuild -version`
- `xcodebuild -showsdks`
- `xcodebuild -showdestinations -project Foo.xcodeproj -scheme Foo`
- `xcodebuild -list -project Foo.xcodeproj`
- `xcodebuild -project Foo.xcodeproj -scheme Foo -list`
- `xcodebuild -project Foo.xcodeproj -scheme Foo build`
- `xcodebuild -project Foo.xcodeproj -scheme Foo -configuration Debug build`
- `xcodebuild -project Foo.xcodeproj -scheme Foo -configuration Debug -destination 'platform=macOS' build CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY=""`
- `xcodebuild -workspace Foo.xcworkspace -scheme Foo -configuration Release archive -archivePath build/Foo.xcarchive`
- `xcodebuild -project Foo.xcodeproj -scheme Foo test -destination 'platform=iOS Simulator,name=iPhone 15' -enableCodeCoverage`
- `xcodebuild -project Foo.xcodeproj -scheme Foo clean`
- `xcodebuild -project Foo.xcodeproj -scheme Foo analyze`
- `xcodebuild -project Foo.xcodeproj -scheme Foo docbuild`

### `xcodegen`
<p class="cmd-url"><a href="https://github.com/yonaskolb/XcodeGen">https://github.com/yonaskolb/XcodeGen</a></p>

- **dump**: Flags: --help, --no-env, --quiet, -h, -n, -q. Valued: --project-root, --spec, --type, -r, -s, -t
- **generate**: Flags: --help, --no-env, --only-plists, --quiet, --use-cache, -c, -h, -n, -q. Valued: --cache-path, --project, --project-root, --spec, -p, -r, -s
- **version**: Flags: --help, -h
- Allowed standalone flags: --help, --version, -V, -h

**Examples:**

- `xcodegen --version`
- `xcodegen --help`
- `xcodegen generate`
- `xcodegen generate --spec project.yml`
- `xcodegen generate -s project.yml -p out/`
- `xcodegen generate --quiet --use-cache`
- `xcodegen generate --only-plists`
- `xcodegen generate --no-env`
- `xcodegen dump`
- `xcodegen dump --spec project.yml --type json`
- `xcodegen version`

### `xcresulttool`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/xcresulttool.1.html">https://keith.github.io/xcode-man-pages/xcresulttool.1.html</a></p>

- **compare**: Flags: --analyzer-issues, --build-warnings, --compact, --legacy, --schema, --summary, --test-failures, --tests, --help, -h. Valued: --baseline-path, --schema-version
- **export**: Flags: --help, --legacy, -h. Valued: --id, --output-path, --path, --type
- **formatDescription**: Flags: --hash, --include-event-stream-types, --legacy, --help, -h. Valued: --format
- **get**: Flags: --compact, --legacy, --schema, --help, -h. Valued: --format, --id, --path, --schema-version, --test-id, --type
- **graph**: Flags: --help, -h. Valued: --path
- **merge**: Flags: --help, -h. Valued: --output-path
- **metadata get**: Flags: --help, -h. Valued: --path
- **version**: Flags: --help, -h

### `xcrun`
<p class="cmd-url"><a href="https://ss64.com/mac/xcrun.html">https://ss64.com/mac/xcrun.html</a></p>

- **--find**: Positional args accepted
- **--show-sdk-build-version**: Positional args accepted
- **--show-sdk-path**: Positional args accepted
- **--show-sdk-platform-path**: Positional args accepted
- **--show-sdk-platform-version**: Positional args accepted
- **--show-sdk-version**: Positional args accepted
- **--show-toolchain-path**: Positional args accepted
- **actool**: delegates to inner command
- **agvtool**: delegates to inner command
- **codesign**: delegates to inner command
- **devicectl**: delegates to inner command
- **ibtool**: delegates to inner command
- **lipo**: delegates to inner command
- **pkgutil**: delegates to inner command
- **plutil**: delegates to inner command
- **simctl**: delegates to inner command
- **spctl**: delegates to inner command
- **stapler**: delegates to inner command
- **swift**: delegates to inner command
- **xcodebuild**: delegates to inner command
- **xcresulttool**: delegates to inner command
- **xctest**: delegates to inner command
- **xctrace**: delegates to inner command
- Allowed standalone flags: --help, --version, -h

### `xctest`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/xctest.1.html">https://keith.github.io/xcode-man-pages/xctest.1.html</a></p>

- Allowed valued flags: -XCTest

### `xctrace`
<p class="cmd-url"><a href="https://keith.github.io/xcode-man-pages/xctrace.1.html">https://keith.github.io/xcode-man-pages/xctrace.1.html</a></p>

- **export**: Flags: --har, --quiet, --toc, --help, -h. Valued: --input, --output, --xpath
- **help**: Positional args accepted
- **import**: Flags: --quiet, --help, -h. Valued: --input, --instrument, --output, --package, --template
- **list**: Allowed arguments: devices, templates, instruments
- **symbolicate**: Flags: --quiet, --help, -h. Valued: --dsym, --input, --output
- **version**: Flags: --help, -h