Index
Modules:
normanpkg/prelude
,
normanpkg/private/commands/compile_cmd
,
normanpkg/private/commands/generate_cmd
,
normanpkg/private/commands/init_cmd
,
normanpkg/private/commands/migrate_cmd
,
normanpkg/private/commands/model_cmd
,
normanpkg/private/commands/undo_cmd
,
normanpkg/private/utils
.
API symbols
Backend:
init_cmd: Backend
compile:
compile_cmd: compile()
generate:
generate_cmd: generate(message = ""; init = "")
getAppName:
utils: getAppName(): string
getMigrations:
utils: getMigrations(): seq[string]
getSlug:
utils: getSlug(str: string): string
init:
init_cmd: init(backend: Backend = sqlite)
migrate:
prelude: migrate(body: untyped): untyped
migrate_cmd: migrate(compile = false; verbose = false)
model:
model_cmd: model(name: string)
postgres:
Backend.postgres
sqlite:
Backend.sqlite
undo:
prelude: undo(body: untyped): untyped
undo_cmd: undo(verbose = false)