-
Notifications
You must be signed in to change notification settings - Fork 6
Expose bin_path after parsing #139
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
base: main
Are you sure you want to change the base?
Conversation
Hi @tertsdiepraam |
Hi @tertsdiepraam The bin name is exposed as Additionally, when a user developing with If you have any further concern, I am happy to work on it. 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! Looks good!
There are some things we should probably think about after this change. Maybe it makes sense to not return a tuple but a struct like this:
struct Parsed<S> {
bin_name: PathBuf,
operands: Vec<OsString>,
settings: S,
}
Happy to accept this PR as it is too, but if you agree we can still make that change here.
fea86bd
to
fdf3599
Compare
Hi, @tertsdiepraam The If there is anything better to have, I am happy to add it into the PR. 😃 |
Hi, @tertsdiepraam Does anything need to change in the PR? |
fix #137