Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
11
scripts/lua/commands/init.lua
Normal file
11
scripts/lua/commands/init.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
M = {}
|
||||
|
||||
function M.something()
|
||||
local io = require("io")
|
||||
local output = io.popen("ls"):read("a*")
|
||||
print(output)
|
||||
|
||||
print("hello-world!")
|
||||
end
|
||||
|
||||
return M
|
@@ -2,4 +2,4 @@
|
||||
|
||||
export $(cat .env | xargs)
|
||||
|
||||
cargo sqlx migrate add --source como_infrastructure/migrations $name
|
||||
cargo sqlx migrate add --source como_infrastructure/migrations $NAME
|
||||
|
5
scripts/test.lua
Normal file
5
scripts/test.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
print("from test")
|
||||
|
||||
local init = require("commands")
|
||||
|
||||
init.something()
|
Reference in New Issue
Block a user