-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

@@ -3,7 +3,6 @@ package main
import (
"encoding/hex"
"encoding/json"
"fmt"
"strings"
"github.com/nbd-wtf/go-nostr"
@@ -68,7 +67,7 @@ var decode = &cli.Command{
continue
}
fmt.Println(decodeResult.JSON())
stdout(decodeResult.JSON())
}