use std::path::Path;
pub trait ConfigAble {
type Error;
fn new<T: AsRef<Path>>(path: T) -> T;
fn empty<T: AsRef<Path>>(path: T) -> Self;
fn create<T: AsRef<Path>>(path: T) -> anyhow::Result<(), Self::Error>;
fn to_string(&self) -> anyhow::Result<String>;
fn exit(&self) -> bool;
}