🎚️Command Switch Information
How can we modify the behavior of a command?
For SwitchInfo
instances, consult the below constructors to create an array of SwitchInfo
instances when defining your commands:
public SwitchInfo(string Switch, string HelpDefinition)
public SwitchInfo(string Switch, string HelpDefinition, SwitchOptions options)
public SwitchInfo(string Switch, string HelpDefinition, bool IsRequired = false, bool ArgumentsRequired = false, string[] conflictsWith = null, int optionalizeLastRequiredArguments = 0)
Last updated