Add comprehensive package-level documentation to all CLI command packages: - cmd/core.go, core_ci.go, core_dev.go: Main CLI entry points - cmd/shared: Lipgloss styles and utility functions - cmd/ai: AI agent task management and Claude integration - cmd/dev: Multi-repo git workflows and GitHub integration - cmd/build, cmd/ci: Build and release automation - cmd/sdk: OpenAPI validation and compatibility - cmd/go: Go development tools with enhanced output - cmd/php: Laravel development, build, and deployment - cmd/docs: Documentation sync across repos - cmd/doctor: Environment validation - cmd/test: Test runner with coverage - cmd/pkg: GitHub package management - cmd/setup: Workspace initialisation - cmd/vm: LinuxKit VM management Each docblock now describes: - Package purpose and commands - Key features and configuration - Package naming notes where relevant (gocmd, testcmd) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
35 lines
1.1 KiB
Go
35 lines
1.1 KiB
Go
// Package php provides Laravel/PHP development and deployment commands.
|
|
//
|
|
// Development Commands:
|
|
// - dev: Start Laravel environment (FrankenPHP, Vite, Horizon, Reverb, Redis)
|
|
// - logs: Stream unified service logs
|
|
// - stop: Stop all running services
|
|
// - status: Show service status
|
|
// - ssl: Setup SSL certificates with mkcert
|
|
//
|
|
// Build Commands:
|
|
// - build: Build Docker or LinuxKit image
|
|
// - serve: Run production container
|
|
// - shell: Open shell in running container
|
|
//
|
|
// Code Quality:
|
|
// - test: Run PHPUnit/Pest tests
|
|
// - fmt: Format code with Laravel Pint
|
|
// - analyse: Run PHPStan/Larastan static analysis
|
|
//
|
|
// Package Management:
|
|
// - packages link/unlink/update/list: Manage local Composer packages
|
|
//
|
|
// Deployment (Coolify):
|
|
// - deploy: Deploy to Coolify
|
|
// - deploy:status: Check deployment status
|
|
// - deploy:rollback: Rollback deployment
|
|
// - deploy:list: List recent deployments
|
|
package php
|
|
|
|
import "github.com/leaanthony/clir"
|
|
|
|
// AddCommands registers the 'php' command and all subcommands.
|
|
func AddCommands(app *clir.Cli) {
|
|
AddPHPCommands(app)
|
|
}
|