version number reporting
Hello @bdrung
Please could bdebstrap gain --version in its list of supported arguments? If installed by distribution package (eg Debian) the only way to query the version is to use pkg manager tools for that distro, eg dpkg-query -W -f='${Version}' bdebstrap. This is somewhat non-standard in comparison to mmdebstrap which can be queried using mmdebstrap --version. Being able to query the version like this makes it easier for tools to stay agnostic to the underlying build machine distribution. It's quite possible for bdebstrap and mmdebstrap to run on non-Debian hosts (I can create a Debian chroot on macos with homebrew by building both from src, for example).
Introspection using --version would allow tooling to decide whether to use the distribution installed bdebstrap or to install a specific version. If installed via pip then of course pip show bdebstrap can report the version. However, this is slow and likely not how a distribution would install bdebstrap anyway. Since there is no pkg on pypi, any pip install would have to be manual.
Thanks for your consideration. -- Matt