started parsing of config file

This commit is contained in:
2024-12-09 22:53:13 +01:00
parent 61e3ded722
commit c27089124e
3 changed files with 20 additions and 7 deletions
+2 -4
View File
@@ -39,12 +39,10 @@ impl Stack {
}
/// clear stack by deleting the associated stack file
pub fn clear_stack(&mut self, config: &Config) -> Result<()> {
pub fn clear_stack(&mut self, _config: &Config) -> Result<()> {
fs::remove_file(self.path.clone())?;
print!(
"echo '{}stack cleared successfully.{}'",
"",
"" // TODO implement styling
"echo stack cleared successfully.'"
);
Ok(())
}