When using dfx deploy
to deploy Motoko canisters, if there’s a mismatch in the expected and available Candid bindings, we get a prompt on the command line that asks us whether we are sure that we would like to deploy regardless.
However, this prompt requires manual input on the CLI with a “yes/no”, otherwise the terminal is stuck indefinitely on that prompt.
dfx deploy needs to include a parameter that lets us specify this so that we can use that on terminals like CI environments where manual input is not available
Something like
dfx deploy --allow-candid-mismatch
which will basically perform the same function as typing “yes” on the terminal.