예제 #1
0
        public async Task RunAsync(string[] args, CancellationToken cancellationToken)
        {
            var filePath = string.Empty;

            if (args.Length > 0)
            {
                filePath = args[0];
            }

            filePath = _runService.GetInputFilePath(filePath);
            var fileContents = await _runService.GetFileContents(filePath);

            fileContents = _runService.CleanContents(fileContents);
            _runService.ValidateContents(fileContents);
        }