aboutsummaryrefslogtreecommitdiff
path: root/mling/src/proj_mgr/mod.rs
blob: 07a9910c38ef7c72cbf3279b310c6567786aed66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use crate::ThisProgram;
use mingling::{
    Program,
    macros::{dispatcher, program_setup},
};

pub mod metadata;

dispatcher!("show.binaries");
dispatcher!("show.workspace");
dispatcher!("show.target-dir",
    CMDShowTargetDirectories => EntryShowTargetDirectories
);

#[program_setup]
pub fn project_manager_setup(p: &mut Program<ThisProgram>) {
    p.with_dispatcher(CMDShowBinaries);
    p.with_dispatcher(CMDShowWorkspace);
    p.with_dispatcher(CMDShowTargetDirectories);
}