Skip to content

kumiko codemod

Terminal window
kumiko codemod <name> [--dry-run] [--verbose] [--dir <path>]

Codemods that the framework ships for forward-compatibility. Each codemod is a --name of kumiko codemod and operates on TypeScript sources via ts-morph.

NameWhat it does
pipelineConvert free-form write handlers → pipeline form
  • --dry-run — preview changes, don’t write
  • --verbose — per-file conversion details
  • --dir <path> — target directory (default: cwd)
Terminal window
kumiko codemod pipeline --dry-run # see what would change
kumiko codemod pipeline --verbose # apply + detailed log
kumiko codemod pipeline --dir samples/recipes/ # scope to a subtree

Commit before running. The codemod modifies sources directly; review the diff before committing the result.