gh-repo-autolink-view(1)

gh-repo-autolink-view1

View an autolink reference

Usage

gh repo autolink view <id> [flags]

Overview

View an autolink reference for a repository.

Options

-q, --jq <expression>

Filter JSON output using a jq expression

--json <fields>

Output JSON with the specified fields

-t, --template <string>

Format JSON output using a Go template; see "gh help formatting"

Options inherited from parent commands

-R, --repo <[HOST/]OWNER/REPO>

Select another repository using the [HOST/]OWNER/REPO format

Json fields

id, isAlphanumeric, keyPrefix, urlTemplate

Exit status

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

From github-cli 2.103.3-1 in Arch Linux 2026-11-07. Parsed by carta from the page's man source.