hive-forge: add comments <number> [--json] [--limit] verb (closes #418)
This commit is contained in:
parent
502e9e0e70
commit
9ab241dc24
3 changed files with 66 additions and 0 deletions
|
|
@ -55,6 +55,8 @@ enum Verb {
|
|||
PrCreate(verbs::pr_create::Args),
|
||||
/// Post a comment on an issue or PR.
|
||||
Comment(verbs::comment::Args),
|
||||
/// List all comments on an issue or PR.
|
||||
Comments(verbs::comments::Args),
|
||||
/// Print the body (or full JSON) of a single comment by id.
|
||||
CommentShow(verbs::comment_show::Args),
|
||||
/// Edit an existing comment by id.
|
||||
|
|
@ -94,6 +96,7 @@ fn main() -> Result<()> {
|
|||
Verb::Pr(a) => verbs::pr::run(&client, a),
|
||||
Verb::PrCreate(a) => verbs::pr_create::run(&client, a),
|
||||
Verb::Comment(a) => verbs::comment::run(&client, a),
|
||||
Verb::Comments(a) => verbs::comments::run(&client, a),
|
||||
Verb::CommentShow(a) => verbs::comment_show::run(&client, a),
|
||||
Verb::CommentEdit(a) => verbs::comment_edit::run(&client, a),
|
||||
Verb::Assign(a) => verbs::assign::run(&client, a),
|
||||
|
|
|
|||
Loading…
Reference in a new issue