CliCommandBuilderAddAlias(Option, String) Method

Adds an alias to an option. Tracks used aliases and only adds if not already used.

Definition

Namespace: DotMake.CommandLine
Assembly: DotMake.CommandLine (in DotMake.CommandLine.dll) Version: 2.3.0
C#
public void AddAlias(
	Option option,
	string alias
)

Parameters

option  Option

[Missing <param name="option"/> documentation for "M:DotMake.CommandLine.CliCommandBuilder.AddAlias(System.CommandLine.Option,System.String)"]

alias  String

[Missing <param name="alias"/> documentation for "M:DotMake.CommandLine.CliCommandBuilder.AddAlias(System.CommandLine.Option,System.String)"]

See Also