如何更新Amazon Elasticbeanstalk CLI [英] How to update Amazon elasticbeanstalk CLI

查看:117
本文介绍了如何更新Amazon Elasticbeanstalk CLI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用eb运行命令时:

它提示我:

警告:此CLI已有更新.

Alert: An update to this CLI is available.

尽管我找不到从指定的命令行选项更新的任何选项:

Although I can't find any options to update from specified command line options:

$ eb -h
usage: eb (sub-commands ...) [options ...] {arguments ...}

Welcome to the Elastic Beanstalk Command Line Interface (EB CLI).
For more information on a specific command, type 'eb {cmd} --help'.

commands:
  clone       Clones an environment.
  config      Edits the environment configuration settings or manages saved configurations.
  console     Opens the environment in the AWS Elastic Beanstalk Management Console.
  create      Creates a new environment.
  deploy      Deploys your source code to the environment.
  events      Gets recent events.
  init        Initializes your directory with the EB CLI. Creates the application.
  list        Lists all environments.
  logs        Gets recent logs.
  open        Opens the application URL in a browser.
  printenv    Shows the environment variables.
  scale       Changes the number of running instances.
  setenv      Sets environment variables.
  ssh         Opens the SSH client to connect to an instance.
  status      Gets environment information and status.
  swap        Swaps two environment CNAMEs with each other.
  terminate   Terminates the environment.
  use         Sets default environment.

optional arguments:
  -h, --help            show this help message and exit
  --debug               toggle debug output
  --quiet               suppress all output
  -v, --verbose         toggle verbose output
  --profile PROFILE     use a specific profile from your credential file
  -r REGION, --region REGION
                        use a specific region
  --no-verify-ssl       do not verify AWS SSL certificates
  --version             show application/version info

To get started type 'eb init'. Then type 'eb create' and 'eb open'

它也没有在任何文档中指定操作方式. EB CLI 3.x .

It also doesn't specify how in any documentation. EB CLI 3.x.

谢谢!

推荐答案

您可以通过运行pip install --upgrade awsebcli

这篇关于如何更新Amazon Elasticbeanstalk CLI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆