mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
Add plugin for Swift Package Manager
This commit is contained in:
parent
9d43dc88bb
commit
8dfac43608
2 changed files with 30 additions and 0 deletions
22
plugins/swift-package-manager/README.md
Normal file
22
plugins/swift-package-manager/README.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# 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-package-manager` plugin to your `plugins` array in `~/.zshrc`:
|
||||
|
||||
```zsh
|
||||
plugins=(... swift-package-manager)
|
||||
```
|
||||
|
||||
## 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 |
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# Some aliases to make your life with the Swift Package Manager faster ✌️
|
||||
|
||||
alias spi='swift package init'
|
||||
alias spf='swift package fetch'
|
||||
alias spu='swift package update'
|
||||
alias spx='swift package generate-xcodeproj'
|
||||
alias sps='swift package show-dependencies'
|
||||
alias spd='swift package dump-package'
|
||||
Loading…
Add table
Add a link
Reference in a new issue