github_standards

command
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: MIT Imports: 16 Imported by: 0

README

GitHub Standards

This command returns all the repositories for the organsiation and team set that the GITHUB_ACCESS_TOKEN has access to. These are then converted into local struct and written to scsv file.

Generation

The command will generate a csv file (./data/github_standards.json):

env GITHUB_ACCESS_TOKEN=${GITHUB_TOKEN} go run main.go \
	-organisation ministryofjustice \
	-team opg
Upload

Upload the generated file by running:

aws-vault exec shared-development-operator -- aws s3 cp \
	--recursive ./data s3://report-data-development/github_standards \
	--sse AES256
Download
aws-vault exec shared-development-operator -- aws s3 sync s3://report-data-development/github_standards ./bucket-data

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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