Generated command reference · v0.76.0
tine hook
Portable .tine files default to v5 (since 0.42). --for-legacy writes v4. The .tine/ repository format is v3. tine evidence export writes v4.
Generated from the pinned release’s tine help --json, validated against tine-help/1. Flags and defaults below come from its parser. A null default means unset or withheld as machine-specific.
tine hook
Install agent-CLI hooks that import every finished session
tine hook [-h] [--global] [--agent {antigravity,claude-code,codex,copilot,droid,gemini,generic,hermes}] [--repo REPO] [--dry-run] [--event {PreInvocation,PostToolUse,Stop,SessionEnd,UserPromptSubmit}] [--session ID] [--message TEXT] [--json] [--text] {install,uninstall,status,event,capture,resume}| Argument / flag | Contract |
|---|---|
actionRequired | Positional argument. Choices: |
--global | Edit the user-level hook files (the only scope supported) Default: |
--agent | Only this agent CLI (repeatable; default: every one); capture: the sender Choices: |
--repo | v3 repository the sessions are imported into (install) |
--dry-run | Show the change, write nothing Default: |
--event | capture: the agent's event name, for CLIs whose payload omits it Choices: |
--session | resume: the agent's session id |
--message | resume: the prompt to continue with |
--json | Emit {command, exit_code, output} JSON (errors as {error: {code, message}}) Default: |
--text | Human-readable output even if output.format=json Default: |