This makes it easier to work with tools which return a list of file to format, e.g. to only handle files which have changed in a PR.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/apple/pkl/pull/1213
**Author:** [@srueg](https://github.com/srueg)
**Created:** 9/18/2025
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `srueg/format-multiple`
---
### 📝 Commits (1)
- [`f32999e`](https://github.com/apple/pkl/commit/f32999e839357ddc0b2bd0003beb23853ade5788) Allow formatting multiple files/directories
### 📊 Changes
**4 files changed** (+26 additions, -15 deletions)
<details>
<summary>View changed files</summary>
📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterApply.kt` (+2 -2)
📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCheck.kt` (+2 -2)
📝 `pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCommand.kt` (+13 -5)
📝 `pkl-cli/src/main/kotlin/org/pkl/cli/commands/FormatterCommand.kt` (+9 -6)
</details>
### 📄 Description
This makes it easier to work with tools which return a list of file to format, e.g. to only handle files which have changed in a PR.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/1213
Author: @srueg
Created: 9/18/2025
Status: ❌ Closed
Base:
main← Head:srueg/format-multiple📝 Commits (1)
f32999eAllow formatting multiple files/directories📊 Changes
4 files changed (+26 additions, -15 deletions)
View changed files
📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterApply.kt(+2 -2)📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCheck.kt(+2 -2)📝
pkl-cli/src/main/kotlin/org/pkl/cli/CliFormatterCommand.kt(+13 -5)📝
pkl-cli/src/main/kotlin/org/pkl/cli/commands/FormatterCommand.kt(+9 -6)📄 Description
This makes it easier to work with tools which return a list of file to format, e.g. to only handle files which have changed in a PR.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.