main: add a --version argument

This adds a `osbuild --version` command that prints the current osbuild
version in use. Allows users to confirm their osbuild is up to date
enough to use newer features.
This commit is contained in:
Simon de Vlieger 2022-06-22 13:02:14 +02:00 committed by Christian Kellner
parent ace6c3524b
commit 5c25f17ab7
3 changed files with 9 additions and 1 deletions

View file

@ -11,8 +11,11 @@ independent of osbuild but used across the osbuild codebase.
from .pipeline import Manifest, Pipeline, Stage
__version__ = "60"
__all__ = [
"Manifest",
"Pipeline",
"Stage",
"__version__",
]