Fun Scripting in Swift — for beginner (PART II)
Now time for the next step after the previous part of my articles. After we know some basic knowledge of swift scripting lets moves to the next one! Now we will talk about ArgumentParser
. It is a new library that provides multiple commands and parses the arguments in the command line. Let us first set up the dependencies and the product name on our Package.swift
and run swift build
to make sure we fetch the latest dependencies in the project.