add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

28
pages.zh/common/dub.md Normal file
View File

@@ -0,0 +1,28 @@
# dub
> D语言的包管理器。
> 更多信息:<https://dub.pm/commandline>。
- 互动式创建一个新的D项目
`dub init {{project_name}}`
- 非互动式创建一个新的D项目
`dub init {{project_name}} -n`
- 构建并运行一个D项目
`dub`
- 安装在D项目的`dub.json``dub.sdl`文件中指定的依赖项:
`dub fetch`
- 更新D项目中的依赖项
`dub upgrade`
- 显示帮助:
`dub --help`