Skip to content

Commit fef7164

Browse files
jlaneveclaude
andauthored
Remove task description references and add .claude to .gitignore (#8)
- Remove task description parameter from CLI help text - Update documentation examples to remove task descriptions - Add .claude/ to .gitignore to exclude Claude Code settings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 04d747e commit fef7164

4 files changed

Lines changed: 9 additions & 6 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# CWT runtime data
22
.cwt/
33

4+
# Claude Code directory
5+
.claude/
6+
47
# Go build artifacts
58
./cwt
69
main

CLAUDE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ The SessionManager maintains an in-memory map of sessions, synchronized with:
6868

6969
### Available Commands
7070
```bash
71-
cwt new [session-name] [task-description] # Create new session
71+
cwt new [session-name] # Create new session
7272
cwt new # Interactive session creation
7373
cwt cleanup # Remove orphaned sessions/worktrees
7474
cwt --help # Show available commands
@@ -122,7 +122,7 @@ The SessionManager centralizes all session operations:
122122
### Build and Run
123123
```bash
124124
# Run directly from source
125-
go run cmd/cwt/main.go new "session-name" "task description"
125+
go run cmd/cwt/main.go new "session-name"
126126
go run cmd/cwt/main.go cleanup
127127

128128
# Build binary
@@ -135,15 +135,15 @@ go mod tidy
135135
### Testing
136136
```bash
137137
# Test basic functionality
138-
go run cmd/cwt/main.go new test-session "Test description"
138+
go run cmd/cwt/main.go new test-session
139139
tmux list-sessions | grep cwt # Verify tmux session created
140140
git worktree list # Verify git worktree created
141141

142142
# Test cleanup functionality
143143
go run cmd/cwt/main.go cleanup
144144

145145
# Test error scenarios
146-
go run cmd/cwt/main.go new test-session "Duplicate test" # Should fail
146+
go run cmd/cwt/main.go new test-session # Should fail if duplicate
147147
```
148148

149149
### Debugging Session State

internal/cli/list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func runListCmd(verbose bool) error {
5454

5555
if len(sessions) == 0 {
5656
fmt.Println("No sessions found.")
57-
fmt.Println("\nCreate a new session with: cwt new [session-name] [task-description]")
57+
fmt.Println("\nCreate a new session with: cwt new [session-name]")
5858
return nil
5959
}
6060

internal/cli/status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func showEnhancedStatus(sm *state.Manager, summary, showBranch bool) error {
6161

6262
if len(sessions) == 0 {
6363
fmt.Println("No sessions found.")
64-
fmt.Println("\nCreate a new session with: cwt new [session-name] [task-description]")
64+
fmt.Println("\nCreate a new session with: cwt new [session-name]")
6565
return nil
6666
}
6767

0 commit comments

Comments
 (0)