Commit 8f5fb82
chore(deps): update dependency apple/swift-argument-parser to from: "1.4.0" (#1080)
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.
(\[[#​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.
(\[[#​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.
(\[[#​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.
(\[[#​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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDkuNCIsInVwZGF0ZWRJblZlciI6IjM2LjEwOS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
Co-authored-by: Self-hosted Renovate Bot <361546+cgrindel-self-hosted-renovate[bot]@users.noreply.github.enterprise.com>1 parent f4d1867 commit 8f5fb82
File tree
4 files changed
+6
-6
lines changed- bzlmod/workspace
- examples/pkg_manifest_minimal
4 files changed
+6
-6
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments