feat(komorebic): add log command

This commit adds a log command directly to the komorebic cli to make it
easier for users to check the logs if they don't have tail installed or
are not familiar with it.

A separate logfile with ANSI color codes is now being written to the
user's tempdir, which is tailed by the log command until the process is
halted by a Ctrl-C signal.
This commit is contained in:
LGUG2Z
2021-08-18 06:21:16 -07:00
parent 23aada05d0
commit 13b335cecc
4 changed files with 37 additions and 7 deletions
+1
View File
@@ -17,6 +17,7 @@ komorebi-core = { path = "../komorebi-core" }
clap = "3.0.0-beta.4"
color-eyre = "0.5"
dirs = "3"
fs-tail = "0.1"
paste = "1"
powershell_script = "0.2"
serde = { version = "1", features = ["derive"] }