Skip to main contentModule init
Source - InitFormat
- Output format for
oo init.
- AGENTS_SNIPPET
- The AGENTS.md snippet printed to stdout on
oo init. - GENERIC_SETUP
- The generic setup section printed on
oo init --format generic. - HOOKS_JSON
- Minimal Claude Code PreToolUse hooks configuration.
- find_root
- Resolve the directory in which to create
.claude/. - run
- Run
oo init with the given format. - run_generic
- Generic variant: print AGENTS.md snippet + setup instructions to stdout.
- run_in
- Claude Code variant: create
.claude/hooks.json and print the AGENTS.md snippet.