Preferably in some selfgenerating way. See: `node --completion-bash` `wgetpaste --completions` `qpdf --completion-bash` `qpdf --completion-zsh`
https://github.com/pkgcraft/pkgcraft/blob/c275b59725145f81555900542e062f88a6ccb572/crates/pkgcraft-tools/CHANGELOG.md?plain=1#L7
Just to note, pre-generated shell completion files have been bundled in the `shell` subdirectory of release tarballs for pkgcraft-tools and pkgcruft in the past two releases (neither of which are in the tree yet). I'm not a huge fan of bundling the functionality to generate them into the program binary, but maybe the upcoming dynamic clap completion support might force that. Also, in the future if you want something non-ebuild related wrt pkgcraft done it's better to file issues upstream as I rarely look for bugs on b.g.o since I don't maintain the ebuilds.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f509e9e23d307ab67b68964e8703899768f5fcf9 commit f509e9e23d307ab67b68964e8703899768f5fcf9 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-31 22:30:34 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-31 22:30:56 +0000 sys-apps/pkgcraft-tools: add 0.0.21 Closes: https://bugs.gentoo.org/946336 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/pkgcraft-tools/Manifest | 1 + .../pkgcraft-tools/pkgcraft-tools-0.0.21.ebuild | 76 ++++++++++++++++++++++ sys-apps/pkgcraft-tools/pkgcraft-tools-9999.ebuild | 14 +++- 3 files changed, 89 insertions(+), 2 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f35dbde128edda49efbbbce4357441bde3e65e commit 07f35dbde128edda49efbbbce4357441bde3e65e Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-31 22:17:21 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-31 22:30:55 +0000 dev-util/pkgcruft: add 0.0.8 Some of the tests fail but I'm curious as to if the tinderboxes can hit it or not. Bug: https://bugs.gentoo.org/946336 Signed-off-by: Sam James <sam@gentoo.org> dev-util/pkgcruft/Manifest | 1 + dev-util/pkgcruft/pkgcruft-0.0.8.ebuild | 73 +++++++++++++++++++++++++++++++++ dev-util/pkgcruft/pkgcruft-9999.ebuild | 12 +++++- 3 files changed, 85 insertions(+), 1 deletion(-)