Rename repo show command to repo info

This commit is contained in:
Joscha 2025-05-03 01:34:58 +02:00
parent 427128fe5c
commit 5e87d74ede
2 changed files with 4 additions and 4 deletions

View file

@ -1,7 +1,7 @@
mod add; mod add;
mod info;
mod list; mod list;
mod remove; mod remove;
mod show;
use clap::Parser; use clap::Parser;
@ -13,8 +13,8 @@ pub enum Command {
#[command(visible_alias = "l")] #[command(visible_alias = "l")]
List(list::Command), List(list::Command),
#[command(visible_alias = "s")] #[command(visible_alias = "i")]
Show(show::Command), Info(info::Command),
#[command(visible_alias = "a")] #[command(visible_alias = "a")]
Add(add::Command), Add(add::Command),
@ -27,7 +27,7 @@ impl Command {
pub fn run(self, env: &Environment) -> anyhow::Result<()> { pub fn run(self, env: &Environment) -> anyhow::Result<()> {
match self { match self {
Self::List(command) => command.run(env), Self::List(command) => command.run(env),
Self::Show(command) => command.run(env), Self::Info(command) => command.run(env),
Self::Add(command) => command.run(env), Self::Add(command) => command.run(env),
Self::Remove(command) => command.run(env), Self::Remove(command) => command.run(env),
} }