LinuxCommandLibrary

gh-formatting

display output formatting documentation

TLDR

View formatting help

$ gh formatting
copy

SYNOPSIS

gh formatting

DESCRIPTION

gh formatting displays comprehensive help about GitHub CLI output formatting capabilities. It documents the template syntax for customizing output, JSON output modes for machine-readable data, and field selection options.
Many gh commands support the --json flag to output structured data that can be processed by tools like jq. Template formatting uses Go template syntax to create custom output layouts. The --jq flag provides direct integration with jq for JSON filtering.
Understanding formatting options is essential for integrating gh into scripts and automated workflows.

SEE ALSO

gh(1), gh-help(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community