mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2024-12-27 17:02:39 +01:00
Merge branch 'inspect'
This commit is contained in:
commit
cc5d236758
15
.github/inspect.rb
vendored
Normal file
15
.github/inspect.rb
vendored
Normal 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]
|
Loading…
Reference in New Issue
Block a user