Static site generator for making web mixtapes in 2020.
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.

29 line
365 B

  1. package main
  2. import (
  3. "log"
  4. "os"
  5. "github.com/urfave/cli"
  6. )
  7. func main() {
  8. app := &cli.App{
  9. Name: "CD-R 700MB",
  10. Usage: "A static mixtape site generator",
  11. Version: "v1.0",
  12. Flags: []cli.Flag{},
  13. }
  14. app.Commands = []*cli.Command{
  15. &cmdServe,
  16. &cmdClean,
  17. }
  18. err := app.Run(os.Args)
  19. if err != nil {
  20. log.Println(err.Error())
  21. os.Exit(1)
  22. }
  23. }