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:
+2
-3
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user