67 lines
2.5 KiB
JSON
67 lines
2.5 KiB
JSON
[
|
|
{
|
|
"id": "icon_generator_git",
|
|
"display_name": "Icon Generator (Git)",
|
|
"description": "Generates .ico files from PNG images, fetched via Git.",
|
|
"type": "git",
|
|
"enabled": true,
|
|
"git_url": "file:///C:/Path/To/Your/Local/RepoIconGenerator", // <-- MODIFICA PATH
|
|
"git_ref": "main",
|
|
"run_command": ["python", "create_icon_file.py"],
|
|
"has_gui": false,
|
|
"parameters_definition_file": "tool_config_params.json"
|
|
},
|
|
{
|
|
"id": "pyinstaller_gui_git",
|
|
"display_name": "PyInstaller GUI (Git)",
|
|
"description": "GUI Wrapper for PyInstaller, fetched via Git.",
|
|
"type": "git",
|
|
"enabled": true,
|
|
"git_url": "file:///C:/Path/To/Your/Local/RepoPyInstallerGui", // <-- MODIFICA PATH
|
|
"git_ref": "main",
|
|
"run_command": ["python", "CreateExecFromPy.py"],
|
|
"has_gui": true,
|
|
"parameters_definition_file": null
|
|
},
|
|
{
|
|
"id": "dummy_script_local", // Cambiato ID per chiarezza
|
|
"display_name": "Dummy Script Runner (Local)", // Cambiato nome per chiarezza
|
|
"description": "A simple placeholder script executed locally.",
|
|
"type": "local", // <-- Tipo cambiato a 'local'
|
|
"enabled": true,
|
|
// "run_command" punta allo script nella directory 'tools'
|
|
// Il path relativo sarà risolto da tool_discovery/process_worker
|
|
"run_command": ["python", "dummy_script/dummy.py"], // <-- Percorso relativo da ProjectUtility root
|
|
"has_gui": false,
|
|
// Definiamo i parametri direttamente qui per i tool locali
|
|
"parameters": [
|
|
{
|
|
"name": "user_text", "label": "Enter Text:", "type": "string",
|
|
"required": true, "description": "Text to be processed."
|
|
},
|
|
{
|
|
"name": "iterations", "label": "Iterations:", "type": "integer",
|
|
"required": false, "default": 1, "description": "Number of times."
|
|
},
|
|
{
|
|
"name": "enable_feature", "label": "Enable Extra Feature", "type": "boolean",
|
|
"required": false, "default": false
|
|
},
|
|
{
|
|
"name": "output_dir", "label": "Output Directory:", "type": "folder",
|
|
"required": false, "description": "Optional output folder."
|
|
}
|
|
]
|
|
// Nessun campo git_* o parameters_definition_file necessario
|
|
},
|
|
{
|
|
"id": "notepad",
|
|
"display_name": "Blocco Note (Notepad - Local)",
|
|
"description": "Avvia l'editor di testo standard (configurato localmente).",
|
|
"type": "local",
|
|
"enabled": true,
|
|
"run_command": ["notepad.exe"],
|
|
"has_gui": true
|
|
// Nessun parametro definito qui
|
|
}
|
|
] |