Skip to content

kaledis init

The init command bootstraps a new project with all necessary configuration files.

Terminal window
kaledis init [PATH]
  • PATH (Optional): The directory to initialize the project in. Defaults to current directory.

The command launches an interactive wizard asking:

  1. Project Name: The name of your game.
  2. Love2D Path: Tries to auto-detect. If not found, asks for the path to love.exe.
  3. Module Detection:
    • manual: You select which Love2D modules to enable.
    • automatic: Analyses your code to enable used modules.
  4. Pesde Packages: Whether to set up Pesde (Recommended).
  5. Src Folder: Whether to put code in a src/ subdirectory.
  6. Assets Folder: Whether to create an assets/ subdirectory.

Generates:

  • kaledis.toml
  • .vscode/ settings
  • src/main.luau (if src folder selected)
  • pesde.toml (if Pesde selected)