pub trait CliCodegen {
// Required method
fn build_cli(&self, path: Vec<&Ident>, debug: bool) -> TokenStream;
}Expand description
Code generation phase: builds the pub mod cli contents
(Cli struct, Commands enum, ExternalCommands enum).
pub trait CliCodegen {
// Required method
fn build_cli(&self, path: Vec<&Ident>, debug: bool) -> TokenStream;
}Code generation phase: builds the pub mod cli contents
(Cli struct, Commands enum, ExternalCommands enum).