diff --git a/README.md b/README.md index fde8824..73b5dd0 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ Edit filesystem operations like it's plain text, and then apply them in a contro ```bash # Preview file tree and tags -noil . +noil . # Edit in your $EDITOR noil edit . diff --git a/assets/demo.gif b/assets/demo.gif new file mode 100644 index 0000000..608ea88 Binary files /dev/null and b/assets/demo.gif differ diff --git a/crates/noil/src/main.rs b/crates/noil/src/main.rs index 8fff82c..3f9d0db 100644 --- a/crates/noil/src/main.rs +++ b/crates/noil/src/main.rs @@ -109,7 +109,7 @@ async fn main() -> anyhow::Result<()> { write_changes(&noil_content).await?; - todo!() + //todo!() } Some(Commands::Fmt {}) => { let mut stdin = tokio::io::stdin(); @@ -224,12 +224,13 @@ async fn get_outputs(path: &Path, no_color: bool) -> anyhow::Result { let mut line = String::new(); write!( &mut line, - "{}{} : {}{}", + " {}{} : {}{}", { if no_color { prefix } else if let Some(suffix) = prefix.strip_prefix(individual_prefix) { - &format!("*{individual_prefix}*{suffix}") + //&format!("*{individual_prefix}*{suffix}") + &format!("{individual_prefix}{suffix}") } else { prefix }