Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Nagy committed Apr 23, 2024
1 parent edb05aa commit 0db05af
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,18 @@
[![CI](https://github.com//ghtui-rs/workflows/CI/badge.svg)](https://github.com//ghtui-rs/actions)

A GitHub TUI

## Getting started

1. Clone the repo
2. Download the Github GraphQL schema to `src/github/schema.graphql` by running the following command:

```sh
curl -L https://docs.github.com/public/fpt/schema.docs.graphql -o src/github/github_schema.graphql
```

3. Generate a PAT token with read access to repos and pull requests
4. Run with `GITHUB_TOKEN=<your_pat> cargo run`
5. Press 'R' to refresh the list of repos
6. Navigate with arrow keys, or J and K
7. Press 'Enter' to view the selected Pull Request

0 comments on commit 0db05af

Please sign in to comment.