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/compose/edit.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'commands/compose/edit.go') diff --git a/commands/compose/edit.go b/commands/compose/edit.go index 80f4e6f4..1929f45a 100644 --- a/commands/compose/edit.go +++ b/commands/compose/edit.go @@ -20,10 +20,6 @@ func (Edit) Aliases() []string { return []string{"edit"} } -func (Edit) Complete(args []string) []string { - return nil -} - func (e Edit) Execute(args []string) error { composer, ok := app.SelectedTabContent().(*app.Composer) if !ok { -- cgit