refactor(bunker): remove unused NostrConnect `connect` command

This commit is contained in:
Anthony Accioly 2025-07-04 12:45:40 +01:00
parent cc4f3a0bf5
commit ea31694172
No known key found for this signature in database
GPG Key ID: 1BADB4682C8DDB3C
1 changed files with 0 additions and 21 deletions

View File

@ -468,27 +468,6 @@ var bunker = &cli.Command{
}
}
},
Commands: []*cli.Command{
{
Name: "connect",
Usage: "use the client-initiated NostrConnect flow of NIP46",
ArgsUsage: "<nostrconnect-uri>",
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 {