diff --git a/docs/USAGE.md b/docs/USAGE.md index 0a11bcf..66a9f03 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -17,6 +17,7 @@ Work it harder, make it better! | Update local repos/PKGBUILDs | `mlc pull/update` [all if left empty] | `--no-regen`: If `mode.repository.build_on_update` is `true`, Do not regenerate repository after package rebuild | | Create and/or open config file | `mlc conf` | | | Initialises repo/workspace based on config in mlc.toml | `mlc clone/init` | | +| Displays an info panel/overview of the current repo | `mlc info/status` | | ### Exit Codes diff --git a/src/args.rs b/src/args.rs index 14f7394..e6955b0 100644 --- a/src/args.rs +++ b/src/args.rs @@ -45,6 +45,10 @@ pub enum Operation { #[clap(name = "prune", aliases = & ["prune", "p"])] Prune, + /// Shows an info panel/overview about the current repository + #[clap(name = "info", aliases = & ["status", "s", "i"])] + Info, // TODO: Implement this + /// Pulls in git repositories from mlc.toml branching from current directory #[clap(name = "pull", aliases = & ["u"])] Pull {