── ADVANCED ──
Plugins
Extend Exo with custom plugins — add new generators, integrations, and template types.
## Plugin System Overview
Plugins are executable scripts or binaries installed to ~/.exo/plugins/. They follow the naming convention exo-<name> and are automatically discovered by the Exo CLI.
## Plugin Management
bash
# Install a pluginexo plugin install <name># List installed pluginsexo plugin list# Remove a pluginexo plugin remove <name>## Creating a Plugin
Any executable named exo-<name> placed in ~/.exo/plugins/ becomes available as exo <name>:
~/.exo/plugins/exo-hello
1#!/bin/bash2# A simple Exo plugin3echo "Hello from Exo plugin!"4echo "Project: $(cat .exo.yaml | grep name | awk '{print $2}')"5echo "Language: $(cat .exo.yaml | grep language | awk '{print $2}')"bash
chmod +x ~/.exo/plugins/exo-helloexo hello # → "Hello from Exo plugin!"## Plugin Directory Structure
text
~/.exo/├── plugins/│ ├── exo-terraform-modules # Custom terraform module generator│ ├── exo-security-scan # Security scanning integration│ └── exo-deploy # Deployment automation└── templates/ # Local template overrides