gitote.go 671 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // +build go1.7
  2. /*
  3. _____ _ _ _
  4. / ____(_) | | |
  5. | | __ _| |_ ___ | |_ ___
  6. | | |_ | | __/ _ \| __/ _ \
  7. | |__| | | || (_) | || __/
  8. \_____|_|\__\___/ \__\___|
  9. */
  10. package main
  11. import (
  12. "gitote/gitote/cmd"
  13. "gitote/gitote/pkg/setting"
  14. "os"
  15. "github.com/urfave/cli"
  16. )
  17. // AppVer represents the version of Gitote
  18. const AppVer = "1.0.0-prod-rc.4"
  19. func init() {
  20. setting.AppVer = AppVer
  21. }
  22. func main() {
  23. app := cli.NewApp()
  24. app.Name = "Gitote"
  25. app.Usage = "Software version control made simple"
  26. app.Version = AppVer
  27. app.Commands = []cli.Command{
  28. cmd.Web,
  29. cmd.Serv,
  30. cmd.Hook,
  31. cmd.Cert,
  32. cmd.Admin,
  33. cmd.Import,
  34. }
  35. app.Run(os.Args)
  36. }