diff options
Diffstat (limited to 'src/bin/ngit/sub_commands/init.rs')
| -rw-r--r-- | src/bin/ngit/sub_commands/init.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/ngit/sub_commands/init.rs b/src/bin/ngit/sub_commands/init.rs index 0894f41..80e182b 100644 --- a/src/bin/ngit/sub_commands/init.rs +++ b/src/bin/ngit/sub_commands/init.rs | |||
| @@ -3,18 +3,18 @@ use std::collections::HashMap; | |||
| 3 | use anyhow::{Context, Result}; | 3 | use anyhow::{Context, Result}; |
| 4 | use console::Style; | 4 | use console::Style; |
| 5 | use ngit::{cli_interactor::PromptConfirmParms, git::nostr_url::NostrUrlDecoded}; | 5 | use ngit::{cli_interactor::PromptConfirmParms, git::nostr_url::NostrUrlDecoded}; |
| 6 | use nostr::{nips::nip01::Coordinate, FromBech32, PublicKey, ToBech32}; | 6 | use nostr::{FromBech32, PublicKey, ToBech32, nips::nip01::Coordinate}; |
| 7 | use nostr_sdk::{Kind, RelayUrl}; | 7 | use nostr_sdk::{Kind, RelayUrl}; |
| 8 | 8 | ||
| 9 | use crate::{ | 9 | use crate::{ |
| 10 | cli::{extract_signer_cli_arguments, Cli}, | 10 | cli::{Cli, extract_signer_cli_arguments}, |
| 11 | cli_interactor::{Interactor, InteractorPrompt, PromptInputParms}, | 11 | cli_interactor::{Interactor, InteractorPrompt, PromptInputParms}, |
| 12 | client::{fetching_with_report, get_repo_ref_from_cache, send_events, Client, Connect}, | 12 | client::{Client, Connect, fetching_with_report, get_repo_ref_from_cache, send_events}, |
| 13 | git::{nostr_url::convert_clone_url_to_https, Repo, RepoActions}, | 13 | git::{Repo, RepoActions, nostr_url::convert_clone_url_to_https}, |
| 14 | login, | 14 | login, |
| 15 | repo_ref::{ | 15 | repo_ref::{ |
| 16 | extract_pks, get_repo_config_from_yaml, save_repo_config_to_yaml, | 16 | RepoRef, extract_pks, get_repo_config_from_yaml, save_repo_config_to_yaml, |
| 17 | try_and_get_repo_coordinates_when_remote_unknown, RepoRef, | 17 | try_and_get_repo_coordinates_when_remote_unknown, |
| 18 | }, | 18 | }, |
| 19 | }; | 19 | }; |
| 20 | 20 | ||