Skip to content
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

feat: add option for generate command to only generate allowed message ids #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aschiffmann
Copy link

@aschiffmann aschiffmann commented Jan 20, 2024

This PR adds an message ID list option to only compile particular messages:

generate <input-dir> <output-dir> [<allowed-message-ids>...]

Example:
generate dbcIn dbcOut 587 256

@aschiffmann aschiffmann marked this pull request as ready for review January 20, 2024 03:46
@aschiffmann aschiffmann requested a review from a team as a code owner January 20, 2024 03:46
Copy link
Member

@Jassob Jassob left a comment

Choose a reason for hiding this comment

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

Looks really good, could you please add some tests and rebase on current master?

cmd/cantool/main.go Outdated Show resolved Hide resolved
@Jassob Jassob added the cli Changes to the command-line interface label May 16, 2024
@aschiffmann aschiffmann requested a review from Jassob May 17, 2024 23:42
internal/generate/compile.go Outdated Show resolved Hide resolved
internal/generate/compile.go Outdated Show resolved Hide resolved
@Jassob
Copy link
Member

Jassob commented May 21, 2024

Please also rebase/fixup commits so that each commit forms one logical and coherent change, incorporate any fix/revert commits to the original commits.

Also we use Conventional Commits for our commit messages, please update your commits to conform :)

@Edholm Edholm removed the request for review from a team September 11, 2024 09:31
@aschiffmann aschiffmann changed the title Add message ID whitelist option feat: add option to 'generate' command to only generate allowed message ids Oct 27, 2024
@aschiffmann aschiffmann changed the title feat: add option to 'generate' command to only generate allowed message ids feat: add option to generate command to only generate allowed message ids Oct 27, 2024
@aschiffmann aschiffmann changed the title feat: add option to generate command to only generate allowed message ids feat: add option for generate command to only generate allowed message ids Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Changes to the command-line interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants