rocket_cli/templates/
mod.rs

1pub mod common;
2pub mod minimal;
3pub mod mongo_db;
4pub mod postgres;
5
6use std::path::PathBuf;
7
8pub fn load_template_files(template: &str) -> Option<Vec<(PathBuf, &'static str)>> {
9    match template {
10        "minimal" => Some(minimal::manifest::load_template()),
11        "mongodb" => Some(mongo_db::manifest::load_template()),
12        "postgres" => Some(postgres::manifest::load_template()),
13        _ => None,
14    }
15}