Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ $ pomodoro-timer --from 09:30 60 # Resume timer that started at 09:30 for 60 m
**[`pomodoro-cycle`](./bin/pomodoro-cycle)** - Run a full multi-step Pomodoro cycle with breaks between sessions.

```bash
$ pomodoro-cycle # 3 steps × 30 min (default)
$ pomodoro-cycle # 3 steps × 25 min (default)
$ pomodoro-cycle 3 25 25 25 # Classic 3 × 25 min pomodoro
$ pomodoro-cycle 2 45 30 # step 1: 45 min, step 2: 30 min
```
Expand Down
6 changes: 3 additions & 3 deletions doc/bin.md
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ pomodoro-cycle [--ntfy] [steps [time1 [time2 [time3]]]]

**Arguments**:
- `steps` - Number of work steps in the cycle (default: `3`)
- `time1`, `time2`, `time3` - Duration of each step in minutes (default: `30`)
- `time1`, `time2`, `time3` - Duration of each step in minutes (default: `25`)

**Options**:
- `--ntfy` - Send ntfy notification when cycle finishes (in addition to desktop notification)
Expand All @@ -1104,9 +1104,9 @@ Runs a sequence of pomodoro work sessions. Between each step (except the last),

**Examples**:
```bash
# Run 3 steps of 30 minutes each (default)
# Run 3 steps of 25 minutes each (default)
$ pomodoro-cycle
Start pomodoro cycle: 3 steps with [30 30 30] minutes in each step
Start pomodoro cycle: 3 steps with [25 25 25] minutes in each step

> Starting 1-th work time
> 1 minutes / 30
Expand Down
4 changes: 2 additions & 2 deletions test/pomodoro-cycle.bats
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ teardown() {

# --- Output header ---

@test '`pomodoro-cycle` should show 3 steps with 30 min each by default' {
@test '`pomodoro-cycle` should show 3 steps with 25 min each by default' {
run pomodoro-cycle
expects "$status" to_be 0
expects "${lines[0]}" to_match 'Start pomodoro cycle: 3 steps with \[30 30 30\] minutes in each step'
expects "${lines[0]}" to_match 'Start pomodoro cycle: 3 steps with \[25 25 25\] minutes in each step'
Comment thread
aiya000 marked this conversation as resolved.
}

@test '`pomodoro-cycle` should show custom step count in header' {
Expand Down
Loading