wails/v3/examples/binding
Claude 742eccfdc0
feat(v3): add -f flag to force init in non-empty directories
Port the safety check enhancement from v2 to v3. The existing safety
check in templates.go now respects a new -f/--force flag that allows
users to explicitly acknowledge and proceed with initialization in
non-empty directories.

Fixes #4940 (v3 portion)

https://claude.ai/code/session_01EN7wUQygUFthJ8WaRULfot
2026-02-02 10:00:17 +00:00
..
assets feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
data feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
GreetService.go feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
main.go feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00
README.md feat(v3): add -f flag to force init in non-empty directories 2026-02-02 10:00:17 +00:00

Bindings Example

This example demonstrates how to generate bindings for your application.

To generate bindings, run wails3 generate bindings -clean -b -d assets/bindings in this directory.

See more options by running wails3 generate bindings --help.

Notes

  • The bindings generator is still a work in progress and is subject to change.
  • The generated code uses wails.CallByID by default. This is the most robust way to call a function.