1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
**Description**: Show current checklist (see `cmd-checklist.md` for full documentation)
**Usage**:
```bash
cm checklist show
cm checklist add "Fix bug"
cm checklist done 1
```
**Note**: See `cmd-checklist.md` for complete checklist command documentation.
**Description**: Show build history
**Source**: `cargo-mate/captain/src/main.rs:execute_command()` - `Commands::History` case
**Implementation**: `cargo-mate/captain/src/history.rs:show_history()`
**Usage**:
```bash
cm history summary 20 # Last 20 builds summary (default)
cm history errors 10 # Last 10 errors
cm history warnings 10 # Last 10 warnings
```
**Implementation** (verified in `main.rs:238-242` and `history.rs:49-63`):
- ---
**Available Kinds** (verified in `history.rs:parse_history_args()`):
- --
**Storage**: `~/.shipwreck/history/` (handled by history module)
**Output (summary)**:
```
=== Build History Summary ===
📊 Last 20 builds:
✅ Successful: 15
❌ Failed: 5
📈 Recent builds:
✅ 2024-01-20 14:30:00 - cargo build - 🔴 0 ⚠️ 3
❌ 2024-01-20 14:00:00 - cargo test - 🔴 2 ⚠️ 1
```
**Description**: Execute cargo command through cm wrapper
**Source**: `cargo-mate/captain/src/main.rs:execute_command()` - `Commands::Exec` case
**Usage**:
```bash
cm exec build --release
cm exec test --all
cm exec clippy
```
**Implementation** (verified in `main.rs:285-290`):
- ---
**Features**:
- ---
**Note**: Any unrecognized cm command automatically falls through to cargo (handled by default command handler)