Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Add ghi lock and ghi unlock commands #313

Merged
merged 1 commit into from
Jul 3, 2016

Commits on Jun 22, 2016

  1. Add ghi lock and ghi unlock commands

    A while back, I [added support for locking and unlocking issues via the
    API](https://developer.github.com/changes/2016-02-11-issue-locking-api/).
    This underwent a lengthy preview period that, as of today, [is
    over](https://developer.github.com/changes/2016-06-22-issue-locking-api-is-now-official/).
    
    With the preview media type no longer required in the `Accept` header, I
    thought I'd go ahead and quickly add the commands `ghi lock` and `ghi
    unlock`. These are both fairly straightforward commands, though I did
    keep the `-m` option that's also present on `ghi close` to provide a
    comment before locking (or unlocking) the given issue.
    
    Signed-off-by: David Celis <me@davidcel.is>
    davidcelis committed Jun 22, 2016
    Configuration menu
    Copy the full SHA
    8ba70e5 View commit details
    Browse the repository at this point in the history