Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.51 KB

File metadata and controls

55 lines (36 loc) · 1.51 KB

GitHub v3 REST API

Auto-generated Go CLI covering 1112 endpoints for GitHub's v3 REST API. Built from the OpenAPI spec using climate.

Install

go install github.com/disk0Dancer/github@latest

Or install climate and generate locally:

brew tap disk0Dancer/tap && brew install climate
climate generate --name github <openapi-spec-url>

Usage

github --help
github <group> <operation> [flags] --output=json

Command groups

actions, activity, apps, billing, checks, code-scanning, codes-of-conduct, emojis, dependabot, dependency-graph, gists, git, gitignore, issues, licenses, markdown, merge-queue, meta, migrations, oidc, orgs, packages, pulls, rate-limit, reactions, repos, search, secret-scanning, teams, users, codespaces, copilot, security-advisories, interactions, classroom, desktop, enterprise-teams, enterprise-team-memberships, enterprise-team-organizations, code-security, private-registries, hosted-compute, credentials, campaigns, projects, agent-tasks

Explore any group:

github <group> --help

Release

Push a tag to trigger the release workflow:

git tag v0.1.0
git push origin v0.1.0

Links

  • climate — the generator that built this CLI

Generated with climate by @disk0Dancer