barad-dur 0.18.0

The all-seeing repository analyzer
Documentation
1
2
3
4
5
6
7
8
9
10
use anyhow::Result;
use std::path::PathBuf;

use crate::cli::InitArgs;
use crate::init;

pub fn run_init(args: InitArgs) -> Result<()> {
    let target = PathBuf::from(&args.target);
    init::run_init(&target, args.force, args.interactive)
}