Back to Ohmyzsh

Swift Package Manager

plugins/swiftpm/README.md

latest1.0 KB
Original Source

Swift Package Manager

This plugin provides a few utilities that make you faster on your daily work with the Swift Package Manager, as well as autocompletion for Swift 5.9.

To start using it, add the swiftpm plugin to your plugins array in ~/.zshrc:

zsh
plugins=(... swiftpm)

Aliases

AliasDescriptionCommand
spiInitialize a new packageswift package init
spfFetch package dependenciesswift package fetch
spuUpdate package dependenciesswift package update
spxGenerates an Xcode projectswift package generate-xcodeproj
spsPrint the resolved dependency graphswift package show-dependencies
spdPrint parsed Package.swift as JSONswift package dump-package