Skip to main content

Type

object

Required

No. Omit hooks: unless you need local commands around sync.

Phases

A failing pre-sync hook aborts the sync unless continue_on_error: true is set. A failing post-sync hook makes the command fail after all sync work has already completed.

Hook fields

Tokens beginning with ~/, $VAR, or ${VAR} are expanded in args, cwd, and env values.

Example

Environment

Hooks inherit the process environment plus:

Sync hooks workflow

gaal sync