Creating Command Line Utilities in Swift
Parsing Arguments
Use the Swift Argument Parser library from Apple. This will take care of actually parsing command line arguments, and it offers a nice DSL for creating a type-safe way to handle the arguments.
Last updated: 2020-12-22 16:43:46 -0800