Feature request: add "list" command (synonym to / instead of "bug")

Labels: area/cli kind/feature priority/important-longterm

Timeline

felsgaertner (felsgaertner) opened

Currently there is just a "git-bug bug" command to list all known issues.

But as an issue is not always a bug, but could also be a change or feature request, IMHO "bug" as a command to list all issues is somehow misplaced. It should be "list", which is more logical, like:

git-bug list

Could you set "list" as a synonym for "bug", or even consider replacing "bug" with "list"?

sudoforge commented

I bring up the desire for a verb-driven CLI for the central actions here, in a document covering my vision for the (potential) future of git-bug: https://github.com/git-bug/git-bug/discussions/1391

I'll leave this issue open for now as a pointed example of this being something that git-bug users want.

sudoforge added label area/cli

sudoforge added label kind/feature

sudoforge added label priority/important-longterm

Waldir Pimenta (waldyrious) commented (edited)

Not to sidetrack this issue, but adding here since it's kind of related: as a new user, I also expected git-bug user list to be a synonym for git-bug user.

Ugh — I read the command's --help but didn't actually try it 🤦 For the record, git bug user list already does behave precisely as git bug user.