Skip to content

Conversation

Rahix
Copy link
Contributor

@Rahix Rahix commented Aug 25, 2025

It is often useful to be able to directly specify a serial port and its settings from the commandline rather than having to select it in the GUI each time.

Add a CLI parser based on gumdrop to parse commandline arguments. The selected serial port is then immediately opened on startup.

@Rahix Rahix force-pushed the add-cli-parser branch 2 times, most recently from 7daf014 to c8619ed Compare August 25, 2025 20:42
@hacknus
Copy link
Owner

hacknus commented Aug 26, 2025

Cool, this is awesome! Could you maybe add a small doc to the README?

It is often useful to be able to directly specify a serial port and its
settings from the commandline rather than having to select it in the GUI
each time.

Add a CLI parser based on `gumdrop` to parse commandline arguments.  The
selected serial port is then immediately opened on startup.
@Rahix
Copy link
Contributor Author

Rahix commented Aug 27, 2025

Added documentation!

I also pushed another commit which adds CLI arguments to configure column labels and colors. This is also documented in the README.

Rahix added 4 commits August 27, 2025 19:48
Add two more CLI arguments, `--column` and `--color` which can be used
to set column labels and colors automatically.  For multiple columns,
these arguments can be specified multiple times.  For example:

	--column Raw --color 555555 --column Temperature --color ff8000

The color arguments are hex colors without a leading `#` sign.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops, sorry about that!

@hacknus hacknus merged commit 1770143 into hacknus:main Aug 29, 2025
2 checks passed
@hacknus
Copy link
Owner

hacknus commented Aug 29, 2025

Thanks a lot, this a really nice improvement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants