It you run `cabal init` it will generate a template. You can also run it with the `--interactive` flag so that it asks you questions on what should go in the file.