pub fn view_logs(log_name: &str, tail_args: &[String]) -> Result<()>Expand description
View service logs.
log_name corresponds to the {log_name}.log file under ~/.crabtalk/logs/.
Extra args (e.g. -f, -n 100) are passed through to tail on Unix.
On Windows (or if tail is unavailable), falls back to reading the file natively.
Defaults to showing the last 50 lines if no extra args are given.