Checks whether user input contains only one command word
command details is an empty string if user input contains only the command
Add assertion to ensure commandDetails is not empty