1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 06:40:07 +00:00
ohmyzsh/plugins/swiftpm/README.md
Marco Eidinger 02972f801b
feat(swiftpm): update completion for Swift 5.7 (#11299)
* feat(swiftpm): update completion for Swift 5.7

* chore(docs): fix typo
2022-11-03 18:32:54 +01:00

22 lines
1 KiB
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), as well as autocompletion for Swift 5.7.
To start using it, add the `swiftpm` plugin to your `plugins` array in `~/.zshrc`:
```zsh
plugins=(... swiftpm)
```
## 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` |