source.app

Types 6

Fields
IStr name
ubyte[] bytes
basic
entity
aliasSz = size_t

The result of sizeof, ...

aliasStr = char[]

A string slice of chars.

aliasIStr = const(char)[]

A string slice of constant chars.

enumLevel : ubyte
none
info
warning
error

Functions 42

fnint runDubSetup(string[] args, bool isFirstRun)The setup code for dub projects.
fnint main(string[] args)
fnbool isX(IStr path)
fnbool isF(IStr path)
fnbool isD(IStr path)
fnvoid echo(A...)(A args)
fnvoid echon(A...)(A args)
fnvoid echof(A...)(IStr text, A args)
fnvoid echofn(A...)(IStr text, A args)
fnvoid cp(IStr source, IStr target)
fnvoid rm(IStr path)
fnvoid mkdir(IStr path, bool isRecursive = false)
fnvoid rmdir(IStr path, bool isRecursive = false)
fnIStr pwd()
fnIStr cat(IStr path)
fnIStr[] ls(IStr path = ".", bool isRecursive = false)
fnIStr readYesNo(IStr text, IStr firstValue = "?")
fnIStr fmt(A...)(IStr text, A args...)
fnIStr join(IStr[] args...)
fnbool isYes(IStr arg)
fnbool isNo(IStr arg)
fnbool isYesOrNo(IStr arg)
fnbool startsWith(IStr str, IStr start)
fnbool endsWith(IStr str, IStr end)
fnint findStart(IStr str, IStr item)
fnint findEnd(IStr str, IStr item)
fnIStr trim(IStr str)
fnvoid clear(IStr path = ".", IStr ext = "")
fnvoid paste(IStr path, IStr content, bool isOnlyMaking = false)
fnvoid clone(IStr path)
fnvoid restore(IStr path, bool isOnlyRemoving = false)
fnvoid log(Level level, IStr text)
fnvoid logi(IStr text)
fnvoid logw(IStr text)
fnvoid loge(IStr text)
fnvoid logf(A...)(Level level, IStr text, A args)
fnint cmd(IStr[] args...)

Variables 16

enumvarassetsDir = "assets"
enumvarwebDir = "web"
enumvarreadmeFile = "README.md"
enumvargitFile = ".gitignore"
enumvardubFile = "dub.json"
enumvardubLockFile = "dub.selections.json"
varappFileTypeContent = [ AppFileType.basic: import("template_basic"), AppFileType.entity: import("template_entity"), ]
enumvarreadmeFileContent = " # Cool Title This game was created with [Parin](https://github.com/Kapendev/parin). To play, run: ```sh dub run parin:setup dub run ``` "[1 .. $]
enumvargitFileContent = ` .dub game favicon.ico lib* test* index.* emscripten_shell.html game_web.zip *.wasm *.so *.dylib *.dll *.a *.lib *.exe *.pdb *.o *.obj *.lst `[1 .. $]
enumvardubFileContent = ` { "authors" : ["Name"], "copyright" : "Copyright © 2026, Name", "description" : "A game made with Parin.", "license" : "proprietary", "name" : "game", "stringImportPaths": [ "assets" ], "dependencies": { "parin": "*" }, "configurations": [ { "name": "default", "targetType": "executable" }, { "name": "wasm", "targetType": "library", "targetName": "game_wasm", "dflags": ["-mtriple=wasm32-unknown-unknown-wasm", "-checkaction=halt", "-i", "--release", "-betterC"] } ] } `[1 .. $]
varisJustUsingVendor = false
varappFileType = AppFileType.basic
varLevel minLogLevel = Level.info
varbool isCmdLineHidden = false
varbool isCmdOutputHidden = false
enumvarcloneExt = "._cl"