Skip to main content

wifi_densepose_cli/
lib.rs

1//! WiFi-DensePose CLI
2//!
3//! Command-line interface for WiFi-DensePose system, including the
4//! Mass Casualty Assessment Tool (MAT) for disaster response.
5//!
6//! # Features
7//!
8//! - **mat**: Disaster survivor detection and triage management
9//! - **version**: Display version information
10//!
11//! # Usage
12//!
13//! ```bash
14//! # Start scanning for survivors
15//! wifi-densepose mat scan --zone "Building A"
16//!
17//! # View current scan status
18//! wifi-densepose mat status
19//!
20//! # List detected survivors
21//! wifi-densepose mat survivors --sort-by triage
22//!
23//! # View and manage alerts
24//! wifi-densepose mat alerts
25//! ```
26
27use clap::{Parser, Subcommand};
28
29pub mod mat;
30
31/// WiFi-DensePose Command Line Interface
32#[derive(Parser, Debug)]
33#[command(name = "wifi-densepose")]
34#[command(author, version, about = "WiFi-based pose estimation and disaster response")]
35#[command(propagate_version = true)]
36pub struct Cli {
37    /// Command to execute
38    #[command(subcommand)]
39    pub command: Commands,
40}
41
42/// Top-level commands
43#[derive(Subcommand, Debug)]
44pub enum Commands {
45    /// Mass Casualty Assessment Tool commands
46    #[command(subcommand)]
47    Mat(mat::MatCommand),
48
49    /// Display version information
50    Version,
51}