gh

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package gh provides primitives for invoking the GitHub CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGraphQLRoundTripper

func NewGraphQLRoundTripper() http.RoundTripper

NewGraphQLRoundTripper returns a http.RoundTripper that executes GraphQL queries through the GitHub CLI.

func Run

func Run(args ...string) (string, error)

Run the GitHub CLI with args. Returns the output from stdout when the invocation exits successfully.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL