I have a monero spend key and I want to generate a new wallet file using the CLI, but I want to do it in an non-interactive way so I can use this same command in my scripts. I tried doing:
monero-wallet-cli --generate-from-spend-key "xxxxxx"
But it hits me with an input for the spend key. How can I pass in the spend key from the command line and also not have a password to the wallet file. Or possibly how do I set the wallet password via the command line if I wanted to.