Skip to content

Commit bedc557

Browse files
authored
Update README with new package name (#12)
1 parent bef83ab commit bedc557

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# System
1+
# ProcessRunner
22

3-
![System](/system.png)
3+
![ProcessRunner](/processrunner.png)
44

55
![Release](https://img.shields.io/github/release/eneko/System.svg)
66
![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg)
@@ -29,15 +29,15 @@ scripting (Rakefile, Fastlane, Danger, etc), you will feel like home.
2929
### 💻 Automatically redirect output to stdout
3030

3131
```swift
32-
import System
32+
import ProcessRunner
3333

3434
try system(command: "echo hello world") // prints "hello world" to stdout
3535
```
3636

3737
### ✇ Capture process output
3838

3939
```swift
40-
import System
40+
import ProcessRunner
4141

4242
let output = try system(command: "echo hello world", captureOutput: true).standardOutput
4343
print(output) // prints "hello world"
@@ -46,35 +46,35 @@ print(output) // prints "hello world"
4646
### ✔️ Check if process terminated gracefully
4747

4848
```swift
49-
import System
49+
import ProcessRunner
5050

5151
print(try system(command: "echo hello world").success) // prints "true"
5252
```
5353

5454
### |> Easily execute Shell commands with pipes and redirects
5555

5656
```swift
57-
import System
57+
import ProcessRunner
5858

5959
try system(shell: "echo hello cat > cat && cat cat | awk '{print $2}'") // prints "cat" to stdout
6060
```
6161

6262
## Installation
6363

64-
Add `System` to your `Package.swift`:
64+
Add `ProcessRunner` to your `Package.swift`:
6565

6666
```swift
6767
import PackageDescription
6868

6969
let package = Package(
7070
name: "YourPackage",
7171
dependencies: [
72-
.package(url: "git@github.com:eneko/System.git", from: "1.0.0"),
72+
.package(url: "git@github.com:eneko/ProcessRunner.git", from: "1.0.0"),
7373
],
7474
targets: [
7575
.target(
7676
name: "YourTarget",
77-
dependencies: ["System"]),
77+
dependencies: ["ProcessRunner"]),
7878
]
7979
)
8080
```

processrunner.png

171 KB
Loading

system.png

-90 KB
Binary file not shown.

0 commit comments

Comments
 (0)