diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-07-25 21:02:26 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-07-25 22:17:23 +0100 |
| commit | 513fce723c7e37aa353844303f36022517f2db43 (patch) | |
| tree | 05e16bdd4789036af04b6c046823396f9f0faf22 /src/bin/git_remote_nostr/main.rs | |
| parent | e89dbc142f5a0a517f197562f5f228681d9aed47 (diff) | |
refactor: move `utils` and `list` helpers to lib
to enable forthcoming `ngit sync` cmd
Diffstat (limited to 'src/bin/git_remote_nostr/main.rs')
| -rw-r--r-- | src/bin/git_remote_nostr/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/git_remote_nostr/main.rs b/src/bin/git_remote_nostr/main.rs index cf47a30..aac626b 100644 --- a/src/bin/git_remote_nostr/main.rs +++ b/src/bin/git_remote_nostr/main.rs | |||
| @@ -18,16 +18,15 @@ use ngit::{ | |||
| 18 | client::{self, Params}, | 18 | client::{self, Params}, |
| 19 | git::{self, utils::set_git_timeout}, | 19 | git::{self, utils::set_git_timeout}, |
| 20 | login::existing::load_existing_login, | 20 | login::existing::load_existing_login, |
| 21 | utils::read_line, | ||
| 21 | }; | 22 | }; |
| 22 | use nostr::nips::nip19::Nip19Coordinate; | 23 | use nostr::nips::nip19::Nip19Coordinate; |
| 23 | use utils::read_line; | ||
| 24 | 24 | ||
| 25 | use crate::{client::Client, git::Repo}; | 25 | use crate::{client::Client, git::Repo}; |
| 26 | 26 | ||
| 27 | mod fetch; | 27 | mod fetch; |
| 28 | mod list; | 28 | mod list; |
| 29 | mod push; | 29 | mod push; |
| 30 | mod utils; | ||
| 31 | 30 | ||
| 32 | #[tokio::main] | 31 | #[tokio::main] |
| 33 | async fn main() -> Result<()> { | 32 | async fn main() -> Result<()> { |