public int Execute() { var drivesToEnumerate = GetDrives(limitToType, excludeType); var driveSummary = new DriveSummary( drivesToEnumerate, humanReadable, humanReadableWithSi, posixFormat, printFileSystemType, customBlockSize, blockSize ); Console.Write(driveSummary.Render()); return 0; }
public int Execute() { var drivesToEnumerate = GetDrives(limitToType, excludeType); var driveSummary = new DriveSummary( drivesToEnumerate, humanReadable, humanReadableWithSi, posixFormat, printFileSystemType, customBlockSize, blockSize ); Console.Write(driveSummary.Render()); return(0); }