stephencelis/ghi

Support assigning multiple users

Open

#310 opened on May 30, 2016

View on GitHub
 (2 comments) (8 reactions) (0 assignees)Ruby (134 forks)github user discovery
featurehelp wanted

Repository metrics

Stars
 (2,122 stars)
PR merge metrics
 (PR metrics pending)

Description

Per https://github.com/blog/2178-multiple-assignees-on-issues-and-pull-requests, GitHub now supports multiple assignees (up to 10) for a given issue.

Currently, ghi supports assigning only one user, or at least supports assigning only one user at a time:

$ ghi open --help
    [...]
    -u, --[no-]assign [<user>]       assign to specified user

Suggested approach is to simply allow multiple <user> arguments to to the -u/--assign option, e.g.

$ ghi open --help
    [...]
    -u, --[no-]assign <user>...      assign to specified user(s)

Likewise, it would be important to support un-assigning each specified user when the --no-assign option is used.

Contributor guide