Compare commits
1 Commits
feat/with-
...
feat/with-
Author | SHA1 | Date | |
---|---|---|---|
64019e5fba
|
12
cuddle.yaml
12
cuddle.yaml
@@ -20,18 +20,14 @@ scripts:
|
|||||||
type: shell
|
type: shell
|
||||||
new_migration:
|
new_migration:
|
||||||
type: shell
|
type: shell
|
||||||
description: "creates a new migration in `como_infrastructure` with the given name prefixed with a date"
|
|
||||||
args:
|
args:
|
||||||
name:
|
name:
|
||||||
type: "flag"
|
type: "env"
|
||||||
name: "name"
|
key: "name"
|
||||||
description: "the name of the migration"
|
|
||||||
required: true
|
|
||||||
"sqlx:prepare":
|
"sqlx:prepare":
|
||||||
type: shell
|
type: shell
|
||||||
|
|
||||||
"deploy":
|
"deploy":
|
||||||
type: shell
|
type: shell
|
||||||
|
|
||||||
"test":
|
"test":
|
||||||
type: lua
|
type: "rhai"
|
||||||
|
description: "something"
|
||||||
|
@@ -1,11 +0,0 @@
|
|||||||
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)
|
export $(cat .env | xargs)
|
||||||
|
|
||||||
cargo sqlx migrate add --source como_infrastructure/migrations $NAME
|
cargo sqlx migrate add --source como_infrastructure/migrations $name
|
||||||
|
@@ -1,5 +0,0 @@
|
|||||||
print("from test")
|
|
||||||
|
|
||||||
local init = require("commands")
|
|
||||||
|
|
||||||
init.something()
|
|
1
scripts/test.rhai
Normal file
1
scripts/test.rhai
Normal file
@@ -0,0 +1 @@
|
|||||||
|
print("hello, world!");
|
Reference in New Issue
Block a user