Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (21 sloc) 436 Bytes
package main
import (
"os"
"github.com/GoBootcamp/clirescue/trackerapi"
"github.com/codegangsta/cli"
)
func main() {
app := cli.NewApp()
app.Name = "clirescue"
app.Usage = "CLI tool to talk to the Pivotal Tracker's API"
app.Commands = []cli.Command{
{
Name: "me",
Usage: "prints out Tracker's representation of your account",
Action: func(c *cli.Context) {
trackerapi.Me()
},
},
}
app.Run(os.Args)
}