6M4YFQEBKKTUYSEOAJQPAGLD2LVV3PY62SPMP7PUKJ64S7XGH4SQC
/// the file path of the `pijul` executable
#[argh(option, default = "\"pijul\".to_string()")]
/// the file system path of the `pijul` executable
#[argh(option, default = "\"pijul\".into()")]
// TODO argh does not support OS strings:
// https://github.com/google/argh/blob/f02f6b44444b340a553ff2db298744721ebc77a7/argh/src/lib.rs#L698
// -> use raw std::env::args_os?:
// https://doc.rust-lang.org/std/env/fn.args_os.html
//exe_path: PathBuf,
/// the file system path of the pijul repository (i.e., the directory containing the `.pijul` folder)
#[argh(option)]
// TODO argh does not support OS strings:
// https://github.com/google/argh/blob/f02f6b44444b340a553ff2db298744721ebc77a7/argh/src/lib.rs#L698
// -> use raw std::env::args_os?:
// https://doc.rust-lang.org/std/env/fn.args_os.html
// repo_path: Option<PathBuf>,
repo_path: Option<String>,
}
fn path_to_uistr(path: PathBuf) -> SharedString {
format!("{:?}", path).into()