Closed varoonp123 closed 12 months ago
We need to automate detecting this later or hoist this further to a CLI, but this is better than what we have right now. I think we will use a CLI with argh or clap to do some config options. #91 also uses a similar type of config option.
argh
clap
E.x. THETAWAVE_ARCADE_LIGHT_SERIAL_PORT_NAME=/dev/tty4 ./thetawave
THETAWAVE_ARCADE_LIGHT_SERIAL_PORT_NAME=/dev/tty4 ./thetawave
This is all so that you don't need to edit the source code on arcade machine/ensures that we can deploy the exact code that we test.
We need to automate detecting this later or hoist this further to a CLI, but this is better than what we have right now. I think we will use a CLI with
argh
orclap
to do some config options. #91 also uses a similar type of config option.E.x.
THETAWAVE_ARCADE_LIGHT_SERIAL_PORT_NAME=/dev/tty4 ./thetawave
This is all so that you don't need to edit the source code on arcade machine/ensures that we can deploy the exact code that we test.