changes saved in my editor
This commit is contained in:
10
parts/cli/src/lib.rs
Normal file
10
parts/cli/src/lib.rs
Normal file
@@ -0,0 +1,10 @@
|
||||
use mize_macros::{include_native_simple, part_impl};
|
||||
use clap::Command;
|
||||
|
||||
#[part_impl]
|
||||
pub fn part() -> mize::Instance {
|
||||
// Register the command with the new macro syntax
|
||||
include_native_simple!("Command", clap::Command, [new]);
|
||||
|
||||
mize::Instance::new()
|
||||
}
|
||||
Reference in New Issue
Block a user