mix zen_websocket.usage (ZenWebsocket v0.1.4)

View Source

Mix task to export ZenWebsocket usage rules for AI agents and developers.

This task integrates with the usage_rules library to make ZenWebsocket's usage patterns easily accessible in other projects.

Usage

mix zen_websocket.usage

Options

  • --format - Output format: markdown (default) or json
  • --output - Output file path (defaults to stdout)
  • --sections - Comma-separated list of sections to include

Examples

# Output to stdout
mix zen_websocket.usage

# Save to file
mix zen_websocket.usage --output my_rules.md

# Export specific sections
mix zen_websocket.usage --sections "quick_start,common_patterns,error_handling"

# Export as JSON for programmatic use
mix zen_websocket.usage --format json --output rules.json