-q to silence stderr, -qq to silence everything.

This commit is contained in:
fiatjaf
2024-01-24 22:38:51 -03:00
parent 3f7089e27e
commit 14b69f36cf
9 changed files with 26 additions and 22 deletions

View File

@@ -1,8 +1,6 @@
package main
import (
"fmt"
"github.com/nbd-wtf/go-nostr"
"github.com/nbd-wtf/go-nostr/nip19"
sdk "github.com/nbd-wtf/nostr-sdk"
@@ -93,7 +91,7 @@ var fetch = &cli.Command{
}
for ie := range pool.SubManyEose(c.Context, relays, nostr.Filters{filter}) {
fmt.Println(ie.Event)
stdout(ie.Event)
}
}