Skip to content

Commit

Permalink
feat(init): improve guidance copy
Browse files Browse the repository at this point in the history
add a "maintainers.yaml" title to prevent a wall of unbroken text
  • Loading branch information
DanConwayDev committed Dec 2, 2024
1 parent 830056c commit 7cb0fc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bin/ngit/sub_commands/init.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
use std::{collections::HashMap, str::FromStr};

use anyhow::{Context, Result};
use console::Style;
use ngit::{cli_interactor::PromptConfirmParms, git::nostr_url::NostrUrlDecoded};
use nostr::{nips::nip01::Coordinate, FromBech32, PublicKey, ToBech32};
use nostr_sdk::{Kind, RelayUrl};
Expand Down Expand Up @@ -468,6 +469,8 @@ pub async fn launch(cli_args: &Cli, args: &SubCommandArgs) -> Result<()> {
}
Err(_) => false,
} {
let title_style = Style::new().bold().fg(console::Color::Yellow);
println!("{}", title_style.apply_to("maintainers.yaml"));
save_repo_config_to_yaml(
&git_repo,
identifier.clone(),
Expand Down

0 comments on commit 7cb0fc4

Please sign in to comment.