Preface
This documentation covers mxcli, a command-line tool for reading, querying, and modifying Mendix application projects, and MDL (Mendix Definition Language), the SQL-like language it uses. The material is organized into eight parts:
- Part I: Tutorial walks you through installation, exploring a project, making your first changes, and integrating with AI assistants.
- Part II: The MDL Language is a comprehensive guide to MDL syntax – domain models, microflows, pages, security, navigation, workflows, and business events.
- Part III: Project Tools covers code navigation, catalog queries, linting, testing, external SQL, and Docker integration.
- Part IV: IDE Integration describes the VS Code extension, LSP server, and
mxcli initproject setup. - Part V: Go Library documents the Go API for programmatic access to Mendix projects.
- Part VI: MDL Statement Reference provides detailed syntax and examples for every MDL statement.
- Part VII: Architecture and Internals explains the MPR file format, parser pipeline, and catalog system for contributors.
- Part VIII: Appendixes includes quick reference tables, reserved words, error messages, and a glossary.
You can read the Tutorial sequentially or jump directly to the section relevant to your task. The Statement Reference (Part VI) is designed for lookup rather than linear reading.