mirror of https://github.com/helm/helm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
345 B
25 lines
345 B
9 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"os"
|
||
|
|
||
|
"github.com/codegangsta/cli"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
app := cli.NewApp()
|
||
|
app.Name = "tiller"
|
||
|
app.Usage = `The Helm server.`
|
||
|
app.Action = start
|
||
|
|
||
|
app.Run(os.Args)
|
||
|
}
|
||
|
|
||
|
func start(c *cli.Context) {
|
||
|
if err := startServer(":44134"); err != nil {
|
||
|
fmt.Fprintf(os.Stderr, "Server died: %s\n", err)
|
||
|
os.Exit(1)
|
||
|
}
|
||
|
}
|