hzeller / gcode-cli

Simple command line tool to send gcode to serial 3D printer/CNC machine.
40 stars 6 forks source link

Pass connection string as argument #1

Closed LukaszMoskala closed 4 years ago

LukaszMoskala commented 4 years ago

Hi,

I implemented passing connection string as second argument. If not specified, defaults to "/dev/ttyACM0,b115200".

I hope that this may be usefull for someone.

LukaszMoskala commented 4 years ago

Done. To be honest, I was not expecting that commits made after creating pull request will be added here.

hzeller commented 4 years ago

Thank you, merged!

LukaszMoskala commented 4 years ago

You're welcome :)

hzeller commented 4 years ago

In a follow-up commit, I've now also updated the usage output string and README to include the syntax of the connection string now that users can change it.