capy-cli 0.10.0

The command-line interface for the Capy web framework.
Documentation
1
2
3
4
5
6
7
8
9
/// HTTP handlers; register these methods in routes/api.rs.
pub struct {{type}};

impl {{type}} {
    /// Return an empty collection until application logic is added.
    pub async fn index() -> capy::Json<std::vec::Vec<capy::serde_json::Value>> {
        capy::Json(std::vec::Vec::new())
    }
}