Skip to content

feat: add recursive flag to interpolate command#195

Merged
amountainram merged 1 commit into
mainfrom
feat/interpolate-recursive
May 18, 2026
Merged

feat: add recursive flag to interpolate command#195
amountainram merged 1 commit into
mainfrom
feat/interpolate-recursive

Conversation

@amountainram
Copy link
Copy Markdown
Contributor

Description:

This PR adds a --recursive (-r) flag to the interpolate command, allowing it to recursively process files in subdirectories.

Changes

  • Added --recursive / -r boolean flag to the interpolate command
  • When enabled, subdirectories are walked recursively instead of being skipped
  • Output preserves the relative directory structure from input paths
  • Added relativeOutputName helper to compute relative output paths
  • Added test case and expected test data for recursive interpolation

Notes

  • Without --recursive, behavior is unchanged (subdirectories are skipped)
  • Output directories are created automatically via MkdirAll

@amountainram amountainram requested a review from a team as a code owner May 13, 2026 05:35
@amountainram amountainram merged commit 4adb9b3 into main May 18, 2026
24 of 25 checks passed
@amountainram amountainram deleted the feat/interpolate-recursive branch May 18, 2026 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants