Files
CliFx/CliFx/Attributes/CommandVersionOptionAttribute.cs
Tyrrrz a62ce71424 asd
2024-09-03 02:03:50 +03:00

20 lines
573 B
C#

namespace CliFx.Attributes;
/// <summary>
/// Binds a property to the version option of a command.
/// </summary>
/// <remarks>
/// This attribute is applied automatically by the framework and should not need to be used explicitly.
/// </remarks>
public class CommandVersionOptionAttribute : CommandOptionAttribute
{
/// <summary>
/// Initializes an instance of <see cref="CommandVersionOptionAttribute" />.
/// </summary>
public CommandVersionOptionAttribute()
: base("version")
{
Description = "Show application version.";
}
}