Typically, you'd put the right command line options in a Makefile or batch file, and export the gcode that way.
- Raw text -