Table of Contents

CliNamePrefixConvention Enum

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Defines the prefix conventions to use for option names and aliases.

public enum CliNamePrefixConvention

Fields

Name Value Description
None 0

Option name is kept as it is (not prefixed).

SingleHyphen 1

Option name is prefixed with one hyphen (-) which is POSIX prefix convention, usually used for short form option aliases (e.g. -o or -option).

DoubleHyphen 2

Option name is prefixed with two hyphens (--) which is POSIX prefix convention, usually used for long form option names (e.g. --option).

ForwardSlash 3

Option name is prefixed with a forward slash (/) which is Windows prefix convention (e.g. /o or /option).