Skip to content

Multiline support? #194

Open
Open
@ghost

Description

Hi,

It would be nice to have bash-like multiline support. For example, suppose I'd like to get spot-price-history in Korea region, I type following in one line:

aws> ec2 describe-spot-price-history --region=ap-northeast-2 --instance-types c4.large --start-time=$(date +%s) --product-descriptions="Linux/UNIX" --query 'SpotPriceHistory[*].{az:AvailabilityZone, price:SpotPrice}'

But if doing same thing on presentation / tech sharing, my audience generally prefers this format (in bash):

aws ec2 describe-spot-price-history \
--region=ap-northeast-2 \
--instance-types c4.large \
--start-time=$(date +%s) \
--product-descriptions="Linux/UNIX" \
--query 'SpotPriceHistory[*].{az:AvailabilityZone, price:SpotPrice}'

Is it possible to do so in aws-shell?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions