diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/example-basic/src/main.rs | 5 | ||||
| -rw-r--r-- | examples/example-completion/src/main.rs | 2 | ||||
| -rw-r--r-- | examples/example-general-renderer/src/main.rs | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/examples/example-basic/src/main.rs b/examples/example-basic/src/main.rs index a91154a..944a914 100644 --- a/examples/example-basic/src/main.rs +++ b/examples/example-basic/src/main.rs @@ -5,10 +5,7 @@ //! cargo run --manifest-path ./examples/example-basic/Cargo.toml -- hello World //! ``` -use mingling::{ - ChainProcess, - macros::{chain, dispatcher, gen_program, pack, r_println, renderer}, -}; +use mingling::macros::{chain, dispatcher, gen_program, pack, r_println, renderer}; // Define dispatcher `HelloCommand`, directing subcommand "hello" to `HelloEntry` dispatcher!("hello", HelloCommand => HelloEntry); diff --git a/examples/example-completion/src/main.rs b/examples/example-completion/src/main.rs index 8f88b2c..3018b26 100644 --- a/examples/example-completion/src/main.rs +++ b/examples/example-completion/src/main.rs @@ -25,7 +25,7 @@ //! 4. Execute `cargo install --path ./`, then run the corresponding completion script in your shell use mingling::{ - ChainProcess, EnumTag, Groupped, ShellContext, Suggest, + EnumTag, Groupped, ShellContext, Suggest, macros::{ chain, completion, dispatcher, gen_program, r_println, renderer, suggest, suggest_enum, }, diff --git a/examples/example-general-renderer/src/main.rs b/examples/example-general-renderer/src/main.rs index bea563d..0a00795 100644 --- a/examples/example-general-renderer/src/main.rs +++ b/examples/example-general-renderer/src/main.rs @@ -33,7 +33,7 @@ //! ``` use mingling::{ - ChainProcess, Groupped, + Groupped, macros::{chain, dispatcher, gen_program, r_println, renderer}, parser::Picker, setup::GeneralRendererSetup, |
