mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-23 18:31:46 +01:00
Merge pull request 'rename repo info
to repo view
' (#64) from info-view into main
This commit is contained in:
commit
b168dcef7e
1 changed files with 2 additions and 2 deletions
|
@ -243,7 +243,7 @@ pub enum RepoCommand {
|
|||
#[clap(long, short)]
|
||||
push: bool,
|
||||
},
|
||||
Info {
|
||||
View {
|
||||
name: Option<String>,
|
||||
#[clap(long, short = 'R')]
|
||||
remote: Option<String>,
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue