feat(cli): wire all subcommands (apply, diff, show, init, profile, rollback, adapter)

This commit is contained in:
2026-05-23 03:33:42 +01:00
parent 498cdb061d
commit 75d72f26ac
+7
View File
@@ -29,6 +29,13 @@ func main() {
root := cli.NewRoot(version) root := cli.NewRoot(version)
root.AddCommand(cli.NewDetect(reg)) root.AddCommand(cli.NewDetect(reg))
root.AddCommand(cli.NewApply(reg))
root.AddCommand(cli.NewDiff(reg))
root.AddCommand(cli.NewShow(reg))
root.AddCommand(cli.NewInit(reg))
root.AddCommand(cli.NewProfile())
root.AddCommand(cli.NewRollback())
root.AddCommand(cli.NewAdapter(reg))
if err := root.Execute(); err != nil { if err := root.Execute(); err != nil {
fmt.Fprintln(os.Stderr, err) fmt.Fprintln(os.Stderr, err)