Uninstall macOS - Command Line

Is there a way to uninstall “Avast.app” by running a command in Terminal?
Or is there a package that can be provided + ran?

https://forum.avast.com/index.php?board=5.0