diff options
Diffstat (limited to 'clientmain.go')
-rw-r--r-- | clientmain.go | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/clientmain.go b/clientmain.go new file mode 100644 index 0000000..d75b8bc --- /dev/null +++ b/clientmain.go | |||
@@ -0,0 +1,21 @@ | |||
1 | //go:build clientonly | ||
2 | |||
3 | package main | ||
4 | |||
5 | import ( | ||
6 | "log" | ||
7 | |||
8 | "code.crute.us/mcrute/ssh-proxy/cmd/client" | ||
9 | |||
10 | // Import backup data. By default zoneinfo is installed in the docker image | ||
11 | // if something breaks this will still result in us having correct TZ info. | ||
12 | _ "time/tzdata" | ||
13 | ) | ||
14 | |||
15 | func main() { | ||
16 | cmd := client.NewClientCommand() | ||
17 | |||
18 | if err := cmd.Execute(); err != nil { | ||
19 | log.Fatalf("Error running root command: %s", err) | ||
20 | } | ||
21 | } | ||