Skip to content

Add public functions for creating bus command lines options #1949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2025

Conversation

zariiii9003
Copy link
Collaborator

Currently downstream packages need their own logic to configure python-can buses. With add_bus_arguments() they can just add our options to their argparse.ArgumentParser.

This also enables setup of multiple bus instances from command line via prefixes (may be helpful for #1923).

@zariiii9003 zariiii9003 merged commit 3b75c33 into hardbyte:main Jun 6, 2025
62 of 84 checks passed
@zariiii9003 zariiii9003 deleted the cli-api branch June 6, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant