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