diff --git a/aio/tools/transforms/templates/cli/cli-container.template.html b/aio/tools/transforms/templates/cli/cli-container.template.html index b9bf21596a..b05782b15b 100644 --- a/aio/tools/transforms/templates/cli/cli-container.template.html +++ b/aio/tools/transforms/templates/cli/cli-container.template.html @@ -2,13 +2,13 @@ {$ doc.description | marked $} -

Command Overview

+

命令概览

- - - + + + @@ -20,4 +20,4 @@ {% endfor %} -
CommandAliasDescription命令别名说明
\ No newline at end of file + diff --git a/aio/tools/transforms/templates/cli/lib/cli.html b/aio/tools/transforms/templates/cli/lib/cli.html index 4255d314c6..5a7d58173e 100644 --- a/aio/tools/transforms/templates/cli/lib/cli.html +++ b/aio/tools/transforms/templates/cli/lib/cli.html @@ -9,12 +9,12 @@ {% macro renderArguments(arguments, level = 2) %} {% if arguments.length %} -Arguments +参数 - - + + @@ -41,12 +41,12 @@ {% macro renderNamedOptions(options, level = 2) %} {% if options.length %} -Options +选项
ArgumentDescription参数说明
- - + + @@ -96,7 +96,7 @@ {%- macro renderSubcommands(container) -%} {% for command in container.positionalOptions %}{% if command.subcommands.length %} -

{$ command.name | title $} commands

+

{$ command.name | title $} 命令

{% for subcommand in command.subcommands %}

{$ subcommand.name $}

{% for name in container.names %} @@ -108,4 +108,4 @@ {$ renderNamedOptions(subcommand.namedOptions, 4) $} {% endfor %} {% endif %}{% endfor %} -{%- endmacro -%} \ No newline at end of file +{%- endmacro -%}
OptionDescription选项说明