clemsbot/src/app/web/template/commands.rs

16 lines
297 B
Rust

use askama::Template;
use crate::app::config::{
Command,
CommandExecutor,
};
#[derive(Template)]
#[template(path = "commands.html")]
pub struct CommandsTemplate {
pub commands: Vec<Command>,
}
#[derive(Template)]
#[template(path = "add_command.html")]
pub struct AddCommandTemplate;