From bce297098f75bb5beed228749f55b39d4777707d Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 18 Dec 2015 17:04:51 +0100 Subject: [PATCH] yasnippets: added aws-ec2-get-instance-details - assumes instance-id in kill buffer as it uses (yank) --- snippets/eshell-mode/aws-ec2-get-instance-details | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 snippets/eshell-mode/aws-ec2-get-instance-details diff --git a/snippets/eshell-mode/aws-ec2-get-instance-details b/snippets/eshell-mode/aws-ec2-get-instance-details new file mode 100644 index 00000000..83d6e793 --- /dev/null +++ b/snippets/eshell-mode/aws-ec2-get-instance-details @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: aws-ec2-get-instance-details +# key: aws-ec2-get-instance-details +# -- +aws --profile=${1:$$(yas-choose-value '("prod" "test"))} ec2 describe-instances --instance-ids ${2:`(yank)`} $0 \ No newline at end of file -- 2.47.3