cronmeans time caused the run.webhookmeans a remote service posted to Buttons.hookmeans the local machine, repo, app, or Buttons runtime emitted an event.
Command shape
--enable names the event source that should cause the target to run.
File hooks
History hooks
Buttons can use the same file-hook machinery internally to maintain.buttons/history.json.
The internal watcher should track creates, edits, deletes, and renames for button and drawer files:
buttons create, buttons install, and buttons update should write history events directly. File hooks catch manual edits and agent edits that happen outside a Buttons command.
See History for the event shape.
Git hooks
Buttons runtime hooks
Common options
--enable:
file: and button: hooks, then add git: after the filesystem watcher and runtime event bus are stable.