using System; using HeuristicLab.CommandLineInterface.Core; namespace HeuristicLab.CommandLineInterface { /// /// The option attribute identifies properties as option. /// [AttributeUsage(AttributeTargets.Property)] public class OptionAttribute : CLIBaseAttribute { /// /// An optional shortcut of the option. Takes the '-' prefix. For example: '-o'. /// public string Shortcut { get; set; } /// /// Set this to true to get a required option, which has always to be set from the user. /// public bool Required { get; set; } = false; } }