Skip to content

Commit aeb00c3

Browse files
chore(deps): update dependency apple/swift-argument-parser to from: "1.4.0" (#315)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [apple/swift-argument-parser](https://togithub.com/apple/swift-argument-parser) | minor | `from: "1.3.1"` -> `from: "1.4.0"` | --- ### Release Notes <details> <summary>apple/swift-argument-parser (apple/swift-argument-parser)</summary> ### [`v1.4.0`](https://togithub.com/apple/swift-argument-parser/blob/HEAD/CHANGELOG.md#140---2024-05-21) [Compare Source](https://togithub.com/apple/swift-argument-parser/compare/1.3.1...1.4.0) ##### Additions - Adds support for subcommand aliases via a new `CommandConfiguration.aliases` parameter. Aliases are shown in help text and used during command parsing. For example, a subcommand like "average" from the example "math" tool can be defined with the aliases `["avg"]`. The resulting subcommand can now be invoked with either of `math stats average` and \`\`math stats avg\`. See the updated documentation and example for additional details. (\[[#&#8203;627](https://togithub.com/apple/swift-argument-parser/issues/627)]) - Adds a new API `usageString` to `ParsableArguments` and `ParsableCommand` for retrieving their usage text, allowing for more flexible construction of error screens. (\[[#&#8203;634](https://togithub.com/apple/swift-argument-parser/issues/634)]) - Adds support for passing custom arguments to `AsyncParsableCommand.main()` with a new `static func main(_ arguments: [String]?) async` method. (\[[#&#8203;568](https://togithub.com/apple/swift-argument-parser/issues/568)]) ##### Fixes - Removes default parameter values from deprecated CommandConfiguration initializers to prevent them from being selected as overloads. Some niche invalid deprecation warnings should no longer occur. (\[[#&#8203;636](https://togithub.com/apple/swift-argument-parser/issues/636)]) The 1.4.0 release includes contributions from \[Austinpayne], \[dcantah], \[KS1019], \[natecook1000], \[rauhul], and \[revolter]. Thank you! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazel-contrib/rules_bazel_integration_test). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 4aa5150 commit aeb00c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/custom_test_runner/Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let package = Package(
66
name: "my-project",
77
dependencies: [
88
// Replace these entries with your dependencies.
9-
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.1"),
9+
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.4.0"),
1010
.package(url: "https://github.com/JohnSundell/ShellOut.git", from: "2.3.0"),
1111
]
1212
)

0 commit comments

Comments
 (0)