perk-cli 0.1.0

The `perk` command: create apps, add pages, check them, and run a development server that reloads on save
# {{name}}

A [Perk](https://rust-kit.com) application.

```bash
perk dev      # run on http://127.0.0.1:3000, rebuilding and reloading on save
perk check    # compile every page and report errors
perk routes   # list routes and the JS and CSS each ships
cargo test       # check what the server sends
perk build    # prerender into dist/
perk serve    # run a release build
```

```text
perk.toml          settings: CSS scoping, Tailwind, address, sessions
build.rs              compiles src/routes into Rust and JavaScript
src/lib.rs            AppState and the app
src/main.rs           `serve [addr]` and `build [dir]`, using perk.toml
src/sources.rs        data-source resolvers, imported by pages from "$sources";
                      each page that loads one also answers {page}/__data.json
src/routes/*.perk       one page per file; layout.perk wraps the pages in its folder
src/lib/*.perk          components, imported from "$lib/Name.perk"
tests/pages.rs        requests against the real router
```

Add more with `perk add page about`, `perk add page blog/[slug]`,
`perk add layout blog` and `perk add component Button`.

`perk.toml` is built into the app. When deploying, override its `[server]`
and `[sessions]` keys with environment variables instead of editing it:
`PERK_SERVER_ADDR=0.0.0.0:8080`, `PERK_SERVER_SECURE_COOKIES=true`,
`PERK_SESSIONS_PATH=/var/lib/{{name}}/sessions.json`.