Ensure moniker --version
reports the correct version number.
Change-Id: I15466dbc60e161ce6d5a21fd1ddcc59f4a10e525
This commit is contained in:
parent
574fa9c7b8
commit
d7e35140b5
@ -16,13 +16,14 @@
|
||||
import os
|
||||
from cliff.app import App
|
||||
from cliff.commandmanager import CommandManager
|
||||
from monikerclient.version import version_info as version
|
||||
|
||||
|
||||
class MonikerShell(App):
|
||||
def __init__(self):
|
||||
super(MonikerShell, self).__init__(
|
||||
description='Moniker Client',
|
||||
version='0.1',
|
||||
version=version.canonical_version_string(),
|
||||
command_manager=CommandManager('moniker.cli'),
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user