dusage 0.2.0

💾 A command line disk usage information tool. Disk usage percentage is displayed in a bar with the inode usage percentage as background.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use clap::ArgMatches;

use crate::reader::Reader;
use crate::writer::Writer;
pub struct Driver;

impl Driver {
    pub fn drive(args: ArgMatches) {
        let (stats, max_width) = Reader::read(&args);
        Writer::write(stats, max_width, args);
    }
}