mirror of
https://codeberg.org/Cyborus/forgejo-cli.git
synced 2024-11-10 12:09:33 +01:00
rename repo info
to repo view
This commit is contained in:
parent
5e16810a74
commit
20669bf4d7
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