This commit is contained in:
Jabberwocky238
2026-07-17 05:32:14 -04:00
parent a289f1b911
commit 67c07b3bcf
34 changed files with 791 additions and 1 deletions
+4
View File
@@ -16,6 +16,7 @@ import (
"simplegit/cmd/daemon"
"simplegit/cmd/gitctl"
"simplegit/hooks"
)
func main() {
@@ -29,6 +30,8 @@ func main() {
daemon.Run(args[1:])
case "ctl":
gitctl.Run(args[1:])
case "hook":
hooks.RunClient(args[1:])
case "help", "-h", "--help":
printHelp(os.Stdout)
default:
@@ -44,6 +47,7 @@ func printHelp(w *os.File) {
Usage:
simplegit daemon [flags] run the git hosting server (HTTP + SSH + manage)
simplegit ctl [flags] run the gitctl TUI against the manage port
simplegit hook [flags] forward a git hook invocation (run by hook scripts)
simplegit help show this help
Run "simplegit daemon -h" or "simplegit ctl -h" for subcommand flags.