Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amend SE-0387 with the consistent command line interface #2424

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Apr 28, 2024

As we are removing experimental- prefix from the swift sdk subcommand (apple/swift-package-manager#7507), it would be a good time to refine the command line interface to be consistent with other SwiftPM subcommand.

This PR tries to amend swift sdk configuration subcommand to swift sdk config to be consistent with swift package config command.

Note: I also considered renaming swift sdk list to swift sdk --list based on swift package plugin --list. However, SwiftPM currently has swift test list and swift package plugin is a little bit special because it takes arbitrary plugin name as its argument and "list" may conflict with plugin name.

The current (swift-DEVELOPMENT-SNAPSHOT-2024-04-27-a) SwiftPM implements
the `swift sdk configure` as `swift sdk configuration` and the
`--show-configuration` and `--reset` options as `show` and `reset`
subcommands.
This commit amends a part of SE-0387, `swift sdk configuration`
command, to be consistent with `swift package config` command.
@rjmccall rjmccall added the PSG Contains topics under the domain of the Platform Steering Group label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PSG Contains topics under the domain of the Platform Steering Group
Projects
None yet
3 participants