Add -pipe flag #294

Solved the problem of trying to read from STDIN and stopping on the way when running from CRON or AWS Lambda.
This commit is contained in:
Kota Kanbe
2017-01-24 00:21:56 +09:00
parent 49b4b8be22
commit 2d854cd64d
9 changed files with 71 additions and 41 deletions

View File

@@ -72,6 +72,8 @@ type Config struct {
AzureAccount string
AzureKey string
AzureContainer string
Pipe bool
}
// ValidateOnConfigtest validates