A simple tool to concatenate files.
Find a file
2025-08-10 00:41:42 -07:00
README.md Renaming, adding symlink, adding README. 2025-08-09 16:15:52 -07:00
stitcher Renaming, adding symlink, adding README. 2025-08-09 16:15:52 -07:00
stitcher.sh Ignoring files. 2025-08-10 00:41:42 -07:00

Stitcher

Stitcher is a tool to concatenate files together in a structured way. It was designed as a build tool for Nova, but might be generally usable.

Usage

Usage:
    ./stitcher.sh [paths]

Stitcher takes an optional list of paths (files or directories) and concatenates them together. Stitcher operates recursively: if you pass it a directory, it will concatenate all files and subdirectories within that directory.

To guide Stitcher, you can use three special files: .manifest, .before and .after.

  • .manifest: A list of paths for Stitcher to process, ordered from top to bottom.
  • .before: A list of paths to process before .manifest.
  • .after: A list of paths to process after .manifest.

Stitcher always looks at these three special files in your current working directory before processing arguments.

If a path doesn't exist or cannot be resolved, Stitcher will simply skip it.