erplibre/script/todo/todo.json
Mathieu Benoit 935919e07b [IMP] script todo: add QEMU/KVM VM deploy menu
Expose the QEMU deploy script from the interactive assistant so users
can create, preview, download and manage Ubuntu VMs without memorising
CLI flags. Adds a QEMU/KVM entry under Deploy, its fr/en translations,
and an extensible qemu_from_makefile section in todo.json.

Generated by Claude Code 2.1.210 claude-opus-4-8

Co-Authored-By: Mathieu Benoit <mathben@technolibre.ca>
2026-07-15 11:48:12 +00:00

71 lines
2.5 KiB
JSON

{
"kdbx": {
"path": "",
"password": ""
},
"kdbx_config": {
"openai": {
"kdbx_key": "OpenAI api"
}
},
"instance": [
{
"prompt_description_key": "Test - Minimal base instance",
"makefile_cmd": "db_restore_erplibre_base_db_test",
"database": "test"
},
{
"prompt_description_key": "Open RobotLibre 🤖 minimal",
"makefile_cmd": "robot_libre",
"database": "robotlibre"
},
{
"prompt_description_key": "Open RobotLibre 🤖 with search enabled",
"makefile_cmd": "robot_libre_all",
"database": "robotlibre"
}
],
"function": [
{
"prompt_description_key": "Open ERPLibre with TODO 🤖",
"command": "./.venv.erplibre/bin/python ./script/selenium/web_login.py"
}
],
"update_from_makefile": [
{
"prompt_description_key": "Update all erplibre_base on database test",
"makefile_cmd": "db_erplibre_base_db_test_update_all",
"database": "test"
}
],
"code_from_makefile": [
{
"prompt_description_key": "Show code status",
"makefile_cmd": "repo_show_status"
},
{
"prompt_description_key": "Stash all code",
"makefile_cmd": "repo_do_stash"
},
{
"prompt_description_key": "Format modified code",
"makefile_cmd": "format"
}
],
"git_from_makefile": [
{
"prompt_description_key": "Configure git local editor to vim",
"bash_command": "git config --global core.editor \"vim\""
},
{
"prompt_description_key": "Generate git patch to /tmp",
"bash_command": "PATCH=\"/tmp/patch_$(date +%Y%m%d_%H%M%S).patch\"; git -C \"$(pwd)\" diff HEAD > \"$PATCH\" && printf \"\\n✓ Patch created: %s\\n\\n=== Guide to apply the patch ===\\n Check compatibility : git apply --check %s\\n Apply (git) : git apply %s\\n Apply (patch) : patch -p1 < %s\\n Revert (git) : git apply -R %s\\n\" \"$PATCH\" \"$PATCH\" \"$PATCH\" \"$PATCH\" \"$PATCH\""
}
],
"qemu_from_makefile": [
{
"prompt_description_key": "QEMU - Sample dry-run (demo-vm, Ubuntu 24.04)",
"bash_command": "./script/qemu/deploy_qemu.py --name demo-vm --version 24.04 --dry-run"
}
]
}