Skip to content

Commit c5cbdfb

Browse files
committed
Update Program.cs
1 parent 5c05cc4 commit c5cbdfb

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Program.cs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,25 @@ namespace GmodNET.VersionTool
55
{
66
class Program
77
{
8+
[Verb("SemVer", HelpText = "Get `SemVer 2.0.0` version string without build metadata.")]
89
class SemVerOptions
910
{
10-
11+
[Value(0, MetaName="path-to-version-file", Required=true, HelpText="Path to the *.version.json file at the root of git repository.")]
12+
public string VersionFilePath { get; set; }
1113
}
1214

13-
class AseemblyVerOptions
15+
[Verb("AssemblyVer", HelpText = "Get .NET-like assembly version string.")]
16+
class AssemblyVerOptions
1417
{
15-
18+
[Value(0, MetaName="path-to-version-file", Required=true, HelpText="Path to the *.version.json file at the root of git repository.")]
19+
public string VersionFilePath { get; set; }
1620
}
1721

22+
[Verb("FullVer", HelpText = "Get `SemVer 2.0.0` with additioanl metadata version string.")]
1823
class FileVerOptions
1924
{
20-
25+
[Value(0, MetaName="path-to-version-file", Required=true, HelpText="Path to the *.version.json file at the root of git repository.")]
26+
public string VersionFilePath { get; set; }
2127
}
2228

2329
static void Main(string[] args)

0 commit comments

Comments
 (0)