Template Catalog CLI Reference
CLI commands for browsing, building, and managing the PraisonAI template catalog. These commands work the same regardless of whether you’re using Python or TypeScript.Browse Templates
Open the template catalog in your default browser.| Option | Description |
|---|---|
--print | Print the catalog URL without opening browser |
--url <url> | Use a custom catalog URL |
--local | Run local catalog server (if installed) |
Validate Templates
Validate TEMPLATE.yaml files for correctness.| Option | Description |
|---|---|
--source <dir> | Directory containing templates to validate |
--strict | Treat warnings as errors |
--json | Output results as JSON |
Build Catalog
Build the template catalog locally.| Option | Description |
|---|---|
--out <dir> | Output directory for generated files |
--source <path> | Source directory containing templates |
--minify | Minify JSON output |
Sync Sources
Sync template sources from GitHub repositories.| Option | Description |
|---|---|
--source <name> | Sync only a specific source |
--config <path> | Path to catalog config file |
--cache-dir <dir> | Override cache directory |
List Templates
Search Templates
Template Info
Run Templates
Using with Node.js
You can execute CLI commands from Node.js usingchild_process:
Complete Command Reference
| Command | Description |
|---|---|
praisonai templates browse | Open catalog in browser |
praisonai templates browse --print | Print catalog URL |
praisonai templates validate | Validate templates |
praisonai templates validate --source <dir> | Validate specific directory |
praisonai templates validate --strict | Strict validation mode |
praisonai templates validate --json | JSON output |
praisonai templates catalog build | Build catalog locally |
praisonai templates catalog build --out <dir> | Build to specific directory |
praisonai templates catalog sync | Sync template sources |
praisonai templates catalog sync --source <name> | Sync specific source |
praisonai templates list | List all templates |
praisonai templates search <query> | Search templates |
praisonai templates info <name> | Show template details |
praisonai templates run <name> | Run a template |

