✨ feat(tsl-api-reference): add class and framework API lookup
This commit is contained in:
@@ -73,8 +73,8 @@ HELP_EPILOG = """\
|
||||
lookup.py --name arrDropDuplicate
|
||||
|
||||
已知确切名称时可以直接用 --name,跳过第 1 步。
|
||||
只查询一个 API scope 时使用 --scope,例如 --scope builtin、--scope dotnet、
|
||||
--scope third 或 --scope deprecated。
|
||||
只查询一个 API scope 时使用 --scope,例如 --scope builtin、
|
||||
--scope dotnet 或 --scope module。
|
||||
|
||||
退出码:
|
||||
0 取回成功;--name 无匹配也是 0(打印提示,不算错误)
|
||||
@@ -423,7 +423,7 @@ def main(argv=None):
|
||||
type=non_empty,
|
||||
metavar="SCOPE",
|
||||
help="只查询指定 scope,大小写不敏感;作用于 --name 和 --kw。"
|
||||
"内置索引当前提供 builtin、dotnet、third 与 deprecated",
|
||||
"内置索引当前提供 builtin、dotnet 与 module",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--limit",
|
||||
|
||||
Reference in New Issue
Block a user