command-prompt based training