faasd/main.go
Alex Ellis (OpenFaaS Ltd) 17845457e2 Alteration for version passing
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
2019-12-31 12:30:14 +00:00

23 lines
340 B
Go

package main
import (
"os"
"github.com/alexellis/faasd/cmd"
)
// These values will be injected into these variables at the build time.
var (
// GitCommit Git Commit SHA
GitCommit string
// Version version of the CLI
Version string
)
func main() {
if err := cmd.Execute(Version, GitCommit); err != nil {
os.Exit(1)
}
return
}