renamed config-parser and implemented the first set of functions for the

macro
extended and cleaned up format.rs and moved it into `config-parser`
some other bits and bobs
This commit is contained in:
2025-01-11 22:38:12 +01:00
parent 57dbafac3d
commit d20fd0d023
12 changed files with 119 additions and 59 deletions
+2 -3
View File
@@ -1,5 +1,4 @@
mod arguments;
mod format;
mod config;
mod bookmarks;
mod stack;
@@ -9,7 +8,7 @@ use arguments::*;
use clap::Parser;
use config::*;
use bookmarks::*;
use format::*;
use config_parser::format::*;
use stack::Stack;
use std::env::{current_dir, var};
use std::io::{Error, Result};
@@ -18,7 +17,7 @@ use std::str::FromStr;
fn main() -> Result<()> {
let style_error =
generate_style_sequence(Some(vec![STYLES.set.bold]), Some(COLORS.fg.red), None);
generate_style_sequence(Some(STYLES.set.bold), Some(COLORS.fg.red), None);
let args = match Arguments::try_parse() {
Ok(a) => a,
Err(e) => {