diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-26 07:44:31 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-26 07:44:31 +0800 |
| commit | a73f0f692968a04fb6f99ffbf6a2538cb482815f (patch) | |
| tree | ab9afd18913ca113ff6cc577077eb682b7edc01b /mling/src/proj_mgr/mod.rs | |
| parent | 30e8275059fc66ddc996513f60f536732378d6cf (diff) | |
feat(proj_mgr): add project generation with interactive checklist
Diffstat (limited to 'mling/src/proj_mgr/mod.rs')
| -rw-r--r-- | mling/src/proj_mgr/mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mling/src/proj_mgr/mod.rs b/mling/src/proj_mgr/mod.rs index b282203..04353b7 100644 --- a/mling/src/proj_mgr/mod.rs +++ b/mling/src/proj_mgr/mod.rs @@ -4,6 +4,9 @@ use mingling::{ macros::{dispatcher, program_setup}, }; +mod generator; +pub use generator::*; + pub mod metadata; mod show_binaries; @@ -12,6 +15,8 @@ pub use show_binaries::*; mod show_directories; pub use show_directories::*; +dispatcher!("gen", CMDGenerateProject => EntryGenerateProject); + dispatcher!("show.binaries"); dispatcher!("show.workspace-dir", CMDShowWorkspaceDirectory => EntryShowWorkspaceDirectory @@ -22,6 +27,8 @@ dispatcher!("show.target-dir", #[program_setup] pub fn project_manager_setup(p: &mut Program<ThisProgram>) { + p.with_dispatcher(CMDGenerateProject); + p.with_dispatcher(CMDShowBinaries); p.with_dispatcher(CMDShowWorkspaceDirectory); p.with_dispatcher(CMDShowTargetDirectories); |
