hey_cli_common/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct CliPrompt {
    pub value: String,
}

#[derive(Serialize, Deserialize, Debug)]
pub struct GetCliPromptResponse {
    pub prompt: CliPrompt,
}

#[derive(Deserialize, Debug)]
pub struct GetCliPromptRequestQuery {
    pub q: String,
}