0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

aws-cliのコマンド補完をする

Posted at

awc-cliは、awsを操作するコマンドラインツールです。
対応しているサービスが多いため、コマンド補完できると便利ですね。
そこで、コマンドを補完する方法を紹介します。

zshの場合

ソースコードの取得

$ git clone git@github.com:aws/aws-cli.git
$ cd aws-cli

設定

$ source bin/aws_zsh_completer.sh

確認

$ aws [TAB]

出力結果

autoscaling        cloudwatch         dynamodb           elastictranscoder  kinesis            route53            sns                support                             
cloudformation     configure          ec2                elb                opsworks           s3                 sqs                swf                                 
cloudsearch        datapipeline       elasticache        iam                rds                s3api              storagegateway                                       
cloudtrail         directconnect      elasticbeanstalk   importexport       redshift           ses                sts          

参考資料: Github aws-cli

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?