private static void RunForSingleFile(IBytesReader bytesReader, CmdOptions options) { Console.WriteLine( bytesReader .ReadBytes(options.Path) .Format(options.Separator, options.BytesSeparator)); }
public void Run() { Action <string> fileFunc = (string path) => Console.WriteLine( _bytesReader .ReadBytes(path) .Format(_separator, _bytesSeparator)); _fileWalker.Walk(fileFunc); }