A command line program that prompts for input is (normally) a bad idea, as it makes it impossible (or at least hard) to use it in a shell skript or some kind of batch.
It's better to use command line arguments, which would not solve your problem but making it obsolete.
holli
You can lead your users to water, but alas, you cannot drown them.