Hi dev,
on wallet code, encryption check and ask for password runs before command check (in the same loop) even if command is asked before password, so if you write a wrong command it asks for a password and then you get the message invalid command. Minor bug but you can easily fix it. Keep in mind for the next version

Thank you for the suggestion. We will change the system in the next version.