1
0
mirror of https://github.com/dkhamsing/open-source-ios-apps.git synced 2025-01-03 03:59:27 +01:00

[script] create inspect [ci skip]

This commit is contained in:
dkhamsing 2016-05-12 07:35:44 -07:00
parent a82eadbba9
commit 5362c9110e

15
.github/inspect.rb vendored Normal file
View File

@ -0,0 +1,15 @@
require 'json'
require 'pp'
if ARGV.count == 0
puts "Usage: ruby inspect.rb <project number>"
exit
end
c = File.read 'contents.json'
j = JSON.parse c
projects = j['projects']
proj = ARGV[0].to_i
pp projects[proj]