本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
发布:2018 年 8 月 16 日发布的 EB CLI 3.14.4
AWS Elastic Beanstalk 命令行界面 (EB CLI) 有一个新版本,它改进了 “eb 平台” 帮助文本。
发布日期:2018 年 8 月 16 日
更改
可在两种上下文中使用 eb platform EB CLI 命令集。您可以在自定义平台工作区中使用其中部分命令,而在应用程序工作区中使用其他命令。以前,当您运行 eb platform --help 或 eb platform subcommand --help 时,命令显示的帮助消息取决于运行命令所在的工作区。这意味着您没有获得有关命令可执行操作的完整说明。
在此版本中,无论在哪里运行命令,帮助消息都相同。每条帮助消息涵盖命令所提供的完整选项范围,这些选项按运行命令所在的上下文来排列。例如:
$ eb platform –-help
usage: eb platform <command> [options...]
Commands for managing platforms.
For more information on a specific command, enter "eb platform {cmd} --help".
To get started, enter "eb platform init". Then enter "eb platform create".
application workspace commands:
show Shows information about current platform.
select Selects a default platform.
platform workspace commands:
init Initializes your directory with the EB CLI to create and manage platforms.
status Displays metadata about your current custom platform version.
use Selects the active custom platform version to use for this workspace.
create Creates a new custom platform version.
delete Deletes a custom platform version.
events Displays events for the custom platform associated with this workspace.
logs Retrieves logs for your custom platform build event.
common commands:
list In a platform workspace, lists versions of the custom platform associated with this workspace. Elsewhere, lists available platforms.
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 credentials file.
-r REGION, --region REGION
Use a specific region.
--no-verify-ssl Don’t verify AWS SSL certificates.