feat: 添加任务管理系统目录结构和脚本
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
TASK_ID="TASK-$(date +%Y%m%d%H%M%S)"
|
||||
TASK_FILE="management/tasks/pending/${TASK_ID}.md"
|
||||
|
||||
echo "# 任务ID: $TASK_ID" > "$TASK_FILE"
|
||||
echo "# 状态: pending" >> "$TASK_FILE"
|
||||
echo "# 创建时间: $(date)" >> "$TASK_FILE"
|
||||
echo "" >> "$TASK_FILE"
|
||||
echo "## 任务需求" >> "$TASK_FILE"
|
||||
echo "$1" >> "$TASK_FILE"
|
||||
|
||||
echo "任务创建: $TASK_ID"
|
||||
echo "文件: $TASK_FILE"
|
||||
EOF && chmod +x management/workflow/scripts/create_simple.sh
|
||||
Reference in New Issue
Block a user