mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-10 03:59:31 +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)]
|
#[clap(long, short)]
|
||||||
push: bool,
|
push: bool,
|
||||||
},
|
},
|
||||||
Info {
|
View {
|
||||||
name: Option<String>,
|
name: Option<String>,
|
||||||
#[clap(long, short = 'R')]
|
#[clap(long, short = 'R')]
|
||||||
remote: Option<String>,
|
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 repo = RepoInfo::get_current(host_name, name.as_deref(), remote.as_deref())?;
|
||||||
let api = keys.get_api(&repo.host_url())?;
|
let api = keys.get_api(&repo.host_url())?;
|
||||||
let repo = repo
|
let repo = repo
|
||||||
|
|
Loading…
Reference in a new issue