Adopt ArgumentParser for the command-line tool#72
Conversation
|
Hey @natecook1000 this looks really nice. My preference would be to wait until SwiftPM adopts ArgumentParser, then adopt it in sourcekit-lsp and indexstore-db. Until we're using it across the board in sourcekit-lsp+swiftpm, introducing a new dependency creates integration headaches for us that outweigh the benefits in this case (since this is only a tiny test executable). I'd be happy to keep this PR open until we're ready to take it. Thanks again for the PR |
|
@benlangmuir Sounds like a good plan! I'll ping back when we've landed the SwiftPM change. |
|
The Swift project moved the default branch to More detail about the branch update - https://forums.swift.org/t/updating-branch-names/40412 |
This adopts the new
ArgumentParserlibrary for parsing command-line arguments.