# Jai Init This program creates files and directories based on templates for Jai development. > [!WARNING] > Jai version: `beta 0.2.022` (15. Dec. 2025) cleaned up some syntax. > The dot notation for implicitly calling structs can be omitted from now on. > > Templates in this project will adapt to it in the future - probably in Q3 2026. > I'm awaiting more syntax changes. ## Build / Install ```plain $ jai -version Version: beta 0.2.024, built on 31 December 2025. ``` ```plain $ jai build.jai - silent release ``` - The executable is stored as `bin/jinit`. - Add the binary to your $PATH or symlink it where appropriate ## Usage Init a minimal project: `$ jinit -t min` Init a library project: `$ jinit -t lib -r my_lib_name` Don't create a scm repo: `$ jinit -t min -g` **Overview** ``` $ init -help -g: If provided, no SCM repository will be created -l: List available template types -r: Replace the replace marker with a given string -t: Pass a template type -help, -HELP, -?: Show the list of commands. ``` ### Arg: `-g` The default SCM is Git. But you can change it inside the `build.jai`. ### Arg: `-r ` Some templates support "replace markers". If they're present, you can pass a string via `-r ` and those markers get replaced with your string. More informations inside `templates/lib/rules_lib.jai`. ### Arg: `-t