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/init.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/init.rs')
| -rw-r--r-- | src/sub_commands/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_commands/init.rs b/src/sub_commands/init.rs index 28ba21b..ba188c9 100644 --- a/src/sub_commands/init.rs +++ b/src/sub_commands/init.rs | |||
| @@ -10,6 +10,7 @@ use crate::client::Client; | |||
| 10 | #[cfg(test)] | 10 | #[cfg(test)] |
| 11 | use crate::client::MockConnect; | 11 | use crate::client::MockConnect; |
| 12 | use crate::{ | 12 | use crate::{ |
| 13 | cli::Cli, | ||
| 13 | cli_interactor::{Interactor, InteractorPrompt, PromptInputParms}, | 14 | cli_interactor::{Interactor, InteractorPrompt, PromptInputParms}, |
| 14 | client::{fetching_with_report, get_repo_ref_from_cache, Connect}, | 15 | client::{fetching_with_report, get_repo_ref_from_cache, Connect}, |
| 15 | git::{Repo, RepoActions}, | 16 | git::{Repo, RepoActions}, |
| @@ -18,7 +19,6 @@ use crate::{ | |||
| 18 | extract_pks, get_repo_config_from_yaml, save_repo_config_to_yaml, | 19 | extract_pks, get_repo_config_from_yaml, save_repo_config_to_yaml, |
| 19 | try_and_get_repo_coordinates, RepoRef, | 20 | try_and_get_repo_coordinates, RepoRef, |
| 20 | }, | 21 | }, |
| 21 | Cli, | ||
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | #[derive(Debug, clap::Args)] | 24 | #[derive(Debug, clap::Args)] |