Skip to content

Commit 65a4646

Browse files
Merge pull request #132 from digitalghost-dev/1.2.1
1.2.1
2 parents 27ff7c9 + da984d2 commit 65a4646

File tree

8 files changed

+23
-10
lines changed

8 files changed

+23
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
- main
2727

2828
env:
29-
VERSION_NUMBER: 'v1.2.0'
29+
VERSION_NUMBER: 'v1.2.1'
3030
DOCKERHUB_REGISTRY_NAME: 'digitalghostdev/poke-cli'
3131
AWS_REGION: 'us-west-2'
3232

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
*.idea
99
.dccache
1010
dist/
11+
poke-cli
1112

1213
# Test binary, built with `go test -c`
1314
*.test

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ builds:
1414
- windows
1515
- darwin
1616
ldflags:
17-
- -s -w -X main.version=v1.2.0
17+
- -s -w -X main.version=v1.2.1
1818

1919
archives:
2020
- format: tar.gz

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN go mod download
88

99
COPY . .
1010

11-
RUN go build -ldflags "-X main.version=v1.2.0" -o poke-cli .
11+
RUN go build -ldflags "-X main.version=v1.2.1" -o poke-cli .
1212

1313
# build 2
1414
FROM --platform=$BUILDPLATFORM alpine:latest

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img height="250" width="350" src="pokemon.svg" alt="pokemon-logo"/>
33
<h1>Pokémon CLI</h1>
44
<img src="https://img.shields.io/github/v/release/digitalghost-dev/poke-cli?style=flat-square&logo=git&logoColor=FFCC00&label=Release%20Version&labelColor=EEE&color=FFCC00" alt="version-label">
5-
<img src="https://img.shields.io/docker/image-size/digitalghostdev/poke-cli/v1.2.0?arch=arm64&style=flat-square&logo=docker&logoColor=FFCC00&labelColor=EEE&color=FFCC00" alt="docker-image-size">
5+
<img src="https://img.shields.io/docker/image-size/digitalghostdev/poke-cli/v1.2.1?arch=arm64&style=flat-square&logo=docker&logoColor=FFCC00&labelColor=EEE&color=FFCC00" alt="docker-image-size">
66
<img src="https://img.shields.io/github/actions/workflow/status/digitalghost-dev/poke-cli/ci.yml?branch=main&style=flat-square&logo=github&logoColor=FFCC00&label=CI&labelColor=EEE&color=FFCC00" alt="ci-status-badge">
77
</div>
88
<div align="center">
@@ -23,7 +23,7 @@ View future plans in the [Roadmap](#roadmap) section.
2323

2424
---
2525
## Demo
26-
![demo](https://poke-cli-s3-bucket.s3.us-west-2.amazonaws.com/demo-v1.1.0.gif)
26+
![demo](https://poke-cli-s3-bucket.s3.us-west-2.amazonaws.com/demo-v1.2.1.gif)
2727

2828
---
2929
## Installation
@@ -76,11 +76,11 @@ View future plans in the [Roadmap](#roadmap) section.
7676
3. Choose how to interact with the container:
7777
* Run a single command and exit:
7878
```bash
79-
docker run --rm -it digitalghostdev/poke-cli:v1.2.0 <command> [subcommand] flag]
79+
docker run --rm -it digitalghostdev/poke-cli:v1.2.1 <command> [subcommand] flag]
8080
```
8181
* Enter the container and use its shell:
8282
```bash
83-
docker run --rm -it --name poke-cli --entrypoint /bin/sh digitalghostdev/poke-cli:v1.2.0 -c "cd /app && exec sh"
83+
docker run --rm -it --name poke-cli --entrypoint /bin/sh digitalghostdev/poke-cli:v1.2.1 -c "cd /app && exec sh"
8484
# placed into the /app directory, run the program with './poke-cli'
8585
# example: ./poke-cli ability swift-swim
8686
```

cmd/search/model_input.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func RenderInput(m Model) (string, string) {
7474
endpoint = "move"
7575
case 2:
7676
msg = "Enter a Pokémon name:"
77-
endpoint = "ability"
77+
endpoint = "pokemon"
7878
default:
7979
msg = "Enter your search query:"
8080
}

demo.gif

120 KB
Loading

demo.tape

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,18 @@ Type clear
127127

128128
Enter
129129

130+
Type "poke-cli move eruption"
131+
132+
Sleep 2s
133+
134+
Enter
135+
136+
Sleep 3s
137+
138+
Type clear
139+
140+
Enter
141+
130142
Type "poke-cli search"
131143

132144
Sleep 2s
@@ -135,15 +147,15 @@ Enter
135147

136148
Sleep 2s
137149

138-
Down@1s 1
150+
Down@1s 2
139151

140152
Sleep 2s
141153

142154
Enter
143155

144156
Sleep 1s
145157

146-
Type@1s "^ar"
158+
Type@1s "char"
147159

148160
Sleep 2s
149161

0 commit comments

Comments
 (0)