mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
Arguments sharing a display_group value are rendered inside collapsible QGroupBox sections. Adds display_group as the 16th argument field (string or null), with validation, normalization, PROMPT.txt docs, and Section 23 tests (24 assertions). Full suite: 465/465 passing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
88 lines
2.2 KiB
JSON
88 lines
2.2 KiB
JSON
{
|
|
"tool": "display_group_subcmd_test",
|
|
"binary": "echo",
|
|
"description": "Test schema for display groups with subcommands.",
|
|
"subcommands": [
|
|
{
|
|
"name": "scan",
|
|
"description": "Scan targets",
|
|
"arguments": [
|
|
{
|
|
"name": "Target",
|
|
"flag": "--target",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Scan target",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Scan Options"
|
|
},
|
|
{
|
|
"name": "Depth",
|
|
"flag": "--depth",
|
|
"short_flag": null,
|
|
"type": "integer",
|
|
"description": "Scan depth",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Scan Options"
|
|
},
|
|
{
|
|
"name": "Quiet",
|
|
"flag": "--quiet",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Suppress output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"arguments": [
|
|
{
|
|
"name": "Verbose",
|
|
"flag": "-v",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Enable verbose output",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null
|
|
}
|
|
]
|
|
}
|