valeriobelli / gh-milestone

GitHub CLI extension for managing Milestones
MIT License
54 stars 2 forks source link

List open issues and closed issues in json output #31

Open bernhold opened 6 months ago

bernhold commented 6 months ago

Describe the solution you'd like

It would be nice if the json output could include the count of open (and closed) issues for the milestone. That way, I could use it to identify milestones that can be safely closed (past due, with no open issues).

Describe alternatives you've considered

The progressPercentage field is not sufficient for this use case. A milestone with no open or closed issues will show 0 progress, as will one with a non-zero number of open issues but no closed issues. The former is safe to close, the latter is not.

Thanks for considering this.