Exemplo n.º 1
0
        public override Task RunAsync()
        {
            if (string.IsNullOrEmpty(ProxyName))
            {
                ColoredConsole
                .Error
                .WriteLine(ErrorColor("Command must specify --name explicitly."));
                return(Task.CompletedTask);;
            }

            _proxyManager.DeleteProxy(ProxyName);

            return(Task.CompletedTask);
        }