added noprompt flag

not sure about this implementation. It seems that `ctx` should be used for other things and maybe not config.

This is intended to pave the way for `npm init --noprompt`