Build dev8 & improved set-version change handling
This commit is contained in:
@@ -15,7 +15,7 @@ __title__ = 'cpl_cli.command'
|
||||
__author__ = 'Sven Heidemann'
|
||||
__license__ = 'MIT'
|
||||
__copyright__ = 'Copyright (c) 2020 - 2022 sh-edraft.de'
|
||||
__version__ = '2022.6.17.dev7'
|
||||
__version__ = '2022.6.17.dev8'
|
||||
|
||||
from collections import namedtuple
|
||||
|
||||
@@ -28,4 +28,4 @@ from .publish_service import PublishService
|
||||
from .version_service import VersionService
|
||||
|
||||
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
||||
version_info = VersionInfo(major='2022', minor='6', micro='17.dev7')
|
||||
version_info = VersionInfo(major='2022', minor='6', micro='17.dev8')
|
||||
|
@@ -45,6 +45,7 @@ class NewService(CommandABC):
|
||||
|
||||
self._name: str = ''
|
||||
self._schematic: ProjectTypeEnum = ProjectTypeEnum.console
|
||||
self._use_nothing: bool = False
|
||||
self._use_application_api: bool = False
|
||||
self._use_startup: bool = False
|
||||
self._use_service_providing: bool = False
|
||||
@@ -169,7 +170,7 @@ class NewService(CommandABC):
|
||||
Gets project information's from user
|
||||
:return:
|
||||
"""
|
||||
if self._use_application_api or self._use_startup or self._use_service_providing or self._use_async:
|
||||
if self._use_application_api or self._use_startup or self._use_service_providing or self._use_async or self._use_nothing:
|
||||
Console.set_foreground_color(ForegroundColorEnum.default)
|
||||
Console.write_line('Skipping question due to given flags')
|
||||
return
|
||||
@@ -277,6 +278,7 @@ class NewService(CommandABC):
|
||||
:return:
|
||||
"""
|
||||
if 'nothing' in args:
|
||||
self._use_nothing = True
|
||||
self._use_async = False
|
||||
self._use_application_api = False
|
||||
self._use_startup = False
|
||||
|
Reference in New Issue
Block a user