summaryrefslogtreecommitdiff
path: root/clientmain.go
blob: a006feb290cfe5a7d8a908235039311a1616de77 (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 version string

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

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