From 20669bf4d71c4667500382e6c05682b83195b15c Mon Sep 17 00:00:00 2001 From: Cyborus Date: Thu, 16 May 2024 21:13:53 -0400 Subject: [PATCH] rename `repo info` to `repo view` --- src/repo.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/repo.rs b/src/repo.rs index a9aaeac..859d05f 100644 --- a/src/repo.rs +++ b/src/repo.rs @@ -243,7 +243,7 @@ pub enum RepoCommand { #[clap(long, short)] push: bool, }, - Info { + View { name: Option, #[clap(long, short = 'R')] remote: Option, @@ -335,7 +335,7 @@ impl RepoCommand { } } } - RepoCommand::Info { name, remote } => { + RepoCommand::View { name, remote } => { let repo = RepoInfo::get_current(host_name, name.as_deref(), remote.as_deref())?; let api = keys.get_api(&repo.host_url())?; let repo = repo