upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands/init.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/ngit/sub_commands/init.rs')
-rw-r--r--src/bin/ngit/sub_commands/init.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bin/ngit/sub_commands/init.rs b/src/bin/ngit/sub_commands/init.rs
index ffee9bd..bf57769 100644
--- a/src/bin/ngit/sub_commands/init.rs
+++ b/src/bin/ngit/sub_commands/init.rs
@@ -1,6 +1,7 @@
1use std::{collections::HashMap, str::FromStr}; 1use std::{collections::HashMap, str::FromStr};
2 2
3use anyhow::{Context, Result}; 3use anyhow::{Context, Result};
4use console::Style;
4use ngit::{cli_interactor::PromptConfirmParms, git::nostr_url::NostrUrlDecoded}; 5use ngit::{cli_interactor::PromptConfirmParms, git::nostr_url::NostrUrlDecoded};
5use nostr::{nips::nip01::Coordinate, FromBech32, PublicKey, ToBech32}; 6use nostr::{nips::nip01::Coordinate, FromBech32, PublicKey, ToBech32};
6use nostr_sdk::{Kind, RelayUrl}; 7use nostr_sdk::{Kind, RelayUrl};
@@ -468,6 +469,8 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
468 } 469 }
469 Err(_) => false, 470 Err(_) => false,
470 } { 471 } {
472 let title_style = Style::new().bold().fg(console::Color::Yellow);
473 println!("{}", title_style.apply_to("maintainers.yaml"));
471 save_repo_config_to_yaml( 474 save_repo_config_to_yaml(
472 &git_repo, 475 &git_repo,
473 identifier.clone(), 476 identifier.clone(),