β€’ Brian Gilham β€’ Bookmarks

Writing Command Line Tools in Swift Using ArgumentParser

If you’d like to write command-line tools using Swift, Andy Ibanez has written a great series of posts about using ArgumentParser.

In this article, we will explore ArgumentParser, and how we can start building some command line tools with it, using the basic building blocks, which are three Property Wrappers called Argument, Option, and Flag.