awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.15k stars 770 forks source link

Stateful commands #87

Open ztane opened 8 years ago

ztane commented 8 years ago

I have a suggestion: instead of typing something like

aws> ec2 describe-instances
aws> ec2 run-instances --blahblah blah

you could enter the prefix once, and all subsequent commands are assumed to include that prefix:

aws> ec2
aws ec2> describe-instances
aws ec2> run-instances --blahblah blah

then use exit or similar to move to the upper level.

jamesls commented 8 years ago

I like it. I was just chatting the other day with someone about adding this feature. It has my +1.

donnemartin commented 8 years ago

Good idea :+1:

chronologos commented 7 years ago

I submitted a pull request for this feature :)