Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli wires the pieces together into the onwrite command.
|
Package cli wires the pieces together into the onwrite command. |
|
Package config reads the optional .onwrite.json file.
|
Package config reads the optional .onwrite.json file. |
|
Package detect works out which of the tools in the registry a given project actually uses, and where their binaries live.
|
Package detect works out which of the tools in the registry a given project actually uses, and where their binaries live. |
|
Package engine applies a project's own formatters to a single file, safely.
|
Package engine applies a project's own formatters to a single file, safely. |
|
Package hook adapts onwrite to Claude Code's PostToolUse hook.
|
Package hook adapts onwrite to Claude Code's PostToolUse hook. |
|
Package registry holds the declarative table of formatters and fixers that onwrite knows how to drive.
|
Package registry holds the declarative table of formatters and fixers that onwrite knows how to drive. |
|
Package runner implements `onwrite run -- <command>`: run something, then format whatever it wrote.
|
Package runner implements `onwrite run -- <command>`: run something, then format whatever it wrote. |
|
Package scan decides which files onwrite is allowed to look at.
|
Package scan decides which files onwrite is allowed to look at. |
|
Package testutil builds throwaway projects and fake formatters for tests.
|
Package testutil builds throwaway projects and fake formatters for tests. |
|
Package watch implements the daemon mode: format every source file as soon as anything finishes writing it.
|
Package watch implements the daemon mode: format every source file as soon as anything finishes writing it. |
Click to show internal directories.
Click to hide internal directories.