mirror of
https://github.com/Kiritow/OpenComputerScripts.git
synced 2024-03-22 13:10:46 +08:00
Update document
This commit is contained in:
parent
06d6f29700
commit
8563f56025
23
DOC_Grab.md
23
DOC_Grab.md
|
@ -30,6 +30,23 @@
|
|||
Given a file which will be loaded and returns a proxy function like:
|
||||
function(Url : string): boolean, string
|
||||
|
||||
*--bin=\<Path>*
|
||||
|
||||
Set binary install root path. Default to /usr/bin
|
||||
|
||||
*--lib=\<Path>*
|
||||
|
||||
Set library install root path. Default to /usr/lib
|
||||
|
||||
*-f* , *--force*
|
||||
|
||||
Force overwrite existing files.
|
||||
|
||||
*-y* , *--yes*
|
||||
|
||||
Skip interactive confirm.
|
||||
The interactive confirm is required only when libraries to be installed have dependencies
|
||||
|
||||
*--skip-install*
|
||||
|
||||
Library installers will not be executed.
|
||||
|
@ -46,7 +63,11 @@
|
|||
|
||||
**install \<Project> ...**
|
||||
|
||||
Install projects. Dependency will be downloaded automatically.
|
||||
Install projects. Dependency will be installed automatically.
|
||||
|
||||
**uninstall \<Project> ...**
|
||||
|
||||
Uninstall projects. Dependency will NOT be removed automatically.
|
||||
|
||||
**verify \<Provider> ...**
|
||||
|
||||
|
|
|
@ -30,6 +30,23 @@
|
|||
加载一个文件,这个文件应返回如下类型的函数:
|
||||
function(网址 : string): boolean, string
|
||||
|
||||
*--bin=\<路径>*
|
||||
|
||||
设置命令文件安装位置. 默认是 /usr/bin
|
||||
|
||||
*--lib=\<路径>*
|
||||
|
||||
设置库文件安装位置. 默认是 /usr/lib
|
||||
|
||||
*-f* , *--force*
|
||||
|
||||
强制覆盖已存在的文件
|
||||
|
||||
*-y* , *--yes*
|
||||
|
||||
跳过交互式确认.
|
||||
仅当安装的包具有依赖库时才需要交互式确认
|
||||
|
||||
*--skip-install*
|
||||
|
||||
指定此选项时, 包的安装脚本不会被调用. (仅下载)
|
||||
|
@ -38,7 +55,7 @@
|
|||
|
||||
通过此选项指定拒绝的协议. 用英文逗号分隔多个协议名称.
|
||||
|
||||
*--accept-license=\<协议> *
|
||||
*--accept-license=\<协议>*
|
||||
|
||||
通过此选项指定接受的协议. 用英文逗号分隔多个协议名称.
|
||||
|
||||
|
@ -46,7 +63,11 @@
|
|||
|
||||
**install \<包名> ...**
|
||||
|
||||
安装对应的包. 依赖库会被自动下载.
|
||||
安装对应的包. 依赖库会被自动下载并安装.
|
||||
|
||||
**uninstall \<包名> ...**
|
||||
|
||||
卸载并删除对应的包. 依赖库不会被自动删除.
|
||||
|
||||
**verify \<程序列表> ...**
|
||||
|
||||
|
|
10
DOC_zhCN.md
10
DOC_zhCN.md
|
@ -1,10 +0,0 @@
|
|||
# 使用文档
|
||||
|
||||
[Libevent](libevent.lua) 提供更强大易用的事件处理操作
|
||||
|
||||
[FSC](fsc.lua) 游戏内文件传输客户端
|
||||
|
||||
[FSS](fss.lua) 游戏内文件传输服务端
|
||||
|
||||
[MineSweeper](MineSweeper.lua) 扫雷游戏
|
||||
|
|
@ -29,4 +29,4 @@ Then start it with:
|
|||
|
||||
`grab`
|
||||
|
||||
For more information about Grab, see [Grab Documentation](DOC_Grab.md)
|
||||
For more information about Grab, run `grab --help` (recommended) or see [Grab Documentation](DOC_Grab.md)
|
|
@ -32,4 +32,4 @@
|
|||
|
||||
`grab`
|
||||
|
||||
可通过查看[Grab文档](DOC_Grab_zhCN.md)了解更多用法.
|
||||
推荐使用`grab --help`查看帮助(英文),也可通过查看[Grab文档](DOC_Grab_zhCN.md)了解更多用法.
|
Loading…
Reference in New Issue
Block a user