Vapor Toolbox and the Kitura CLI are provided to make your life easy with extensive command-line tools and to accelerate your server-side Swift project development effort with many useful boilerplate projects. Since Vapor and Kitura projects are built with Swift Toolchains, you also have access to an array of tools in Swift Package Manager (SPM), the standard software package manager for managing the distribution of Swift projects.
SPM includes the following handy commands:
Useful CLI Commands | Usage |
---|---|
swift build | Compiles the package in the current directory |
swift run | Runs the executable in this package (for only one executable in the package) |
swift run | Runs the executable in this package |
swift package resolve | Resolves the dependencies and download missing packages |
swift package xcode-generateproj | Creates an Xcode project... |