mirror of
https://github.com/dkhamsing/open-source-ios-apps.git
synced 2024-11-23 21:34:39 +03:00
[script] Create list category
This commit is contained in:
parent
2837e185ef
commit
c777aca9df
9
.github/category_list.rb
vendored
Normal file
9
.github/category_list.rb
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
require 'json'
|
||||
|
||||
c = File.read 'contents.json'
|
||||
j = JSON.parse c
|
||||
|
||||
c = j['categories']
|
||||
|
||||
c.sort_by { |h| h['title']}
|
||||
.each { |x| puts x['id']}
|
Loading…
Reference in New Issue
Block a user