aboutsummaryrefslogtreecommitdiff
path: root/nerv/nerv
blob: e5943aaec0a212971e025a0115ea28de74d4ac53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env luajit
require 'nerv'
print("Greetings")
if #args < 1 then
    return
end
local script = args[1]
local script_arg = {}
for i = 2, #args do
    table.insert(script_arg, args[i])
end
args = script_arg
dofile(script)