Files
git-tfs/GitTfs/Commands/RemoteOptions.cs
2014-03-07 15:53:44 +01:00

39 lines
1007 B
C#

using System.ComponentModel;
using NDesk.Options;
using Sep.Git.Tfs.Util;
namespace Sep.Git.Tfs.Commands
{
using System;
[StructureMapSingleton]
public class RemoteOptions
{
public OptionSet OptionSet
{
get
{
return new OptionSet
{
{ "ignore-regex=", "A regex of files to ignore",
v => IgnoreRegex = v },
{ "except-regex=", "A regex of exceptions to '--ignore-regex'",
v => ExceptRegex = v},
{ "u|username=", "TFS username",
v => Username = v },
{ "p|password=", "TFS password",
v => Password = v },
};
}
}
public string IgnoreRegex { get; set; }
public string ExceptRegex { get; set; }
public string Username { get; set; }
public string Password { get; set; }
}
}