(c *command)
| 29 | } |
| 30 | |
| 31 | func strip(c *command) { |
| 32 | // load g-code file |
| 33 | file := loadFile(c.aInput) |
| 34 | |
| 35 | // strip comments |
| 36 | gcode.StripComments(file) |
| 37 | |
| 38 | // write g-code file |
| 39 | writeFile(c.aOutput, file) |
| 40 | } |
| 41 | |
| 42 | func offset(c *command) { |
| 43 | // load g-code file |
no test coverage detected