wallix / awless

A Mighty CLI for AWS
http://awless.io/
Apache License 2.0
4.97k stars 263 forks source link

Allow reading data from stdin for "awless create s3object" #257

Open ghost opened 5 years ago

ghost commented 5 years ago

I am interested in awless, so far it looks very clean and easy to use.

I would like to use this tool to upload data via the stdin using a pipe to an s3 bucket.

Bad Eg.

echo dog | awless create s3object bucket=my-bucket file=- name=favorite-animal

Better Eg.

mysqldump large_database | gzip -9 | awless create s3object bucket=database-backups file=- name=large-database.tar.gz

I have tried something like this and it doesn't seem to work. Is there a workaround for this?

Thanks!