Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / GitHub CLI configuration
Schema registry

GitHub CLI configuration

Global configuration for the GitHub CLI

**/gh/config.yml**/GitHub CLI/config.yml

Check your file against this schema

Opens the validator with this schema already loaded. Paste your **/gh/config.yml and it validates in your browser — nothing is uploaded.

Validate a **/gh/config.yml → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
$schemastringURI of the JSON Schema used to validate this configuration. https://json-schema.org/understanding-json-schema/reference/schema.html
versionintegerInternal GitHub CLI configuration format version. https://github.com/cli/cli/blob/v2.96.0/internal/config/config.go
default: 1
git_protocolstringProtocol to use for Git operations. https://cli.github.com/manual/gh_config
default: "https"
one of: "https", "ssh"
editorstring | nullText editor command used by GitHub CLI. https://cli.github.com/manual/gh_config
default: null
promptstringWhether interactive prompting is enabled. https://cli.github.com/manual/gh_config
default: "enabled"
one of: "enabled", "disabled"
prefer_editor_promptstringWhether GitHub CLI should prefer opening an editor instead of prompting in the terminal. https://cli.github.com/manual/gh_config
default: "disabled"
one of: "enabled", "disabled"
pagerstring | nullTerminal pager command used by GitHub CLI. https://cli.github.com/manual/gh_config
default: null
aliasesobject | nullGitHub CLI aliases, keyed by alias name with command expansions as values. https://cli.github.com/manual/gh_alias
http_unix_socketstring | nullPath to a Unix domain socket to use for HTTP connections. https://cli.github.com/manual/gh_config
default: null
browserstring | nullWeb browser command used to open URLs. https://cli.github.com/manual/gh_config
default: null
color_labelsstringWhether label colors are displayed using their RGB values. https://cli.github.com/manual/gh_config
default: "disabled"
one of: "enabled", "disabled"
accessible_colorsstringWhether the accessible four-bit color palette is enabled. https://cli.github.com/manual/gh_config
default: "disabled"
one of: "enabled", "disabled"
accessible_prompterstringWhether the accessible interactive prompter is enabled. https://cli.github.com/manual/gh_config
default: "disabled"
one of: "enabled", "disabled"
spinnerstringWhether terminal spinner animations are enabled. https://cli.github.com/manual/gh_config
default: "enabled"
one of: "enabled", "disabled"
telemetrystringTelemetry mode. The log mode writes telemetry events to stderr instead of sending them. https://cli.github.com/manual/gh_config
default: "enabled"
one of: "enabled", "disabled", "log"

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
constJSON Schema Validation, draft 2020-12§6.1.3 — "const"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
formatJSON Schema Validation, draft 2020-12§7 — Vocabularies for Semantic Content With "format"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"
format: "uri"RFC 3986 (STD 66)§3 — Syntax Components

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas