From ea316941727c4ca80d0c6fb9af9f78fa799fa8e6 Mon Sep 17 00:00:00 2001 From: Anthony Accioly <1591739+aaccioly@users.noreply.github.com> Date: Fri, 4 Jul 2025 12:45:40 +0100 Subject: [PATCH] refactor(bunker): remove unused NostrConnect `connect` command --- bunker.go | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/bunker.go b/bunker.go index 3ae9908..fd8dff8 100644 --- a/bunker.go +++ b/bunker.go @@ -468,27 +468,6 @@ var bunker = &cli.Command{ } } }, - Commands: []*cli.Command{ - { - Name: "connect", - Usage: "use the client-initiated NostrConnect flow of NIP46", - ArgsUsage: "", - Action: func(ctx context.Context, c *cli.Command) error { - if c.Args().Len() != 1 { - return fmt.Errorf("must be called with a nostrconnect://... uri") - } - - uri, err := url.Parse(c.Args().First()) - if err != nil || uri.Scheme != "nostrconnect" { - return fmt.Errorf("invalid uri") - } - - // TODO - - return fmt.Errorf("this is not implemented yet") - }, - }, - }, } type plainOrEncryptedKey struct {