Skip to content

Commit

Permalink
read stdin when executing commands
Browse files Browse the repository at this point in the history
  • Loading branch information
herrjulz committed Apr 23, 2019
1 parent 37e9db9 commit b58f7de
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ If you have to handle rather complex YAML files (for Kubernetes, Concourse, or B
### OS X

```
$ wget -O /usr/local/bin/aviator https://github.com/JulzDiverse/aviator/releases/download/v1.5.0/aviator-darwin-amd64 && chmod +x /usr/local/bin/aviator
$ wget -O /usr/local/bin/aviator https://github.com/JulzDiverse/aviator/releases/download/v1.6.0/aviator-darwin-amd64 && chmod +x /usr/local/bin/aviator
```

**Via Homebrew**
Expand All @@ -30,13 +30,13 @@ $ brew install aviator
### Linux

```
$ wget -O /usr/bin/aviator https://github.com/JulzDiverse/aviator/releases/download/v1.5.0/aviator-linux-amd64 && chmod +x /usr/bin/aviator
$ wget -O /usr/bin/aviator https://github.com/JulzDiverse/aviator/releases/download/v1.6.0/aviator-linux-amd64 && chmod +x /usr/bin/aviator
```

### Windows (NOT TESTED)

```
https://github.com/JulzDiverse/aviator/releases/download/v1.5.0/aviator-win
https://github.com/JulzDiverse/aviator/releases/download/v1.6.0/aviator-win
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion cmd/aviator/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func setCli() *cli.App {
}
cmd.Name = "Aviator"
cmd.Usage = "Navigate to a aviator.yml file and run aviator"
cmd.Version = "1.5.0"
cmd.Version = "1.6.0"
cmd.Flags = getFlags()
return cmd
}
Expand Down
1 change: 1 addition & 0 deletions executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func (e *Executor) execCmd(cmd *exec.Cmd) error {
if !e.silent {
cmd.Stdout = os.Stdout
}
cmd.Stdin = os.Stdin
cmd.Stderr = os.Stderr

err := cmd.Run()
Expand Down

0 comments on commit b58f7de

Please sign in to comment.