feat: scaffold Go-based hf CLI
This commit is contained in:
24
cmd/hf/main.go
Normal file
24
cmd/hf/main.go
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user