Skip to content

Move appropriate CommandLineBuilder methods to properties on CommandLineConfiguration #1922

Closed

Description

@jonsequitur
        // Technically "cancel" is a verb, but I feel like the method is actually implying "Set" as the main verb and CancelOnProcessTermination is what the property would be called.
        // So, consider making this a property instead of a method when moving it.
        public static CommandLineBuilder CancelOnProcessTermination(this CommandLineBuilder builder);
        // These Enables also look like properties.
        public static CommandLineBuilder EnableDirectives(this CommandLineBuilder builder, bool value = True);
        public static CommandLineBuilder EnableLegacyDoubleDashBehavior(this CommandLineBuilder builder, bool value = True);
        public static CommandLineBuilder EnablePosixBundling(this CommandLineBuilder builder, bool value = True);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions