5 ms·
AWS Shell – An integrated shell for working with the AWS CLI
- sciurus 11y agoSome backstory on the project: http://www.infoq.com/news/2015/12/saws-combined-into-aws-cli http://www.infoq.com/news/2015/12/saws-combined-into-aws-cli
- codezero 11y agoI'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.
- NachoDuck 11y agoI'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 https://github.com/jonathanslenders/python-prompt-toolkit
- codezero 11y agoAwesome, that's exactly what I was looking for, thanks so much!
- thomasballinger 11y agoIndeed it does, https://github.com/awslabs/aws-shell/blob/master/setup.py#L10 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.
- ollysb 11y agoCan't find anything in a search, is there something similar for ruby?
- LukeHoersten 11y agoI 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/ https://aws.amazon.com/cli/
- martin_ 11y agoWhere are you seeing that? I only see a reference to https://github.com/aws/aws-cli https://github.com/aws/aws-cli
- volaski 11y agoIs there a feature to upload to s3 buckets from local? That would be cool.
- vikingcaffiene 11y agoSince 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 https://aws.amazon.com/cli
- vbsteven 11y agoYou 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.
- dv_says 11y agoIn 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] ...
- orbitbot 11y agoWe'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/ http://rclone.org/
- vikingcaffiene 11y agoAt 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'...
- cherioo 11y agoFrom the gif it can auto-completes commands as well as resource name.
- vikingcaffiene 11y agoAh well that is useful. Maybe I'll give it a spin.
- lambda 11y agoWouldn't implementing bash/zsh completions achieve the same result?
- bowmessage 11y agoNot for instance ids, bucket names, and the like.
- gnur 11y agoThey could also be auto completed, it's not that hard, but it would be slow unless you cache it to some degree.
- sublimecalm 11y agoI 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.
- wincent 11y agoLooks 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.