Skip to main content

CliCodegen

Trait CliCodegen 

Source
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).

Required Methods§

Source

fn build_cli(&self, path: Vec<&Ident>, debug: bool) -> TokenStream

Implementors§