diff --git a/src/sh_edraft/cli/interpreter/interpreter.py b/src/sh_edraft/cli/interpreter/interpreter.py index e1cf07ea..d3e580e4 100644 --- a/src/sh_edraft/cli/interpreter/interpreter.py +++ b/src/sh_edraft/cli/interpreter/interpreter.py @@ -16,6 +16,11 @@ class Interpreter: def interpret(self, input_string: str): input_list = input_string.split(' ') command = input_list[0] + if command is None or command == '': + Console.error(f'Expected command') + Console.error('Run \'cpl help\'') + return + args = input_list[1:] if len(input_list) > 1 else [] cmd = next(