diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-05-24 20:23:39 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-05-24 20:30:55 +0100 |
| commit | 557d9295e3fc6145073459da94905765de53be1e (patch) | |
| tree | 6f0e49b4cd22e30f1d366060df3ee45f3c210efc /src/bin/ngit/cli.rs | |
| parent | 0f34bbdb452f287a03167abe24011bc35cc85c26 (diff) | |
feat(init): make default ngit-relays configurable
make the default set of ngit-relays configurable
Diffstat (limited to 'src/bin/ngit/cli.rs')
| -rw-r--r-- | src/bin/ngit/cli.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/ngit/cli.rs b/src/bin/ngit/cli.rs index 5461237..ce4e12e 100644 --- a/src/bin/ngit/cli.rs +++ b/src/bin/ngit/cli.rs | |||
| @@ -40,10 +40,11 @@ pub const CUSTOMISE_TEMPLATE: &str = r" | |||
| 40 | ========================== | 40 | ========================== |
| 41 | ngit settings are managed through the git config. | 41 | ngit settings are managed through the git config. |
| 42 | 42 | ||
| 43 | Currently the only settings not not reachable through standard commands relate to default hardcoded relays: | 43 | Currently the only settings not reachable through standard commands relate to default hardcoded relays: |
| 44 | 44 | ||
| 45 | - nostr.relay-default-set - must have at least 1 value | 45 | - nostr.ngit-relay-default-set - only used during `ngit init` |
| 46 | - nostr.relay-blaster-set | 46 | - nostr.relay-default-set - must have at least 1 value, all events send to repo relays, user write and default relays |
| 47 | - nostr.relay-blaster-set - only used for repo announcement events | ||
| 47 | - nostr.relay-signer-fallback-set | 48 | - nostr.relay-signer-fallback-set |
| 48 | 49 | ||
| 49 | These take a string of semi-colon separated websocket URLs without spaces. For example: | 50 | These take a string of semi-colon separated websocket URLs without spaces. For example: |