mirror of
https://github.com/fiatjaf/nak.git
synced 2024-10-30 00:59:07 -04:00
23 lines
302 B
Go
23 lines
302 B
Go
package main
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
|
|
"github.com/urfave/cli/v2"
|
|
)
|
|
|
|
func main() {
|
|
app := &cli.App{
|
|
Name: "nak",
|
|
Usage: "the nostr army knife command-line tool",
|
|
Commands: []*cli.Command{
|
|
req,
|
|
},
|
|
}
|
|
|
|
if err := app.Run(os.Args); err != nil {
|
|
log.Fatalf("failed to run cli: %s", err)
|
|
}
|
|
}
|