Added ratatui
This commit is contained in:
parent
ba8b12c727
commit
28483fe165
8 changed files with 559 additions and 14 deletions
|
|
@ -9,6 +9,7 @@ use api::UptimeKumaClient;
|
|||
use api::UptimeKumaEndpoints;
|
||||
mod core;
|
||||
mod data;
|
||||
mod ui;
|
||||
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(author, version, about)]
|
||||
|
|
@ -33,7 +34,7 @@ fn main() -> Result<()> {
|
|||
|
||||
let unified_data = unify_data(&status_page_data, &heartbeat_data);
|
||||
|
||||
println!("Title: {}", unified_data.status_page_title);
|
||||
println!("Title: {}", unified_data.title);
|
||||
|
||||
for monitor in unified_data.monitors {
|
||||
println!("Monitor ID: {}", monitor.monitor_info.id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue