perk-cli-0.1.0 is not a library.
Visit the last successful build:
perk-cli-0.0.0
perk-cli
The perk command for Perk, a small web framework that
renders pages in Rust and ships just enough JavaScript.
&&
perk new writes a working app: a prerendered home page, a counter with
browser state, a page that loads data from a Rust resolver, a layout, a
component and tests. --tailwind turns on Tailwind.
| Command | What it does |
|---|---|
perk new <path> |
Creates an app |
perk add page blog/[slug] |
Adds a page; also add layout <dir> and add component <Name> |
perk dev |
Runs the app; rebuilds, restarts and updates open pages on save |
perk check |
Compiles every page and reports errors, without running Cargo |
perk routes |
Lists routes, static or per-request, with JS and CSS bytes |
perk build [dir] |
Release build, then prerenders into dist/ |
perk serve [addr] |
Runs a release build |
- CLI reference: https://rust-kit.com/docs/cli/
- Getting started: https://rust-kit.com/docs/getting-started/
- Source: https://github.com/nicholas-johnson/rust-kit
Licensed under either of MIT or Apache-2.0, at your option.