hive-forge: show + post/remove emoji reactions on issues, PRs, and comments
This commit is contained in:
parent
eb8387bd73
commit
2c45a9960f
9 changed files with 261 additions and 13 deletions
|
|
@ -42,6 +42,9 @@ enum Cmd {
|
|||
Assign(verbs::assign::Args),
|
||||
/// List / add / remove dependencies (issues this one is blocked by).
|
||||
Dependency(verbs::dependency::Args),
|
||||
/// List / add / remove emoji reactions on the issue, or on one of its
|
||||
/// comments with `--comment <id>`.
|
||||
Reaction(verbs::reaction::Args),
|
||||
/// List timeline events.
|
||||
Timeline(verbs::timeline::Args),
|
||||
}
|
||||
|
|
@ -85,6 +88,10 @@ pub fn run(client: &Client, args: Args) -> Result<()> {
|
|||
assert_kind(client, a.number, Kind::Issue)?;
|
||||
verbs::dependency::run(client, a)
|
||||
}
|
||||
Cmd::Reaction(a) => {
|
||||
assert_kind(client, a.number, Kind::Issue)?;
|
||||
verbs::reaction::run(client, a)
|
||||
}
|
||||
Cmd::Timeline(a) => {
|
||||
assert_kind(client, a.number, Kind::Issue)?;
|
||||
verbs::timeline::run(client, a)
|
||||
|
|
|
|||
Loading…
Reference in a new issue