2026-04-29

This commit is contained in:
2026-04-29 22:52:33 +08:00
parent e762cbdfe3
commit 3ffefa66c3
28 changed files with 1442 additions and 19 deletions

View File

@@ -4,17 +4,17 @@ import (
"fmt"
"os"
"gitea.sunhpc.com/kelvin/sunhpc"
"gitea.sunhpc.com/kelvin/sunhpc/internal/app/control"
)
func main() {
root := sunhpc.GetRootCommand()
root := control.GetRootCommand()
err := root.Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "ERROR: %s\n", err)
if sunhpc.DebugFlag {
if control.DebugFlag {
fmt.Printf("\nSTACK TRACE: %+v\n", err)
}
os.Exit(255)