예제 #1
0
        private async Task ExecuteConsoleCommandFileRemove(Options options)
        {
            var fileRemoveCommand = new FileRemoveCommand(options);
            await _mediator.Send(fileRemoveCommand);

            LogInformationMessage($"File \"{fileRemoveCommand.FilePath}\" has been removed");
            _consolePrinter.PrintFileRemovedSuccessful(fileRemoveCommand.FilePath);
        }