How I can to scan vulnerability with OpenVAS server by terminal without gvm-cli?

I need to understand the communication between openvassd/openvasmd and OpenVAS server after this to reproduce by terminal a similar communication.

Both components are heavily outdated and have been refactored in current releases.

Take a look at our architecture About GVM 20.08 and 21.04 Architecture for the current components and their interactions.