From abe228b14d97d8d47e8ff4406de387fac45cfe68 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Sun, 22 Oct 2023 23:23:18 +0200 Subject: commands: use completion from go-opt Implement command completion with complete struct field tags from the get-opt library introduced earlier. Changelog-changed: Improved command completion. Signed-off-by: Robin Jarry Reviewed-by: Koni Marti Tested-by: Moritz Poldrack Tested-by: Inwit --- commands/account/check-mail.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'commands/account/check-mail.go') diff --git a/commands/account/check-mail.go b/commands/account/check-mail.go index a8d80a66..d31b2648 100644 --- a/commands/account/check-mail.go +++ b/commands/account/check-mail.go @@ -16,10 +16,6 @@ func (CheckMail) Aliases() []string { return []string{"check-mail"} } -func (CheckMail) Complete(args []string) []string { - return nil -} - func (CheckMail) Execute(args []string) error { acct := app.SelectedAccount() if acct == nil { -- cgit