sourceatlas 0.1.1

Analyze source code repositories and generate project statistics
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::command::Command;

pub struct Config {
    pub command: Command,
}

impl Config {
    pub fn parse(args: &[String]) -> Result<Self, String> {
        let command = Command::parse(args)?;

        Ok(Self { command })
    }
}