Skip to content

Commit 1a4215f

Browse files
committed
docs: add interactive GIF, update demos to v0.1.25, fix brew description
- Add interactive selection + tab completion GIF demo - Update Dockerfile to use wt v0.1.25 - Re-record all GIFs with latest version - Fix goreleaser brew description to not start with article
1 parent edb707f commit 1a4215f

10 files changed

Lines changed: 50 additions & 2 deletions

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ brews:
7777
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
7878
directory: Formula
7979
homepage: https://github.com/timvw/wt
80-
description: A fast, simple Git worktree helper
80+
description: Fast, simple Git worktree helper
8181
license: MIT
8282
install: |
8383
bin.install "wt"

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ wt config path # print the config file path
187187

188188
### Interactive Selection
189189

190+
![wt interactive](docs/wt-interactive.gif)
191+
190192
When you run `wt co`, `wt rm`, `wt pr`, or `wt mr` without arguments, you'll get an interactive selection menu:
191193

192194
```bash

docs/demo/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
88
&& rm -rf /var/lib/apt/lists/*
99

1010
# Install wt
11-
ARG WT_VERSION=0.1.24
11+
ARG WT_VERSION=0.1.25
1212
ARG TARGETARCH
1313
RUN curl -fsSL "https://github.com/timvw/wt/releases/download/v${WT_VERSION}/wt_${WT_VERSION}_linux_${TARGETARCH}.tar.gz" \
1414
| tar -xz -C /usr/local/bin wt

docs/demo/interactive.tape

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
Output "../wt-interactive.gif"
2+
3+
Set Theme "Dracula"
4+
Set FontSize 16
5+
Set Width 1200
6+
Set Height 600
7+
Set TypingSpeed 30ms
8+
Set Padding 20
9+
10+
Hide
11+
Type "docker run --rm -it -e WORKTREE_ROOT=/home/demo/worktrees wt-demo bash --rcfile /home/demo/.bashrc"
12+
Enter
13+
Sleep 3s
14+
Type "cd src/main-app"
15+
Enter
16+
Sleep 1s
17+
Type "clear"
18+
Enter
19+
Sleep 1s
20+
Show
21+
22+
# Tab completion for subcommands
23+
Type "wt "
24+
Tab
25+
Tab
26+
Sleep 5s
27+
28+
# Clear and show interactive branch selection
29+
Ctrl+U
30+
Type "clear"
31+
Enter
32+
Sleep 1s
33+
34+
Type "wt co"
35+
Enter
36+
Sleep 3s
37+
Down
38+
Sleep 1s
39+
Down
40+
Sleep 1s
41+
Up
42+
Sleep 1s
43+
Enter
44+
Sleep 5s
45+
46+
Sleep 5s

docs/wt-create.gif

-856 Bytes
Loading

docs/wt-hooks.gif

42 Bytes
Loading

docs/wt-info.gif

-74 Bytes
Loading

docs/wt-interactive.gif

95.4 KB
Loading

docs/wt-multi-repo.gif

-74 Bytes
Loading

docs/wt-quickstart.gif

-137 KB
Loading

0 commit comments

Comments
 (0)