nak event

This commit is contained in:
fiatjaf
2023-05-03 18:14:06 -03:00
parent 0438c819a6
commit 2b08f66520
3 changed files with 134 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
package main
import (
"log"
"fmt"
"os"
"github.com/urfave/cli/v2"
@@ -13,10 +13,12 @@ func main() {
Usage: "the nostr army knife command-line tool",
Commands: []*cli.Command{
req,
event,
},
}
if err := app.Run(os.Args); err != nil {
log.Fatalf("failed to run cli: %s", err)
fmt.Println(err)
os.Exit(1)
}
}