I building wallet software for monero and I'm running into issues of creating wallets from monero private keys. I'm trying to import a private key as a wallet via monero-wallet-cli command, but the command is interactive. Is there a non-interactive mode setting for the cli command? I tried monero-rpc but that doesn't let you import private keys to create a new wallet.
- monero private spend keys stored in mysql database as plain text
- php script that reads the db and runs the monero-wallet-cli command to creat a wallet