mirror of
https://github.com/kevwillow/scaffold.git
synced 2026-10-20 08:37:34 +02:00
Added: - Form auto-save & crash recovery — 30s periodic save to temp file, recovery prompt on next launch, immediate save on first field change - Multi-word subcommand names — "role install", "compose up" split into separate command tokens; preview colorizer handles each part; validation rejects whitespace issues and duplicates - Test schema: tests/test_multiword_subcmd.json Fixed: - Repeat spinner clipping (REPEAT_SPIN_WIDTH 60→75px) - Required field status auto-clearing after 3 seconds (now persistent) - Test suites hanging on stale recovery files (global QMessageBox patch) All 5 test suites pass: 891/891 assertions, 0 failures. All 11 tool/test schemas validate with zero errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
183 lines
4.8 KiB
JSON
183 lines
4.8 KiB
JSON
{
|
|
"tool": "Multi-Word Subcommand Test",
|
|
"binary": "echo",
|
|
"description": "Test schema for multi-word subcommand names.",
|
|
"elevated": null,
|
|
"subcommands": [
|
|
{
|
|
"name": "role install",
|
|
"description": "Install a role from Galaxy",
|
|
"arguments": [
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": "-f",
|
|
"type": "boolean",
|
|
"description": "Force overwrite of existing role",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Roles Path",
|
|
"flag": "--roles-path",
|
|
"short_flag": "-p",
|
|
"type": "directory",
|
|
"description": "Path to the directory containing roles",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Role Name",
|
|
"flag": "ROLE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Role to install (user.role format)",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": ["geerlingguy.docker", "geerlingguy.nginx"],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "role remove",
|
|
"description": "Remove an installed role",
|
|
"arguments": [
|
|
{
|
|
"name": "Role Name",
|
|
"flag": "ROLE",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Role to remove",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"name": "collection install",
|
|
"description": "Install a collection from Galaxy",
|
|
"arguments": [
|
|
{
|
|
"name": "Force",
|
|
"flag": "--force",
|
|
"short_flag": null,
|
|
"type": "boolean",
|
|
"description": "Force overwrite of existing collection",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
},
|
|
{
|
|
"name": "Collection Name",
|
|
"flag": "COLLECTION",
|
|
"short_flag": null,
|
|
"type": "string",
|
|
"description": "Collection to install (namespace.collection format)",
|
|
"required": true,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": false,
|
|
"separator": "space",
|
|
"positional": true,
|
|
"validation": null,
|
|
"examples": ["community.general", "ansible.posix"],
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"arguments": [
|
|
{
|
|
"name": "Verbose",
|
|
"flag": "--verbose",
|
|
"short_flag": "-v",
|
|
"type": "boolean",
|
|
"description": "Increase verbosity",
|
|
"required": false,
|
|
"default": null,
|
|
"choices": null,
|
|
"group": null,
|
|
"depends_on": null,
|
|
"repeatable": true,
|
|
"separator": "none",
|
|
"positional": false,
|
|
"validation": null,
|
|
"examples": null,
|
|
"display_group": null,
|
|
"min": null,
|
|
"max": null,
|
|
"deprecated": null,
|
|
"dangerous": false
|
|
}
|
|
]
|
|
}
|