Why MongoDB does not allow to take user input in the shell

Why MongoDB does not allow to take user input in the shell (like passwordPrompt()), is there any alternative to take user input, if it’s available, let me know. if it’s not allowed let me know the reason too.