feat: a command to list matching bug id from a prefix

Labels: area/cli kind/feature

Timeline

Michael Muré (MichaelMure) opened

To be able to auto-complete bug id from a prefix, a hidden command to query the repo for matching id is necessary.

git bug ls-id [<prefix>]

If no prefix is given, output all existing id.

Michael Muré (MichaelMure) added label enhancement

Michael Muré (MichaelMure) added label Core

Michael Muré (MichaelMure) added label Easy pick

Sladyn (sladyn98) commented

This feature could be implemented by adding a new command in commands such as list_id.go and the implementation could be based off the use of ListLocalIds function in bugs/bug.go.The prefix could be matched using a prefix match which would return the matching prefixes.

Michael Muré (MichaelMure) closed the bug

sudoforge removed label enhancement

sudoforge removed label Core

sudoforge removed label Easy pick

sudoforge added label area/cli

sudoforge added label kind/feature