Script pour obtenir une animation de la toile de confiance duniter.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
460 B

# command line program converting text files to lightgraph
push!(LOAD_PATH, pwd()) # add current directory to path
print("compiling... ")
using LightGraphExporter
if length(ARGS) == 0
folder = joinpath(pwd(), "output") # default output folder
elseif length(ARGS) >= 1
folder = joinpath(pwd(), ARGS[1]) # get source directory as first argument
LightGraphExporter.txt2lg(folder, 3600*24) # create lg files each day