diff options
author | Cyborus <cyborus@noreply.codeberg.org> | 2024-09-05 20:22:55 +0200 |
---|---|---|
committer | Cyborus <cyborus@noreply.codeberg.org> | 2024-09-05 20:22:55 +0200 |
commit | 74d3748fa87bd25228f2b0b3d6f1976e1d22114d (patch) | |
tree | 1634bf460aeea7c7469354a7c192304cd8f6430c /src/main.rs | |
parent | Merge pull request 'improve host name consistency' (#124) from host-consisten... (diff) | |
parent | feat: automatically add ssh url as alias if it is different (diff) | |
download | forgejo-cli-74d3748fa87bd25228f2b0b3d6f1976e1d22114d.tar.xz forgejo-cli-74d3748fa87bd25228f2b0b3d6f1976e1d22114d.zip |
Merge pull request 'host aliases' (#125) from alias-host into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-cli/pulls/125
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 881bc40..5aaf2d0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -65,7 +65,7 @@ async fn main() -> eyre::Result<()> { Command::Pr(subcommand) => subcommand.run(&mut keys, host_name).await?, Command::Wiki(subcommand) => subcommand.run(&mut keys, host_name).await?, Command::WhoAmI { remote } => { - let url = repo::RepoInfo::get_current(host_name, None, remote.as_deref()) + let url = repo::RepoInfo::get_current(host_name, None, remote.as_deref(), &keys) .wrap_err("could not find host, try specifying with --host")? .host_url() .clone(); |