displays a preset list of hosts and their response state Updates format of input file to CSV with <host ip>,<host name> as the format. UI now has red/green for down/up hosts duration_to_string now in lib improves display of how long ago change happened log events are now displayed on the monitoring page to show when a host comes up/goes down Modularize ui better Adds ability to return to monitoring or quit from editing page table in place for displaying hosts WIP: start of being able to go up/down through the list of hosts to eventually edit them.
10 lines
235 B
Rust
10 lines
235 B
Rust
use std::path::PathBuf;
|
|
use clap::Parser;
|
|
|
|
#[derive(Parser, Debug)]
|
|
#[command(version, about, long_about = None)]
|
|
pub struct AppSettings {
|
|
/// File of list of hosts
|
|
#[arg(short, long)]
|
|
pub ping_host_file: Option<PathBuf>,
|
|
} |