diff --git a/encode.go b/encode.go index 17d097d..f30feed 100644 --- a/encode.go +++ b/encode.go @@ -212,28 +212,6 @@ var encode = &cli.Command{ } } - exitIfLineProcessingError(ctx) - return nil - }, - }, - { - Name: "note", - Usage: "generate note1 event codes (not recommended)", - DisableSliceFlagSeparator: true, - Action: func(ctx context.Context, c *cli.Command) error { - for target := range getStdinLinesOrArguments(c.Args()) { - if ok := nostr.IsValid32ByteHex(target); !ok { - ctx = lineProcessingError(ctx, "invalid event id: %s", target) - continue - } - - if note, err := nip19.EncodeNote(target); err == nil { - stdout(note) - } else { - return err - } - } - exitIfLineProcessingError(ctx) return nil },