The `openscad -D` option can actually include arbitrary code, not just variable definitions, so you can include a call to the module. You can even use `/dev/null` on Linux or NUL on Windows as the input file and have 100 % of your code in `-D` statements.