diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-05-22 16:20:25 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-05-22 17:09:47 +0100 |
| commit | 4dc5d0c9fb170981cf4fade5558d7cc8da404aa3 (patch) | |
| tree | 9f87365d5c479831a0fe7bb2db60a4440c166639 /src/lib/login/fresh.rs | |
| parent | b6a161e1107d836d410d225d6700eeab38f12023 (diff) | |
feat(init): overhaul & simplify with ngit-relays
introduce ngit-relays as a way of setting git servers and relays at
the same time using a standard for specific repo locations:
https://<domain-port-path>/<npub>/<identifer>.git
add simple and advanced modes.
prompt less. eg always set remote origin to nostr url.
automatically push main or master branch.
Diffstat (limited to 'src/lib/login/fresh.rs')
| -rw-r--r-- | src/lib/login/fresh.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/login/fresh.rs b/src/lib/login/fresh.rs index 76998ff..683d4af 100644 --- a/src/lib/login/fresh.rs +++ b/src/lib/login/fresh.rs | |||
| @@ -210,7 +210,7 @@ pub async fn get_fresh_nsec_signer() -> Result< | |||
| 210 | } | 210 | } |
| 211 | } | 211 | } |
| 212 | 212 | ||
| 213 | fn show_prompt_success(label: &str, value: &str) { | 213 | pub fn show_prompt_success(label: &str, value: &str) { |
| 214 | eprintln!("{}", { | 214 | eprintln!("{}", { |
| 215 | let mut s = String::new(); | 215 | let mut s = String::new(); |
| 216 | let _ = ColorfulTheme::default().format_input_prompt_selection(&mut s, label, value); | 216 | let _ = ColorfulTheme::default().format_input_prompt_selection(&mut s, label, value); |