You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 2, 2023. It is now read-only.
I would like to capture unknown options for a tool, that will be sent to another tool that takes arbitrary parameters used in a script. Is this possible somehow?
Example
This is what invocation could look like:
> mytool.exe --verbosity diagnostic --unknown value1 value2 --unknownflag --hello world
Where --unknown value1 value2 --unknownflag --hello world are parameters sent to the script.
I understand that something like this might be out of scope for what you're building here, and I'm not even sure if the API that I've proposed makes any sense outside of my needs, but I thought I would ask.
If this is something that is of interest, I would be more than happy to provide a PR.
Activity
bricelam commentedon Oct 22, 2016
I want this too. Except it's probably enough just to retrieve them as
IEnumerable<string>--the same way they went in.CommandLine: Allow extra arguments (#987)