summaryrefslogtreecommitdiff
path: root/clientmain.go
blob: 91fcae07648f9a70b1a2d846e04c20c5db8fa1a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//go:build clientonly

package main

import (
	"log"

	"code.crute.us/mcrute/ssh-proxy/cmd/client"

	// Import backup data. By default zoneinfo is installed in the docker image
	// if something breaks this will still result in us having correct TZ info.
	_ "time/tzdata"
)

var appVersion string

func main() {
	cmd := client.NewClientCommand(appVersion)

	if err := cmd.Execute(); err != nil {
		log.Fatalf("Error running root command: %s", err)
	}
}