diff options
Diffstat (limited to 'nerv/nerv')
-rw-r--r-- | nerv/nerv | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nerv/nerv b/nerv/nerv new file mode 100644 index 0000000..7571659 --- /dev/null +++ b/nerv/nerv @@ -0,0 +1,13 @@ +#! /usr/bin/env luajit +require 'nerv' +print("Greetings") +if #arg < 1 then + return +end +local script = arg[1] +local script_arg = {} +for i = 2, #arg do + table.insert(script_arg, arg[i]) +end +arg = script_arg +dofile(script) |