tusks-lib 3.2.0

Declarative CLI framework built on top of clap
Documentation
1
2
3
4
5
6
7
8
9
10
mod module;

use proc_macro2::TokenStream;
use syn::Ident;

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