Alright I'm stopping myself here

main
Michal 2 years ago
parent 8201f2e2ee
commit 7505b79a81
No known key found for this signature in database
GPG Key ID: A6A1A4DCB22279B9

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

@ -107,5 +107,6 @@ fn main() {
Operation::Config => operations::config(verbose), Operation::Config => operations::config(verbose),
Operation::Prune => operations::prune(verbose), Operation::Prune => operations::prune(verbose),
Operation::Clean => operations::clean(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 config::*;
pub use prune::*; pub use prune::*;
pub use pull::*; pub use pull::*;
pub use info::*;
mod build; mod build;
mod clean; mod clean;
@ -11,3 +12,4 @@ mod clone;
mod config; mod config;
mod prune; mod prune;
mod pull; mod pull;
mod info;

Loading…
Cancel
Save