mix ragex.plugin (Ragex v0.31.0)

View Source

Generates a scaffold for a new Ragex plugin and corresponding test file.

Usage

mix ragex.plugin NAME [options]

Options

  • --name NAME - Name of the plugin module (e.g. JiraScanner, SecurityAudit)
  • --tool TOOL_NAME - Primary MCP tool name (defaults to snake_case of NAME)
  • --description DESC - Description of the plugin and tool
  • --dir DIR - Output directory for the plugin module (default: lib/ragex/plugins)
  • --force - Overwrite existing plugin files

Examples

# Generate plugin with default options
mix ragex.plugin DockerScanner

# Generate plugin with custom tool name and description
mix ragex.plugin JiraIntegration --tool search_jira_issues --description "Queries Jira for open tickets"

# Force overwrite existing plugin file
mix ragex.plugin AuditTool --force