Bugfixes
This commit is contained in:
@@ -8,8 +8,7 @@ def test_spinner():
|
||||
|
||||
if __name__ == '__main__':
|
||||
Console.write_line('Hello World')
|
||||
# Console.spinner('Test:', test_spinner, spinner_foreground_color=ForegroundColorEnum.cyan,
|
||||
# text_foreground_color='green')
|
||||
Console.spinner('Test:', test_spinner, spinner_foreground_color=ForegroundColorEnum.cyan, text_foreground_color='green')
|
||||
opts = [
|
||||
'Option 1',
|
||||
'Option 2',
|
||||
|
@@ -1,24 +1,44 @@
|
||||
{
|
||||
"ProjectSettings": {
|
||||
"Name": "sh_cpl.tests",
|
||||
"Author": "Sven Heidemann",
|
||||
"Description": "Common Python Library CLI",
|
||||
"LongDescription": "Common Python Library CLI",
|
||||
"CopyrightDate": "2020",
|
||||
"CopyrightName": "sh-edraft.de",
|
||||
"LicenseName": "MIT",
|
||||
"LicenseDescription": ", see LICENSE for more details.",
|
||||
"Version": {
|
||||
"Major": "2021",
|
||||
"Minor": "04",
|
||||
"Micro": "01"
|
||||
},
|
||||
"SourcePath": "./",
|
||||
"DistPath": "../../dist",
|
||||
"Included": [],
|
||||
"Author": "Sven Heidemann",
|
||||
"AuthorEmail": "sven.heidemann@sh-edraft.de",
|
||||
"Description": "sh-edraft Common Python library",
|
||||
"LongDescription": "sh-edraft Common Python library",
|
||||
"URL": "https://www.sh-edraft.de",
|
||||
"CopyrightDate": "2020 - 2021",
|
||||
"CopyrightName": "sh-edraft.de",
|
||||
"LicenseName": "MIT",
|
||||
"LicenseDescription": "MIT, see LICENSE for more details.",
|
||||
"Dependencies": [
|
||||
"mysql-connector",
|
||||
"SQLAlchemy",
|
||||
"termcolor",
|
||||
"pyfiglet",
|
||||
"tabulate",
|
||||
"pynput"
|
||||
],
|
||||
"PythonVersion": ">=3.8"
|
||||
},
|
||||
"BuildSettings": {
|
||||
"SourcePath": "",
|
||||
"OutputPath": "dist",
|
||||
"Main": "main",
|
||||
"EntryPoint": "cpl",
|
||||
"IncludePackageData": "False",
|
||||
"Included": [
|
||||
"*/templates"
|
||||
],
|
||||
"Excluded": [
|
||||
"__pycache__",
|
||||
"logs"
|
||||
]
|
||||
"*/__pycache__",
|
||||
"*/logs",
|
||||
"*/tests"
|
||||
],
|
||||
"PackageData": {}
|
||||
}
|
||||
}
|
@@ -1,8 +1,13 @@
|
||||
from tests.custom.general.application import Application
|
||||
from tests.custom.general.startup import Startup
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
def main():
|
||||
app = Application()
|
||||
app.use_startup(Startup)
|
||||
app.build()
|
||||
app.run()
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
Reference in New Issue
Block a user