Skip to content

Make sgh api look much more like gh#40

Merged
Ultramann merged 20 commits intomainfrom
update-sgh
Apr 27, 2026
Merged

Make sgh api look much more like gh#40
Ultramann merged 20 commits intomainfrom
update-sgh

Conversation

@Ultramann
Copy link
Copy Markdown
Owner

@Ultramann Ultramann commented Apr 25, 2026

This PR lays the groundwork for building out sgh to have close parity with gh. In particular it

  • fixes hack to get pr/issue count by using the search api
  • adopts gh's subcommand naming and information outputted for existing functionality
  • stops calling the api twice one for auth checking, by implementing auth error parsing on the single api call
  • adds a function to format data as a table
  • adds json output flag, --json, implemented with new graphql query generation and running

@Ultramann Ultramann changed the title Update sgh Prepare sgh for gh parity work Apr 26, 2026
@Ultramann Ultramann changed the title Prepare sgh for gh parity work Make sgh api look much more like gh Apr 27, 2026
@Ultramann Ultramann merged commit ec71c9b into main Apr 27, 2026
1 check passed
@Ultramann Ultramann deleted the update-sgh branch April 27, 2026 00:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant