Added logic to handle pre and post scripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user