Skip to main content

tusks_lib/codegen/cli/
mod.rs

1mod module;
2
3use proc_macro2::TokenStream;
4use syn::Ident;
5
6/// Code generation phase: builds the `pub mod cli` contents
7/// (Cli struct, Commands enum, ExternalCommands enum).
8pub trait CliCodegen {
9    fn build_cli(&self, path: Vec<&Ident>, debug: bool) -> TokenStream;
10}