@sanity/cli 4.22.0-next.28 → 4.22.0-next.29
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/lib/_chunks-cjs/cli.js
CHANGED
|
@@ -4009,17 +4009,23 @@ Examples:
|
|
|
4009
4009
|
}, helpText$p = `
|
|
4010
4010
|
Options
|
|
4011
4011
|
--verbose Provide detailed information about issues
|
|
4012
|
+
--fix Interactively update the Blueprint configuration to fix issues
|
|
4012
4013
|
|
|
4013
4014
|
Examples:
|
|
4014
4015
|
# Check the health of the current Blueprint project
|
|
4015
4016
|
sanity blueprints doctor --verbose
|
|
4017
|
+
|
|
4018
|
+
# Fix issues in the current Blueprint project
|
|
4019
|
+
sanity blueprints doctor --fix
|
|
4016
4020
|
`, defaultFlags$a = {
|
|
4021
|
+
// path: undefined,
|
|
4022
|
+
fix: !1,
|
|
4017
4023
|
verbose: !1
|
|
4018
4024
|
}, doctorBlueprintsCommand = {
|
|
4019
4025
|
name: "doctor",
|
|
4020
4026
|
group: "blueprints",
|
|
4021
4027
|
helpText: helpText$p,
|
|
4022
|
-
signature: "[--verbose]",
|
|
4028
|
+
signature: "[--verbose] [--fix]",
|
|
4023
4029
|
description: "Diagnose potential issues with Blueprint configuration",
|
|
4024
4030
|
async action(args, context) {
|
|
4025
4031
|
const { apiClient, output } = context, flags = { ...defaultFlags$a, ...args.extOptions }, client2 = apiClient({
|