You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift test --skip CountLinesExampleTests.testCountLines (passed; the skipped fixture is path-sensitive and fails because this checkout path contains spaces)
swift package plugin generate-documentation --target ArgumentParser was attempted previously, but this toolchain reported that the plugin subcommand was unavailable
Thanks for looking at this, @vivekjm! This isn't the correct spot to document the -- behavior, since that article is about how to declare arguments in your command. We do need an article about using tools built with ArgumentParser. Would you like to take a crack at creating that, with this as the initial section?
Yes, thanks for the direction. I moved the detailed explanation into a new Using ArgumentParser Tools article, linked it from the documentation’s Essentials section, and restored the declaration article to its brief original note. The new guide starts with the -- behavior and includes both dash-prefixed and option-like positional-value examples.
I also reran the suite with the known path-sensitive CountLines fixture skipped: swift test --skip CountLinesExampleTests.testCountLines passes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--option terminator as the guide's first topic, with examples for dash-prefixed and option-like positional valuesFixes #39
Testing
git diff --check(passed)swift test --skip CountLinesExampleTests.testCountLines(passed; the skipped fixture is path-sensitive and fails because this checkout path contains spaces)swift package plugin generate-documentation --target ArgumentParserwas attempted previously, but this toolchain reported that the plugin subcommand was unavailable