Skip to content

Instantly share code, notes, and snippets.

View krzyskk's full-sized avatar

Krzysztof K krzyskk

  • Kraków
View GitHub Profile
@krzyskk
krzyskk / issues.rb
Created March 3, 2020 09:35 — forked from noahd1/issues.rb
Example Code Climate API usage in Ruby
#!/usr/bin/env ruby
## Usage: ./issues.rb REPO_ID [BRANCH]
#
# Outputs CSV formatted list of all issues from most recent snapshot
# of the repo specified. Pipe STDOUT to a file to save to a file.
#
# Branch defaults to "master" if not specified.
#
# e.g. ./issues.rb 5017075af3ea000dc6000740