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
636 B
Go
19 lines
636 B
Go
// Package setup provides workspace initialisation commands.
|
|
//
|
|
// Clones all repositories defined in repos.yaml into the workspace.
|
|
// Skips repos that already exist. Supports filtering by type.
|
|
//
|
|
// Flags:
|
|
// - --registry: Path to repos.yaml (auto-detected if not specified)
|
|
// - --only: Filter by repo type (foundation, module, product)
|
|
// - --dry-run: Preview what would be cloned
|
|
//
|
|
// Uses gh CLI with HTTPS when authenticated, falls back to SSH.
|
|
package setup
|
|
|
|
import "github.com/leaanthony/clir"
|
|
|
|
// AddCommands registers the 'setup' command and all subcommands.
|
|
func AddCommands(app *clir.Cli) {
|
|
AddSetupCommand(app)
|
|
}
|