mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 08:05:03 +00:00
22 lines
267 B
Go
22 lines
267 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/alexellis/faasd/cmd"
|
|
)
|
|
|
|
var (
|
|
// GitCommit Git Commit SHA
|
|
GitCommit string
|
|
// Version version of the CLI
|
|
Version string
|
|
)
|
|
|
|
func main() {
|
|
if err := cmd.Execute(GitCommit, Version); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
return
|
|
}
|