beginnings of some humble tests.

This commit is contained in:
fiatjaf
2023-11-08 22:26:41 -03:00
parent d95b6f50ff
commit e507d90766
2 changed files with 33 additions and 14 deletions

28
main.go
View File

@@ -7,21 +7,21 @@ import (
"github.com/urfave/cli/v2"
)
func main() {
app := &cli.App{
Name: "nak",
Usage: "the nostr army knife command-line tool",
Commands: []*cli.Command{
req,
count,
fetch,
event,
decode,
encode,
verify,
},
}
var app = &cli.App{
Name: "nak",
Usage: "the nostr army knife command-line tool",
Commands: []*cli.Command{
req,
count,
fetch,
event,
decode,
encode,
verify,
},
}
func main() {
if err := app.Run(os.Args); err != nil {
fmt.Println(err)
os.Exit(1)