- added command-line arguments parser - support for "-n" that updates source file with new version
17 lines
436 B
C#
17 lines
436 B
C#
using CommandLine;
|
|
|
|
namespace ReleasePackagingTool
|
|
{
|
|
class CmdLineOptions
|
|
{
|
|
[Option('n', "new-version", HelpText = "Prepares new version")]
|
|
public string PrepareNewVersion { get; set; }
|
|
|
|
[Option('p', "root-path", HelpText = "Root path to project folder")]
|
|
public string RootPath { get; set; }
|
|
|
|
[Option('s', "skip-package", HelpText = "When true skips preparing the package")]
|
|
public bool SkipPackage { get; set; }
|
|
}
|
|
}
|