pub mod github;
use std::path::Path;
pub fn get_plugin_dir<P: AsRef<Path>>(avalanche_bin: P) -> String {
let parent_dir = avalanche_bin.as_ref().parent().unwrap();
String::from(
parent_dir
.join(Path::new("plugins"))
.as_path()
.to_str()
.unwrap(),
)
}