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

Add public API for escaping command line arguments #69

Open
madelson opened this issue Mar 27, 2020 · 0 comments
Open

Add public API for escaping command line arguments #69

madelson opened this issue Mar 27, 2020 · 0 comments

Comments

@madelson
Copy link
Owner

MedallionShell auto-escapes, but sometimes you need nested escaping (e. g. #68 (comment)).

API might look like:

class Command
{
   static string EscapeArguments(IEnumerable<string> args, OSPlatform? platform = null)
}

One downside to this is that people might get confused and think they need to call this all the time when 99% of the time they don't need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant