Skip to content

Move appropriate CommandLineBuilder methods to properties on CommandLineConfiguration #1922

Closed
@jonsequitur

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);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions