Added logic to handle pre and post scripts

This commit is contained in:
2021-07-25 11:42:46 +02:00
parent 59f6843ea9
commit 0bb272d89b
2 changed files with 29 additions and 2 deletions

View File

@@ -109,6 +109,10 @@ class CLI(ApplicationABC):
for arg in result_args:
args.append(arg)
else:
Error.error(f'Unexpected command')
return
if command is None:
Error.error(f'Expected command')
return