#[allow(clippy::wildcard_imports)]
use super::*;
/// The `tix mentions` verbs.
///
/// `list` and `show` are read-only. `read` is the one mutating answer; `ignore` is
/// deliberately the **absence** of a write, which is what makes the mention show
/// again the next time the issue is opened.
#[derive(Subcommand)]
pub enum MentionsAction {
/// List the mentions pending for you
List,
/// Print one mention in full
Show {
/// Mention id, as shown by `tix mentions list`
id: String,
},
/// Mark a mention read, so it is never shown again
Read {
/// Mention id, as shown by `tix mentions list`
id: String,
},
/// Leave a mention pending (writes nothing; it shows again later)
Ignore {
/// Mention id, as shown by `tix mentions list`
id: String,
},
/// Print where a mention sits in its issue
Jump {
/// Mention id, as shown by `tix mentions list`
id: String,
},
}