21 comments

[ 2.9 ms ] story [ 59.5 ms ] thread
I'm going to do my own digging when I'm not mobile but do you or anyone else know if there is a generalized library to provide an auto completing CLI like SAWS? That would be super useful for a lot of tools.
I'm not sure if this particular tool makes use of it but saws uses the python-prompt-toolkit - https://github.com/jonathanslenders/python-prompt-toolkit
Awesome, that's exactly what I was looking for, thanks so much!
Can't find anything in a search, is there something similar for ruby?
Is there a feature to upload to s3 buckets from local? That would be cool.
Since this appears to just be a wrapper around the existing aws cli, I believe the command you are looking for is `s3 cp <local directory or file> s3://<full s3 bucket url> --recursive`. Just an educated guess taken from the CLI docs: https://aws.amazon.com/cli
You can do that through the regular AWS cli tools with "aws s3 cp..." or with external tools like s3cmd which is a third party s3 cli client.
In fact, this even can even sync new/modified/deleted files, similar to rsync. Very handy for deploying static assets or backups, for example.

   aws s3 sync --delete [--acl public-read] ...
We've been using rclone[1] at work for automatically archiving builds from CI and other useful things, it supports S3 and other services as well.

[1]: http://rclone.org/

At the risk of sounding overly negative, what value does this bring exactly? The existing CLI does exactly the same thing except one just prefixes the command with 'aws'...
From the gif it can auto-completes commands as well as resource name.
Wouldn't implementing bash/zsh completions achieve the same result?
Not for instance ids, bucket names, and the like.
They could also be auto completed, it's not that hard, but it would be slow unless you cache it to some degree.
I do like this tool. But it is not a replacement for quality web applications, which is an area I would still say that AWS is failing to deliver.
Looks great but this is not the kind of thing I want to be driving interactively. Rather, I want my interactions with AWS to be automated as much as possible, via a tool like Ansible or similar.