Files
moko-platform/PLUGIN_SCRIPTS.md
T
Jonathan Miller ae2860c3b5
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Blocked by required conditions
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Blocked by required conditions
Platform: moko-platform CI / Gate 3: Self-Health Check (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Blocked by required conditions
Platform: moko-platform CI / Gate 4: Governance (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Blocked by required conditions
Platform: moko-platform CI / Gate 5: Template Integrity (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 4: Governance (push) Blocked by required conditions
Platform: moko-platform CI / CI Summary (pull_request) Blocked by required conditions
Platform: moko-platform CI / Gate 5: Template Integrity (push) Blocked by required conditions
Platform: moko-platform CI / CI Summary (push) Blocked by required conditions
Generic: Repo Health / Release configuration (push) Blocked by required conditions
Generic: Repo Health / Scripts governance (push) Blocked by required conditions
Generic: Repo Health / Repository health (push) Blocked by required conditions
Universal: PR Check / Build RC Package (pull_request) Blocked by required conditions
Generic: Repo Health / Site Health (push) Has been skipped
Universal: PR Check / Branch Policy (pull_request) Successful in 6s
Generic: Repo Health / Access control (push) Successful in 9s
Universal: PR Check / Validate PR (pull_request) Failing after 10s
Universal: Secret Scanning / Gitleaks Secret Scan (pull_request) Successful in 22s
Universal: Auto Version Bump / Version Bump (push) Failing after 23s
Platform: moko-platform CI / Gate 1: Code Quality (push) Failing after 1m13s
Platform: moko-platform CI / Gate 1: Code Quality (pull_request) Failing after 1m17s
chore(release): bump to 09.22.00 — CliFramework migration
Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-05-31 12:14:34 -05:00

2.6 KiB

Plugin System CLI Scripts

Command-line scripts for validating, health checking, and managing projects using the moko-platform plugin system.

Available Scripts

Script Purpose
plugin_validate.php Validate project structure and configuration
plugin_health_check.php Run comprehensive health checks
plugin_metrics.php Collect project metrics
plugin_readiness.php Check release readiness
plugin_list.php List all available plugins

Quick Examples

# List all available plugins
php api/plugin_list.php

# Validate a project (auto-detect type)
php api/plugin_validate.php --project-path /path/to/project

# Run health check
php api/plugin_health_check.php --project-path /path/to/project

# Collect metrics
php api/plugin_metrics.php --project-path /path/to/project --format table

# Check release readiness
php api/plugin_readiness.php --project-path /path/to/project

Supported Project Types

  • joomla - Joomla CMS projects and extensions
  • wordpress - WordPress themes and plugins
  • nodejs - Node.js applications and packages
  • python - Python applications and packages
  • terraform - Infrastructure as Code
  • mobile - Mobile applications (iOS/Android)
  • api - REST API and GraphQL services
  • dolibarr - Dolibarr ERP/CRM modules
  • documentation - Documentation projects
  • generic - Generic project types

Exit Codes

  • 0 - Success
  • 1 - Validation/check failed
  • 2 - Script error (invalid arguments, plugin not found)

Documentation

For detailed documentation, see:

Integration

These scripts integrate with:

  • GitHub Actions workflows (see templates/workflows/)
  • Plugin system (see lib/Enterprise/)
  • CI/CD pipelines (GitLab CI, Jenkins, etc.)

Usage in CI/CD

# GitHub Actions example
- name: Validate project
  run: |
    php api/plugin_validate.php --project-path . --json > validation.json
    if jq -e '.valid == false' validation.json > /dev/null; then
      exit 1
    fi

For complete usage examples and documentation, run any script with --help:

php api/plugin_validate.php --help