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

View File

@@ -0,0 +1,36 @@
# 水晶
> 管理水晶源代码。
> 更多信息:<https://crystal-lang.org/reference/using_the_compiler>。
- 运行一个水晶文件:
`crystal {{path/to/file.cr}}`
- 编译一个文件及其所有依赖项为一个可执行文件:
`crystal build {{path/to/file.cr}}`
- 从命令行或 `stdin` 读取水晶源代码并执行:
`crystal eval '{{code}}'`
- 从水晶文件中的内联文档字符串生成 API 文档:
`crystal docs`
- 编译并运行水晶规范套件:
`crystal spec`
- 启动一个本地交互式服务器以测试语言:
`crystal play`
- 为水晶应用程序创建一个项目目录:
`crystal init app {{application_name}}`
- 显示所有帮助选项:
`crystal help`