2024-06-03 11:58:27 +02:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
# █▀▄▀█ █▀▀ █▀█ █▀▀ ▀█▀ █░░ ▀
|
|
|
|
# █░▀░█ █▄█ █▀▄ █▄▄ ░█░ █▄▄ ▄
|
|
|
|
# -- -- -- -- -- -- -- -- --
|
|
|
|
|
|
|
|
import click
|
|
|
|
|
|
|
|
from mgrctl import __version__
|
|
|
|
from mgrctl.cli.lazy_group import LazyGroup
|
|
|
|
|
|
|
|
|
|
|
|
@click.group(
|
|
|
|
cls=LazyGroup,
|
|
|
|
lazy_subcommands={
|
|
|
|
'vm6': 'mgrctl.apps.vm6.commands.cli',
|
|
|
|
'dci6': 'mgrctl.apps.dci6.commands.cli',
|
|
|
|
},
|
2024-06-06 17:03:44 +02:00
|
|
|
help='main CLI command for mgrctl app',
|
2024-06-03 11:58:27 +02:00
|
|
|
)
|
|
|
|
@click.version_option(
|
|
|
|
version=__version__,
|
|
|
|
package_name='mgrctl',
|
|
|
|
message=__version__
|
|
|
|
)
|
|
|
|
def cli():
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
cli()
|