--password flag and
--generate-new-wallet flag, which make programmatic generation of a wallet very easy, except for this missing piece. Ideally a command like this would generate a wallet and start the JsonRPC:
monero-wallet-cli \ --generate-new-wallet=foo \ --password="secret" \ --language=0 # english
but I haven't seen this in the
--help listing. If this flag doesn't exist, then that would force programmers to supply the
0 to the process via stdin, which is very fragile.