LOG.info(AgentI18NResourceKeys.PROMPT_COMMAND_INVOKED, cmd_args_as_list);
Class<? extends AgentPromptCommand> promptCommandClass = m_promptCommands.get(cmd_args[0]);
if (promptCommandClass != null) {
AgentPromptCommand prompt_cmd = promptCommandClass.newInstance();
can_continue = prompt_cmd.execute(AgentMain.this, cmd_args);
// if the prompt command tells us we should die, then we need to break out of the input loop
if (!can_continue) {
m_output.println(MSG.getMsg(AgentI18NResourceKeys.INPUT_DONE));
}