Alright I'm stopping myself here

main
Michal 2 years ago
parent 3d35aa993a
commit fa34a008e0

@ -47,7 +47,7 @@ pub enum Operation {
/// Shows an info panel/overview about the current repository
#[clap(name = "info", aliases = & ["status", "s", "i"])]
Info, // TODO: Implement this
Info,
/// Pulls in git repositories from mlc.toml branching from current directory
#[clap(name = "pull", aliases = & ["u"])]

@ -107,5 +107,6 @@ fn main() {
Operation::Config => operations::config(verbose),
Operation::Prune => operations::prune(verbose),
Operation::Clean => operations::clean(verbose),
Operation::Info => operations::info(verbose),
}
}

@ -0,0 +1,6 @@
use crate::log;
pub fn info(verbose: bool) {
log!(verbose, "Showing Info");
unimplemented!();
}

@ -4,6 +4,7 @@ pub use clone::*;
pub use config::*;
pub use prune::*;
pub use pull::*;
pub use info::*;
mod build;
mod clean;
@ -11,3 +12,4 @@ mod clone;
mod config;
mod prune;
mod pull;
mod info;

Loading…
Cancel
Save