pull/43/head
hahwul 2022-08-15 22:35:02 +09:00
parent 105282ca5c
commit 25591fad6d
1 changed files with 2 additions and 3 deletions

View File

@ -5,17 +5,16 @@ data_hash = JSON.parse(file)
data_hash.each do | name, obj | data_hash.each do | name, obj |
puts "filename: "+name+".yaml" puts "filename: "+name+".yaml"
puts obj['Description']
# Make object # Make object
obj = {} obj = {}
obj['name'] = name obj['name'] = name
obj['description'] = obj['Description'] obj['description'] = obj['Description']
obj['url'] = '' # parse DATA obj['url'] = '' # parse DATA
obj['categories'] = [] obj['category'] = 'tool'
obj['types'] = [] obj['types'] = []
obj['lang'] = [] # parse DATA obj['lang'] = [] # parse DATA
obj['tags'] = [] obj['tags'] = []
# Save file # Save file
end end