steampipe-plugin-github

command module
v0.38.0 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

image

GitHub Plugin for Steampipe

Quick start

Install the plugin with Steampipe:

steampipe plugin install github

Configure the plugin using the configuration file:

vi ~/.steampipe/github.spc

Or environment variables:

export GITHUB_TOKEN=ghp_YOURTOKENHERE

Start Steampipe:

steampipe query

Run a query:

select
  name,
  language,
  forks_count,
  stargazers_count
from
  github_my_repository;

Developing

Prerequisites:

Clone:

git clone https://github.com/turbot/steampipe-plugin-github.git
cd steampipe-plugin-github

Build, which automatically installs the new version to your ~/.steampipe/plugins directory:

make

Configure the plugin:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/github.spc

Try it!

steampipe query
> .inspect github

Further reading:

Contributing

Please see the contribution guidelines and our code of conduct. Contributions to the plugin are subject to the Apache 2.0 open source license. Contributions to the plugin documentation are subject to the CC BY-NC-ND license.

help wanted issues:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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