diff --git a/README.md b/README.md index 479ade7..e69de29 100644 --- a/README.md +++ b/README.md @@ -1,2 +0,0 @@ -# ponyfetch -🐎 Just a simple cross-platform neofetch for all the bronies out there. diff --git a/src/main.rs b/src/main.rs index 3bfb8c0..1b152b3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,18 @@ mod helpers; mod system; -struct Action<'a> { +pub enum ActionType { + HostInfo, + Delimiter, + Details +} + +pub struct Action<'a> { name: &'a str, func: fn() -> String, } -static ACTIONS: [Action; 8] = [ +const ACTIONS: [Action; 8] = [ Action { name: "Distro", func: system::host::get_distro,