mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-03 11:41:04 +02:00
15 lines
257 B
Rust
15 lines
257 B
Rust
|
use clap::Subcommand;
|
||
|
use serde::{Deserialize, Serialize};
|
||
|
use std::path::PathBuf;
|
||
|
|
||
|
#[derive(Subcommand, Debug, Serialize, Deserialize)]
|
||
|
#[serde(tag = "type")]
|
||
|
pub enum Command {
|
||
|
/// Return "ok"
|
||
|
Ping,
|
||
|
|
||
|
/// Open the GTK inspector
|
||
|
Inspect,
|
||
|
}
|
||
|
|