CheckCircuit – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 using CommandLine.Text;
2 using CommandLine;
3 using System;
4 using System.Collections.Generic;
5 using System.Linq;
6 using System.Text;
7 using System.Threading.Tasks;
8 using System.Net;
9  
10 namespace CheckCircuit.CommandLine
11 {
12 [Verb("connect", HelpText = "Connect to a tor instance.")]
13 public class ConnectOptions
14 {
15 [Option('v', "verbose", Required = false, HelpText = "Set output to verbose messages.")]
16 public bool Verbose { get; set; }
17  
18 [Option('p', "password", Required = true, HelpText = "The password to use after connecting to a tor control port.")]
19 public string Password { get; set; }
20  
21 [Option('c', "connect", Required = true, HelpText = "The IP:PORT tuple to use to connect to a tor control port.")]
22 public string Connect { get; set; }
23  
24 [Option('l', "listen", Required = true, HelpText = "The IP:PORT tuple to listen on for clients.")]
25 public string Listen { get; set; }
26 }
27 }