feat: Added a new command to the main managarr CLI: tail-logs, to enable users to tail the Managarr logs without needing to know where the log file itself is located

This commit is contained in:
2024-11-09 16:18:43 -07:00
parent 28f7bc6a4c
commit b6f5b9d08c
3 changed files with 74 additions and 2 deletions
+6
View File
@@ -27,6 +27,12 @@ pub enum Command {
#[arg(value_enum)]
shell: Shell,
},
#[command(about = "Tail Managarr logs")]
TailLogs {
#[arg(long, help = "Disable colored log output")]
no_color: bool,
},
}
pub trait CliCommandHandler<'a, 'b, T: Into<Command>> {