git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@625 52acb1d6-8a22-11de-b505-999d5b087335
34 lines
999 B
C#
34 lines
999 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
using CommandLine;
|
|
|
|
namespace libsecondlife.TestClient
|
|
{
|
|
public class Program
|
|
{
|
|
[Argument(ArgumentType.Required, HelpText="First name of the SL account to log in with.")]
|
|
public string FirstName;
|
|
|
|
[Argument(ArgumentType.Required, HelpText="Last name of the SL account to log in with.")]
|
|
public string LastName;
|
|
|
|
[Argument(ArgumentType.Required, HelpText="Password of the SL account to log in with.")]
|
|
public string Password;
|
|
|
|
[Argument(ArgumentType.AtMostOnce, HelpText="Full account name to recieve IM commands from.")]
|
|
public string MasterName;
|
|
|
|
static void Main(string[] args)
|
|
{
|
|
Program program = new Program();
|
|
CommandLine.Parser.ParseArgumentsWithUsage(args, program);
|
|
|
|
TestClient testTool = new TestClient(program.FirstName, program.LastName, program.Password);
|
|
testTool.Master = program.MasterName;
|
|
testTool.Run();
|
|
}
|
|
}
|
|
}
|