Replace leaanthony/clir with spf13/cobra across all command packages. This provides better subcommand handling, built-in shell completion, and a more widely-used CLI framework. Changes: - Update cmd/core.go with cobra root command and completion support - Convert all subcommand packages to use *cobra.Command - Use init() functions for flag registration instead of inline setup - Maintain all existing functionality and flag behaviors Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
521 B
Go
17 lines
521 B
Go
// Package ci provides release publishing commands for CI/CD pipelines.
|
|
//
|
|
// Publishes pre-built artifacts from dist/ to configured targets:
|
|
// - GitHub Releases
|
|
// - S3-compatible storage
|
|
// - Custom endpoints
|
|
//
|
|
// Safe by default: runs in dry-run mode unless --we-are-go-for-launch is specified.
|
|
// Configuration via .core/release.yaml.
|
|
package ci
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
// AddCommands registers the 'ci' command and all subcommands.
|
|
func AddCommands(root *cobra.Command) {
|
|
root.AddCommand(ciCmd)
|
|
}
|