# autotask **Repository Path**: davoer/autotask ## Basic Information - **Project Name**: autotask - **Description**: 禅道任务自动化脚本 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-12-21 - **Last Updated**: 2020-12-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # autotask 禅道任务自动化脚本 ## 准备 1. `yarn install` 2. `yarn link` 3. 将 `config.example.js` 重命名为 `config.js`,`name` 是你自己的名字,用来选择指派人。`template` 是任务名称模板,是一个函数 ## 支持命令 **注:任务描述不能包含空格** 创建一条任务,默认时间是 8h ``` autotask 开发xxx功能 ``` 创建一条任务,时间设为 4h ``` autotask 开发xxx功能 4 ``` 同时创建多条任务,注意后面的 `-m` 参数,创建多个任务时,每个任务的时间是按 `8/n` 计算 ``` autotask 开发xxx功能 开发yyy功能 -m ``` 列出任务 ``` autotask list ``` 列出所有任务 ``` autotask list --all ``` 关闭所有进行中的任务 ``` autotask close ``` 关闭指定 id 的任务 ``` autotask close task_id ``` `--headed` 参数,可以显示浏览器界面,用来调试