sh_cpl/src/cpl_cli/__init__.py

33 lines
799 B
Python
Raw Normal View History

2021-03-08 22:14:37 +01:00
# -*- coding: utf-8 -*-
"""
2021-04-07 19:19:20 +02:00
sh_cpl-cli sh-edraft Common Python library CLI
2021-03-08 22:14:37 +01:00
~~~~~~~~~~~~~~~~~~~
2021-04-07 19:19:20 +02:00
sh-edraft Common Python library Command Line Interface
2021-03-08 22:14:37 +01:00
:copyright: (c) 2020 - 2021 sh-edraft.de
:license: MIT, see LICENSE for more details.
"""
__title__ = 'cpl_cli'
2021-03-08 22:14:37 +01:00
__author__ = 'Sven Heidemann'
__license__ = 'MIT'
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
2021-04-07 19:19:20 +02:00
__version__ = '2021.4'
2021-03-08 22:14:37 +01:00
from collections import namedtuple
# imports:
2021-03-08 22:19:36 +01:00
from .cli import CLI
from .command_abc import CommandABC
2021-03-12 16:06:30 +01:00
from .command_handler_service import CommandHandler
2021-03-08 22:19:36 +01:00
from .command_model import CommandModel
from .error import Error
from .main import main
from .startup import Startup
2021-03-08 22:14:37 +01:00
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
2021-04-07 19:19:20 +02:00
version_info = VersionInfo(major='2021', minor='4', micro='None')