Reading Docs
在整个文档中,我们提到通过使用注解或编程示例来配置一些内容。
Throughout this documentation, we make references to configuring something by using annotations or programmatic examples.
有两种注解模型,annotations 指新注解模型,legacy annotations 指旧版注解模型。 |
There are two annotation models, annotations referred to new annotation model, legacy annotations referred to old legacy annotation model. |
旧的遗留注解模型主要涉及 @ShellMethod
和 @ShellOption
的使用,新的注解模型涉及 @Command
的使用。
Old legacy annotation model mostly relates to use of @ShellMethod
and @ShellOption
and
new annotation model relates to use of @Command
.
即使您使用注解,编程模型也是真正注册内容的方式。
The programmatic model is how things are actually registered, even if you use annotations.
文档结构正在进行修改,以阐明如何以不同的方式提供配置。感谢您在该工作仍在进行中的理解。 |
The documentation structure is getting revised to clarify how to provide configurations in separate ways. Thank you for understanding while that work is still in progress. |