feat: scaffold Go-based hf CLI

This commit is contained in:
zhi
2026-03-21 13:34:41 +00:00
parent ddaea1c15b
commit cb0b7669b3
16 changed files with 88 additions and 8 deletions

24
cmd/hf/main.go Normal file
View File

@@ -0,0 +1,24 @@
package main
import (
"fmt"
"os"
)
func main() {
if len(os.Args) > 1 {
switch os.Args[1] {
case "--help", "-h":
fmt.Println("hf - HarborForge CLI")
fmt.Println()
fmt.Println("This is the initial Go scaffold for the HarborForge CLI.")
fmt.Println("More command groups will be added in follow-up tasks.")
return
case "version":
fmt.Println("hf dev")
return
}
}
fmt.Println("hf - HarborForge CLI scaffold")
}