mirror of
https://github.com/apple/pkl.git
synced 2026-01-11 22:30:54 +01:00
[PR #1213] [CLOSED] Allow formatting multiple files/directories #942
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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.