1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-21 23:40:08 +00:00
ohmyzsh/plugins/swift-pm/README.md
Thomas Paul Mann 037764acc3 Add plugin for Swift Package Manager (#5670)
* Add plugin for Swift Package Manager
* swift-package-manager: Rename plugin to 'swift-pm'
2016-11-28 21:08:34 +01:00

23 lines
1,013 B
Markdown

# Swift Package Manager
## Description
This plugin provides a few utilities that make you faster on your daily work with the [Swift Package Manager](https://github.com/apple/swift-package-manager).
To start using it, add the `swift-pm` plugin to your `plugins` array in `~/.zshrc`:
```zsh
plugins=(... swift-pm)
```
## Aliases
| Alias | Description | Command |
|-------|-------------------------------------|------------------------------------|
| `spi` | Initialize a new package | `swift package init` |
| `spf` | Fetch package dependencies | `swift package fetch` |
| `spu` | Update package dependencies | `swift package update` |
| `spx` | Generates an Xcode project | `swift package generate-xcodeproj` |
| `sps` | Print the resolved dependency graph | `swift package show-dependencies` |
| `spd` | Print parsed Package.swift as JSON | `swift package dump-package` |