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>
99 lines
2.3 KiB
JSON
99 lines
2.3 KiB
JSON
{
|
|
"tool": "display_group_test",
|
|
"binary": "echo",
|
|
"description": "Test schema for collapsible display groups.",
|
|
"subcommands": null,
|
|
"arguments": [
|
|
{
|
|
"name": "Host",
|
|
"flag": "--host",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Target host",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network"
|
|
},
|
|
{
|
|
"name": "Port",
|
|
"flag": "--port",
|
|
"short_flag": "-p",
|
|
"type": "integer",
|
|
"description": "Port number",
|
|
"required": false,
|
|
"default": 80,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network"
|
|
},
|
|
{
|
|
"name": "Protocol",
|
|
"flag": "--protocol",
|
|
"short_flag": null,
|
|
"type": "enum",
|
|
"description": "Network protocol",
|
|
"required": false,
|
|
"default": "tcp",
|
|
"choices": ["tcp", "udp"],
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": "Network"
|
|
},
|
|
{
|
|
"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
|
|
},
|
|
{
|
|
"name": "Output File",
|
|
"flag": "--output",
|
|
"short_flag": "-o",
|
|
"type": "file",
|
|
"description": "Output file path",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null
|
|
}
|
|
]
|
|
}
|