English | Русский | العربية | Français
Cross-platform command-line application for database-driven document generation.
Supported platforms:
- Windows x64
- Linux x64
- macOS (Intel and Apple Silicon)
Download the latest binary from the project's GitHub Releases page.
Make the binary executable:
chmod +x markforgeRun:
./markforge --helpRun from PowerShell or Command Prompt:
.\markforge.exe --helpCreate a demo database:
markforge db --init --template studentsList available tables:
markforge db --listShow records:
markforge data --show studentsGenerate documents:
markforge generate --source students --template invitationDisplay application description, version information, and available commands.
markforge --helpDisplay application version.
markforge --versionInteractive initialization:
markforge db --initShow available templates:
markforge db --init --templatesCreate a database using a predefined template:
markforge db --init --template employeesmarkforge db --init --template studentsRemove a table:
markforge db --drop <table_name>Remove all tables:
markforge db --drop --allUser tables only:
markforge db --listAll tables:
markforge db --list --allmarkforge db --schema-show <table_name>Interactive mode:
markforge data --showShow records from a specific table:
markforge data --show <table_name>markforge template --listmarkforge template --show <template_name>TXT, Markdown, and DOCX templates can be registered for later use.
markforge template --add <path/to/template.docx> -as <template_name>markforge template --remove <template_name>Generate documents using a table as the data source and a registered template.
markforge generate --source <table_name> --template <template_name>markforge generate --source <table_name> --template <template_name> --output <path/to/output>Currently supported:
- TXT
- Markdown (.md)
- DOCX
- XLS
- XLSX
Planned support:
- PDF import
- ODT
- HTML
markforge db --init --template students
markforge db --list
markforge data --show students
markforge template --list
markforge generate --source students --template invitationAcademic course work project.