Unattended installation

Is there a way to accept the eula using the dpkg command? I need to install hugo on several devices and would like to be able to accept the license without having to do it interactively.

Please advise.
Thanks