feat(logs): implement streaming logs with follow option

This commit is contained in:
hdbg
2025-12-06 20:22:43 +01:00
parent 676c53fabb
commit c6929255e3
4 changed files with 71 additions and 48 deletions

View File

@@ -43,7 +43,10 @@ pub enum ControlCommands {
/// Status of instance
Status,
/// View logs produced by postgres
Logs { follow: bool },
Logs {
#[arg(short, long, default_value = "false")]
follow: bool,
},
/// (Sensitive) get connection details
Connection {
#[arg(short, long, default_value = "dsn")]