CheckCircuit – Rev 2

Subversion Repositories:
Rev:
using CommandLine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace CheckCircuitCode.CommandLine
{
    [Verb("connect", HelpText = "Connect to a tor instance.")]
    public class ConnectOptions
    {
        [Option('v', "verbose", Required = false, HelpText = "Set output to verbose messages.")]
        public bool Verbose { get; set; }

        [Option('p', "password", Required = true, HelpText = "The password to use after connecting to a tor control port.")]
        public string Password { get; set; }

        [Option('c', "connect", Required = true, HelpText = "The IP:PORT tuple to use to connect to a tor control port.")]
        public string Connect { get; set; }

        [Option('l', "listen", Required = true, HelpText = "The IP:PORT tuple to listen on for clients.")]
        public string Listen { get; set; }

        [Option('t', "timeout", Required = true, HelpText = "The timeout in seconds.")]
        public string Timeout { get; set; }
    }
}