This commit is contained in:
Jabberwocky238
2026-07-29 06:51:43 -04:00
parent 68cda1972c
commit 319f5dd148
64 changed files with 4952 additions and 2186 deletions
-14
View File
@@ -1,13 +1,3 @@
package main
import (
@@ -16,7 +6,6 @@ import (
"simplegit/cmd/daemon"
"simplegit/cmd/gitctl"
"simplegit/hooks"
)
func main() {
@@ -30,8 +19,6 @@ 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:
@@ -47,7 +34,6 @@ 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.