Hacker News new | past | comments | ask | show | jobs | submit login
AWS Shell – An integrated shell for working with the AWS CLI (github.com/awslabs)
153 points by vasco on Dec 28, 2015 | hide | past | favorite | 21 comments



I didn't realize when first looking at it but this is an official Amazon application. The github account is "awslabs" and it's linked right at the top of the docs: https://aws.amazon.com/cli/


Where are you seeing that? I only see a reference to https://github.com/aws/aws-cli


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.


Ah well that is useful. Maybe I'll give it a spin.



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


Indeed it does, https://github.com/awslabs/aws-shell/blob/master/setup.py#L1...

Python Prompt Toolkit is pretty stellar, enough so to motivated writing a command line interface in Python instead of another language in my opinion.


Can't find anything in a search, is there something similar for ruby?


Awesome, that's exactly what I was looking for, thanks so much!


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.


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/


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: