()
| 7 | ) |
| 8 | |
| 9 | func main() { |
| 10 | c := parseCommand() |
| 11 | |
| 12 | // triage command |
| 13 | if c.cInfo { |
| 14 | info(c) |
| 15 | } else if c.cStrip { |
| 16 | strip(c) |
| 17 | } else if c.cOffset { |
| 18 | offset(c) |
| 19 | } else if c.cSVG { |
| 20 | svg(c) |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | func info(c *command) { |
| 25 | // load g-code file |
nothing calls this directly
no test coverage detected