- Add cli.Fatal(err) that prints styled error and exits - Change cli.Main() to handle errors internally via Fatal() - Simplify main.go to just: cli.Main() Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
13 lines
270 B
Go
13 lines
270 B
Go
package main
|
|
|
|
import (
|
|
"github.com/host-uk/core/pkg/cli"
|
|
|
|
// Build variants import commands via self-registration.
|
|
// See internal/variants/ for available variants: full, ci, php, minimal.
|
|
_ "github.com/host-uk/core/internal/variants"
|
|
)
|
|
|
|
func main() {
|
|
cli.Main()
|
|
}
|