Skip to content

jouet edit replace ​

  • Usage: jouet edit replace <FLAGS> <PATH>

Replace text in one file, given on the command line

Matches anywhere in the file, like str::replace, and requires exactly one match unless --count or --all says otherwise.

Arguments ​

  • <PATH> — The file to edit

Flags ​

  • --old <TEXT> — The text to find
  • --new <TEXT> — The text to put in its place
  • --count <N> — How many matches there must be
  • --all — Replace every match (at least one)
  • -h --help — Print help
MIT LicenseCopyright © 2026jdx.dev