Skip to content

Add ability to skip options with default values for UnParserSettings #541

@MichaelMankiewicz

Description

@MichaelMankiewicz

I have many command line parameters with default values in most of them. My app generates .bat file to run itself with parameters which passed to it's main instance. Now Parser.Default.FormatCommandLine makes long string with all parameters, most of which has default values and can be omitted.
I want to be able to set UnParserSettings to skip parameters that has default values when I use it as
FormatCommandLine action's parameter. Is it possible?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions