Package manifest editing commands beyond SE-0301

Would it be possible to add shell completion scripts that can look up Target names in the local package and dependencies? I imagine these completions could source the data from swift package describe.

Would there any value on providing interactive versions of those so SPM lists and asks which target add the dependencies?

3 Likes

I think so and think that it is just a matter of finding the right API for exposing this type of functionality. There is simplicity in the current set of package editing commands that can serve as a baseline for other more rich dependency installation experiences. My point is that having those experiences be available as part of the toolchain (IMO) could go a long way towards improving the getting started experiences with Swift packages and projects generally.

3 Likes