universelab SCI · CLI · BIO

CLI Reference

texforge <command> [options]

Project lifecycle

CommandDescription
texforge new <name>Create a new project from the default template
texforge new <name> -t <template>Create with a specific template
texforge initInteractive wizard — new project or migrate an existing one
texforge buildCompile to PDF
texforge build --watchWatch for changes and rebuild automatically
texforge build --watch --delay <s>Custom debounce delay (default: 2s)
texforge cleanRemove build artifacts

Quality

CommandDescription
texforge checkLint without compiling
texforge fmtFormat .tex files in place
texforge fmt --checkCheck formatting without modifying (CI-friendly)

Templates

CommandDescription
texforge template listList installed + available in the registry
texforge template list --installedList only locally installed templates
texforge template add <name>Download a template from the registry
texforge template remove <name>Remove an installed template
texforge template validate <name>Verify template compatibility

Configuration

CommandDescription
texforge configInteractive wizard (name, email, institution, language)
texforge config listShow all configured values
texforge config <key>Show value for a key
texforge config <key> <value>Set a value

Valid keys: name, email, institution, language.

Global flags

FlagDescription
--helpShow help for any command
--versionShow texforge version