1
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user