Files
apt-ostree/apt_ostree/cmd/version.py
Charles Short 53d11855ad Add basic cli
Signed-off-by: Charles Short <charles.short@windriver.com>
2023-07-19 09:14:36 -04:00

17 lines
268 B
Python

"""
Copyright (c) 2023 Wind River Systems, Inc.
SPDX-License-Identifier: Apache-2.0
"""
import click
from apt_ostree.constants import VERSION
@click.command(name="version", help="Show version and exit.")
@click.pass_context
def version(ctxt):
print(VERSION)