Add main entry points for main and admin CLIs#100
Merged
AlexJones0 merged 1 commit intolowRISC:masterfrom Feb 17, 2026
Merged
Conversation
This lets us also run the CLIs directly via Python by defining an explicit entry point to both CLIs if executed directly. Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
machshev
approved these changes
Feb 16, 2026
Collaborator
|
There isn't really any reason not to have this as far as I'm aware... |
Contributor
Author
|
I also use an editable package - I forget why I found them useful, I think it was because I made changes that broke DVSim as a whole, but it was still useful for me to be able to run the CLI with the errors and I was running into issues with the editable package? I don't particularly remember, maybe I just didn't have it configured as editable. Either way it will make the DVSim CLIs more flexible in general, so no harm 😅 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Not sure if there is any reason these were missing, but if there isn't then this PR introduces explicit main entry points to the two CLIs, allowing them to be run with Python directly. It can be helpful if making changes to DVSim and you want/need to run DVSim without rebuilding DVSim or using an editable package