Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Unparsing into string array #665

Copy link
Copy link
@buddhikac96

Description

@buddhikac96
Issue body actions

In the project I am working there is a method which need command line arguments as a string array which I can't change. So how to unparse into string array.
I can get a string by unparsing using var arguments = Parser.Default.FormatCommandLine(Program.cliOption).

But my argument will be something like this.
app install --path "c:/My folder/app" --validate = false

So if I use above workaround I can't use string.Split(' ') since it possible to contains spaces in file paths. So is there any workaround to get string array from the object?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.