Example #1
0
        public static void Main()
        {
            _messages = new List<Message>();
            _userNameToFollowed = new Dictionary<string, List<string>>();
            _parser = new CommandParser();

            while (ShouldNotQuit())
            {
                var userInput = Console.ReadLine();
                _command = _parser.Parse(userInput);
                _command.ExecuteUsing(_messages, _userNameToFollowed);
            }
        }