diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-07 16:18:54 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-07 16:18:54 +0800 |
| commit | dccb859175c32cea9aded9b7e54354f37f282368 (patch) | |
| tree | 6f599490a245314c874bedc430ca90e6bedffc6f /mling/src/proj_mgr/mod.rs | |
| parent | 86647e7b5057826d7bb85381044d5b691fbbafa3 (diff) | |
Replace show.workspace with show.workspace-dir command
Diffstat (limited to 'mling/src/proj_mgr/mod.rs')
| -rw-r--r-- | mling/src/proj_mgr/mod.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mling/src/proj_mgr/mod.rs b/mling/src/proj_mgr/mod.rs index 3e94a3f..b282203 100644 --- a/mling/src/proj_mgr/mod.rs +++ b/mling/src/proj_mgr/mod.rs @@ -9,8 +9,13 @@ pub mod metadata; mod show_binaries; pub use show_binaries::*; +mod show_directories; +pub use show_directories::*; + dispatcher!("show.binaries"); -dispatcher!("show.workspace"); +dispatcher!("show.workspace-dir", + CMDShowWorkspaceDirectory => EntryShowWorkspaceDirectory +); dispatcher!("show.target-dir", CMDShowTargetDirectories => EntryShowTargetDirectories ); @@ -18,6 +23,6 @@ dispatcher!("show.target-dir", #[program_setup] pub fn project_manager_setup(p: &mut Program<ThisProgram>) { p.with_dispatcher(CMDShowBinaries); - p.with_dispatcher(CMDShowWorkspace); + p.with_dispatcher(CMDShowWorkspaceDirectory); p.with_dispatcher(CMDShowTargetDirectories); } |
