mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-09 02:24:11 +08:00
feat: 优化 CLI 历史记录输出格式,增加使用提示并规范化 sourceDir 处理
This commit is contained in:
@@ -86,11 +86,17 @@ Generate CPCC-compliant software design specification documents (软件设计说
|
||||
|
||||
## Directory Setup
|
||||
|
||||
```bash
|
||||
timestamp=$(date +%Y%m%d-%H%M%S)
|
||||
dir=".workflow/.scratchpad/copyright-$timestamp"
|
||||
mkdir -p "$dir/sections" "$dir/iterations"
|
||||
echo "$dir"
|
||||
```javascript
|
||||
// 跨平台目录创建
|
||||
const timestamp = new Date().toISOString().replace(/[-:]/g, '').slice(0, 15);
|
||||
const dir = `.workflow/.scratchpad/copyright-${timestamp}`;
|
||||
|
||||
// Windows
|
||||
Bash(`if not exist "${dir}\\sections" mkdir "${dir}\\sections"`);
|
||||
Bash(`if not exist "${dir}\\iterations" mkdir "${dir}\\iterations"`);
|
||||
|
||||
// Unix/macOS
|
||||
// Bash(`mkdir -p "${dir}/sections" "${dir}/iterations"`);
|
||||
```
|
||||
|
||||
## Output Structure
|
||||
|
||||
@@ -116,11 +116,17 @@ Generate comprehensive project analysis reports through multi-phase iterative wo
|
||||
|
||||
## Directory Setup
|
||||
|
||||
```bash
|
||||
timestamp=$(date +%Y%m%d-%H%M%S)
|
||||
dir=".workflow/.scratchpad/analyze-$timestamp"
|
||||
mkdir -p "$dir/sections" "$dir/iterations"
|
||||
echo "$dir"
|
||||
```javascript
|
||||
// 跨平台目录创建
|
||||
const timestamp = new Date().toISOString().replace(/[-:]/g, '').slice(0, 15);
|
||||
const dir = `.workflow/.scratchpad/analyze-${timestamp}`;
|
||||
|
||||
// Windows
|
||||
Bash(`if not exist "${dir}\\sections" mkdir "${dir}\\sections"`);
|
||||
Bash(`if not exist "${dir}\\iterations" mkdir "${dir}\\iterations"`);
|
||||
|
||||
// Unix/macOS
|
||||
// Bash(`mkdir -p "${dir}/sections" "${dir}/iterations"`);
|
||||
```
|
||||
|
||||
## Output Structure
|
||||
|
||||
Reference in New Issue
Block a user