From aa61185828bc66a14ef3ce4177b47e00346fede1 Mon Sep 17 00:00:00 2001 From: eneller Date: Fri, 28 Feb 2025 00:23:59 +0100 Subject: [PATCH] gh alias for social preview --- .config/gh/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/gh/config.yml b/.config/gh/config.yml index 43b2b01..685d670 100644 --- a/.config/gh/config.yml +++ b/.config/gh/config.yml @@ -13,6 +13,7 @@ aliases: co: pr checkout upload: '!gh-upload' clone: repo clone + social-image: "api graphql -f query='query ($owner: String!, $name: String!) {repository(owner: $owner, name: $name) {openGraphImageUrl} }' -F owner='{owner}' -F name='{repo}' --jq '.data.repository.openGraphImageUrl'" # The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport. http_unix_socket: # What web browser gh should use when opening URLs. If blank, will refer to environment.