pars 0.2.4

A tool to get list of functions in a python file
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::cli::Cli;

#[derive(Debug)]
pub struct Config {
    pub enable_cache: bool,
}

impl From<&Cli> for Config {
    fn from(cli: &Cli) -> Self {
        Self {
            enable_cache: !cli.no_cache,
        }
    }
}