Forrest logo
back to the gh tool

gh-issue:tldr:f97f0

gh-issue: List closed issues made by a specific user.
$ gh issue list --state closed --author ${username}
try on your machine

The command "gh issue list --state closed --author ${username}" is a command-line command using the GitHub CLI (Command Line Interface) tool. It retrieves a list of closed issues from a repository where the specified user is the author.

Let's break down the command:

  • "gh": It refers to the GitHub CLI command-line tool used to interact with GitHub repositories and perform various operations.

  • "issue list": This is a subcommand of the GitHub CLI tool that lists issues from a repository.

  • "--state closed": It is an option provided to the "issue list" command, specifying that only closed issues should be displayed. This narrows down the list of issues to those that are in the closed state.

  • "--author ${username}": This option filters the list to show only the issues created by the specified username. You need to replace "${username}" with the actual GitHub username you want to search for.

By executing this command, you will obtain a list of closed issues in the specified repository where the provided username is the author of those issues.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the gh tool