
Exploring Swift - Creating a simple CLI tool
Although it’s not the primary use of the language, Swift can be used to accomplish a wide range of tasks, from cli tools to macOS and iOS applications, to web servers. In this section, we are going to explore how to build a very simple cli in Swift, while also looking at Swift’s package manager and build tools.