parse text commands easily and safely