PeanutButter
Loading...
Searching...
No Matches
PeanutButter.EasyArgs.Attributes Namespace Reference

Classes

class  AllowDefaultFromEnvironment
 Sets the default value for a parsed argument. More...
class  AllowDefaultsFromEnvironment
 Allows defaults for all options on the options object to be overridden from environment variables. More...
class  CopyrightAttribute
 Adds more information to the help screen, as a footer. More...
class  DefaultAttribute
 Sets the default value for a parsed argument. More...
class  DescriptionAttribute
 Sets the description for a parsed argument or the header help text for the group of parsed arguments. More...
class  DisableGeneratedShortNameAttribute
 disables automatic short-name generation for a switch More...
class  ExistingFileAttribute
 Verify that the provided path is an existing file. More...
class  ExistingFolderAttribute
 Verify that the provided path is an existing file. More...
class  IgnoreAttribute
 Decorate properties with this to make EasyArgs ignore them eg if you have some configuration that could come from the CLI on an object where other config is loaded, eg, from an ini file. More...
class  LongNameAttribute
 Explicitly sets the long name for a parsed argument If you had an option property like "RemoteServer", the default long name would be "remote-server", which could be reached on the cli via "--remote-server". Override this here. More...
class  MaxAttribute
 Decorate a property with this to specify a minimum value for the property. More...
class  MinAttribute
 Decorate a property with this to specify a minimum value for the property. More...
class  MoreInfoAttribute
 Adds more information to the help screen, as a footer. More...
class  NumericAttribute
 Attribute specifying a required numeric value. More...
class  ObjectAttribute
 Stores an arbitrary object. More...
class  RequiredAttribute
 Marks an option as required. More...
class  ShortNameAttribute
 Explicitly sets the short name for a parsed argument If you had an option property like "RemoteServer", the default long name would be "r", which could be reached on the cli via "-r" or "-R", depending on if another property starting with "r" was found before RemoteServer. Override this here. More...
class  StringAttribute
 Stores an arbitrary string. More...