Skip to main content
bach init writes a first bach.toml for your project, with comments explaining the common settings.

What it does

  • It never overwrites an existing bach.toml.
  • When it recognizes your project, it fills in the name, version, publisher, program and build folder from your project files, and says which kind it found: Wrote .\bach.toml for this Rust project. Check [app] and [files], then run bach check.
  • Otherwise it uses the folder’s name (hello-notes becomes Hello Notes) and guesses build as the build folder.
  • In a Git checkout whose origin is on GitHub, it turns on [updates] for that repository and writes .github/workflows/bach-release.yml (see bach workflow).
  • It never chooses a window style; you get Bach’s own.

Recognized projects

Checked in this order: Godot, Unity, Tauri, Wails, Electron, .NET, Flutter, PyInstaller, Qt, Rust. These are guesses. Check [app] and [files], then run bach check.