Source code for oasislmf.cli.version

from .. import __version__
from .command import OasisBaseCommand


[docs] class VersionCmd(OasisBaseCommand): """ Prints the installed package version """
[docs] def action(self, args): """ Prints the version number to the console. :param args: The arguments from the command line :type args: Namespace """ print(__version__)