4d-catalog
Installation
SKILL.md
4D Catalog Manager
<project> is the 4D project root. The script resolves to <project>/Project/Sources/catalog.4DCatalog. A path ending in .4DCatalog overrides.
Commands
python scripts/catalog.py create <project> <base_name>
python scripts/catalog.py info <project>
python scripts/catalog.py add-table <project> <table> [field_spec ...] [--no-id]
python scripts/catalog.py remove-table <project> <table>
python scripts/catalog.py add-field <project> <table> <field_spec> [field_spec ...]
python scripts/catalog.py remove-field <project> <table> <field>
add-table adds an auto-incrementing ID Long Integer as primary key by default; pass --no-id to skip.