]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/swiftpm/README.md
a722c03e4ff7a6cfa4c363a1a823c7b4e4f73166
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / swiftpm / README.md
1 # Swift Package Manager
2
3 ## Description
4
5 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.1.
6
7 To start using it, add the `swiftpm` plugin to your `plugins` array in `~/.zshrc`:
8
9 ```zsh
10 plugins=(... swiftpm)
11 ```
12
13 ## Aliases
14
15 | Alias | Description                         | Command                            |
16 |-------|-------------------------------------|------------------------------------|
17 | `spi` | Initialize a new package            | `swift package init`               |
18 | `spf` | Fetch package dependencies          | `swift package fetch`              |
19 | `spu` | Update package dependencies         | `swift package update`             |
20 | `spx` | Generates an Xcode project          | `swift package generate-xcodeproj` |
21 | `sps` | Print the resolved dependency graph | `swift package show-dependencies`  |
22 | `spd` | Print parsed Package.swift as JSON  | `swift package dump-package`       |