Building a CLI for Firmware Projects using Invoke | Interrupt

If I was starting from scratch today, I would use Click and just create some convenience wrappers around subprocess. Click offers more advanced documentation features, argument and option parsing, and nice formatting options. The draw of Invoke is that it has a very easy interface for running shell commands, but it’s not necessarily more difficult than subprocess.

1 Like