[PR #1213] [CLOSED] Allow formatting multiple files/directories #942

Closed
opened 2025-12-30 01:27:52 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/apple/pkl/pull/1213
Author: @srueg
Created: 9/18/2025
Status: Closed

Base: mainHead: srueg/format-multiple


📝 Commits (1)

  • f32999e Allow 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.

## 📋 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>
adam added the pull-request label 2025-12-30 01:27:52 +01:00
adam closed this issue 2025-12-30 01:27:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pkl#942