diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-26 10:29:33 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-07-26 10:36:58 +0100 |
| commit | 0134ab8eb413b8b81ec8e179897ddb8ea63e134e (patch) | |
| tree | 1d3ef8786fa806a4d39378286c68cda722cc017d /src/sub_commands/send.rs | |
| parent | 52f9efa50f81142da013c4da5f3cd3091e07916b (diff) | |
feat(remote): add nostr git remote helper
as a simple proxy to the first git server listed in announcement
parse clone url as `nostr://naddr123...`
Diffstat (limited to 'src/sub_commands/send.rs')
| -rw-r--r-- | src/sub_commands/send.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_commands/send.rs b/src/sub_commands/send.rs index 73c980b..07eb343 100644 --- a/src/sub_commands/send.rs +++ b/src/sub_commands/send.rs | |||
| @@ -20,6 +20,7 @@ use crate::client::Client; | |||
| 20 | #[cfg(test)] | 20 | #[cfg(test)] |
| 21 | use crate::client::MockConnect; | 21 | use crate::client::MockConnect; |
| 22 | use crate::{ | 22 | use crate::{ |
| 23 | cli::Cli, | ||
| 23 | cli_interactor::{ | 24 | cli_interactor::{ |
| 24 | Interactor, InteractorPrompt, PromptConfirmParms, PromptInputParms, PromptMultiChoiceParms, | 25 | Interactor, InteractorPrompt, PromptConfirmParms, PromptInputParms, PromptMultiChoiceParms, |
| 25 | }, | 26 | }, |
| @@ -29,7 +30,6 @@ use crate::{ | |||
| 29 | git::{Repo, RepoActions}, | 30 | git::{Repo, RepoActions}, |
| 30 | login, | 31 | login, |
| 31 | repo_ref::{get_repo_coordinates, RepoRef}, | 32 | repo_ref::{get_repo_coordinates, RepoRef}, |
| 32 | Cli, | ||
| 33 | }; | 33 | }; |
| 34 | 34 | ||
| 35 | #[derive(Debug, clap::Args)] | 35 | #[derive(Debug, clap::Args)] |