nak publish

This commit is contained in:
fiatjaf
2025-05-06 00:52:49 -03:00
parent 83195d9a00
commit 67e291e80d
8 changed files with 308 additions and 151 deletions

View File

@@ -27,13 +27,6 @@ var fetch = &cli.Command{
),
ArgsUsage: "[nip05_or_nip19_code]",
Action: func(ctx context.Context, c *cli.Command) error {
defer func() {
sys.Pool.Relays.Range(func(_ string, relay *nostr.Relay) bool {
relay.Close()
return true
})
}()
for code := range getStdinLinesOrArguments(c.Args()) {
filter := nostr.Filter{}
var authorHint nostr.PubKey