turbot / steampipe-plugin-github

Use SQL to instantly query repositories, users, gists and more from GitHub. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/github
Apache License 2.0
74 stars 29 forks source link

Added support for Github OAuth Access token Closes #431 #432

Closed ParthaI closed 5 months ago

ParthaI commented 6 months ago

Example query results

Results ``` Add example SQL query results here (please include the input queries as well) ```
HikaruEgashira commented 5 months ago

This change work correctly!

❯ GITHUB_TOKEN=$(gh auth token) steampipe query                           
Welcome to Steampipe v0.22.2
For more information, type .help
> select
  name,
  primary_language -> 'name' as language,
  fork_count,
  stargazer_count
from
  github_my_repository;
+----------------------------------------------------+---------------------+------------+-----------------+
| name                                               | language            | fork_count | stargazer_count |
+----------------------------------------------------+---------------------+------------+-----------------+
| xxxxxxxxxx                                         | "xxxxxxxxxxxx"      | x          | x               |
image
ParthaI commented 5 months ago

Thank you @HikaruEgashira for the confirmation!