add user assign config, -c -config

This commit is contained in:
2019-12-14 23:32:00 +08:00
parent dc1ab83d28
commit 795ff60e3e
2 changed files with 23 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ use rust_util::{
util_msg::*,
};
use oss_util::*;
// use config_util::*;
use config_util::*;
// use pgp_util::OpenPGPTool;
use opt::{
Options,
@@ -44,7 +44,8 @@ fn main() -> XResult<()> {
// let openpgp_client = OpenPGPTool::from_file("sample.gpg")?;
// openpgp_client.encrypt_file("a", "b.asc", true)?;
// let config_json = get_config_json();
let config_json = get_config_json(None); // TODO
// let j = config_json.unwrap();
// println!("{}", j);
// let c = parse_config(&j);