rucksack 0.9.0

A terminal-based secrets manager, generator, and importer/exporter (Firefox, Chrome) backed with a concurrent hashmap
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use anyhow::Result;
use clap::ArgMatches;

use crate::app::App;
use crate::input::config::{Config, Opts};

pub fn re_init(_matches: &ArgMatches, app: &App) -> Result<()> {
    log::debug!(operation = "reinit"; "Re-initialising the rucksack configuration");
    Config::init(
        Opts::new()
            .file_name(app.inputs.rucksack.cfg_file.clone())
            .force(),
    )
}