Forrest logo
back to the gh tool

gh-config:tldr:d51da

gh-config: Disable interactive prompts.
$ gh config set prompt ${disabled}
try on your machine

This command is used in the context of GitHub CLI (command-line interface) and it sets the value of the prompt configuration key to ${disabled}.

The gh config command is used to configure various settings and options for the GitHub CLI. In this case, the set prompt portion of the command indicates that we want to set the value of the prompt configuration key.

The ${disabled} term is called a template string or variable interpolation. In this case, ${disabled} is a placeholder that represents a disabled prompt or an empty prompt. By setting the prompt configuration key to ${disabled}, it tells the GitHub CLI not to display any prompt or disable the prompt feature.

This command can be useful when you want to automate and script GitHub CLI actions without pausing for user prompts.

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