go-build/cmd/ci/cmd.go
Virgil 7aa4e5486d chore(ax): finish v0.8.0 polish pass
Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-26 17:41:53 +00:00

26 lines
678 B
Go

// Package ci provides release lifecycle commands for CI/CD pipelines.
//
// Commands:
// - ci init: scaffold release config
// - ci changelog: generate changelog from git history
// - ci version: show determined version
// - ci publish: publish pre-built artifacts (dry-run by default)
//
// Configuration via .core/release.yaml.
package ci
import (
"forge.lthn.ai/core/cli/pkg/cli"
)
func init() {
cli.RegisterCommands(AddCICommands)
}
// AddCICommands registers the 'ci' command and all subcommands.
// Usage example: call ci.AddCICommands(...) from integrating code.
func AddCICommands(root *cli.Command) {
setCII18n()
initCIFlags()
root.AddCommand(ciCmd)
}