-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIgh-configrelating to the gh config commandrelating to the gh config commandhelp wantedContributions welcomeContributions welcome
Description
Describe the feature or problem you’d like to solve
In addition to default values, having allowed values documented would be more helpful and comprehensive.
https://cli.github.com/manual/gh_config

Related to
Proposed solution
Document allowed values.
Additional context
Lines 544 to 579 in 541ce0e
| func ConfigOptions() []ConfigOption { | |
| return []ConfigOption{ | |
| { | |
| Key: gitProtocolKey, | |
| Description: "the protocol to use for git clone and push operations", | |
| DefaultValue: "https", | |
| AllowedValues: []string{"https", "ssh"}, | |
| }, | |
| { | |
| Key: editorKey, | |
| Description: "the text editor program to use for authoring text", | |
| DefaultValue: "", | |
| }, | |
| { | |
| Key: promptKey, | |
| Description: "toggle interactive prompting in the terminal", | |
| DefaultValue: "enabled", | |
| AllowedValues: []string{"enabled", "disabled"}, | |
| }, | |
| { | |
| Key: pagerKey, | |
| Description: "the terminal pager program to send standard output to", | |
| DefaultValue: "", | |
| }, | |
| { | |
| Key: httpUnixSocketKey, | |
| Description: "the path to a Unix socket through which to make an HTTP connection", | |
| DefaultValue: "", | |
| }, | |
| { | |
| Key: browserKey, | |
| Description: "the web browser to use for opening URLs", | |
| DefaultValue: "", | |
| }, | |
| } | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIgh-configrelating to the gh config commandrelating to the gh config commandhelp wantedContributions welcomeContributions welcome
Type
Fields
Give feedbackNo fields configured for issues without a type.