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>
19 lines
662 B
Go
19 lines
662 B
Go
// Package pkg provides GitHub package management for host-uk repositories.
|
|
//
|
|
// Commands:
|
|
// - search: Search GitHub org for repos (cached for 1 hour)
|
|
// - install: Clone a repo from GitHub to packages/
|
|
// - list: List installed packages from repos.yaml
|
|
// - update: Pull latest changes for packages
|
|
// - outdated: Check which packages have unpulled commits
|
|
//
|
|
// Uses gh CLI for authenticated GitHub access. Results are cached in
|
|
// .core/cache/ within the workspace directory.
|
|
package pkg
|
|
|
|
import "github.com/leaanthony/clir"
|
|
|
|
// AddCommands registers the 'pkg' command and all subcommands.
|
|
func AddCommands(app *clir.Cli) {
|
|
AddPkgCommands(app)
|
|
}
|