espforge 0.1.20

A scaffolding++ project generator for ESP32 projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub mod catalog;
pub mod dialoguer;

pub use catalog::{ChipCatalog, ExampleCatalog};
pub use dialoguer::DialoguerPrompter;

use anyhow::Result;

pub trait Prompter {
    fn select_example(&self) -> Result<String>;
    fn prompt_project_name(&self, default: &str) -> Result<String>;
    fn select_chip(&self) -> Result<String>;
    fn confirm_overwrite(&self, dir_name: &str) -> Result<bool>;
}