Add a --(non-)interactive flag to the swh db upgrade command
so it can be used in a script (e.g. docker entrypoint).