aws-shell icon indicating copy to clipboard operation
aws-shell copied to clipboard

Stateful commands

Open ztane opened this issue 9 years ago • 3 comments

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.

ztane avatar Dec 29 '15 06:12 ztane

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

jamesls avatar Dec 29 '15 23:12 jamesls

Good idea :+1:

donnemartin avatar Dec 30 '15 01:12 donnemartin

I submitted a pull request for this feature :)

chronologos avatar Aug 04 '16 16:08 chronologos