wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.19k stars 292 forks source link

Would like to be able to disable user interaction when deploying #377

Open billtorla-scopely opened 2 years ago

billtorla-scopely commented 2 years ago

Begging your pardon if this feature already exists. I'm using hardhat in automation and would like to run it in a totally non-interactive fashion. Deploying asks the user to enter "deploy" in order to proceed. I got around this by piping printf to the hardhat command but I'd prefer a clean way of disabling the question entirely. Thanks in advance for your help!

printf "deploy\n" | npx hardhat deploy --network $TARGET_NETWORK

wighawag commented 2 years ago

Deploying asks the user to enter "deploy" in order to proceed.

hardhat-deploy does not do this, you must be using something else