|
2 | 2 | <img width="425" src="poke-cli.png" alt="pokemon-logo"/> |
3 | 3 | <h4></h4> |
4 | 4 | <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.9.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.9.1?arch=arm64&style=flat-square&logo=docker&logoColor=FFCC00&labelColor=EEE&color=FFCC00" alt="docker-image-size"> |
6 | 6 | <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"> |
7 | 7 | </div> |
8 | 8 | <div align="center"> |
@@ -99,15 +99,29 @@ Cloudsmith is a fully cloud-based service that lets you easily create, store, an |
99 | 99 | 3. Choose how to interact with the container: |
100 | 100 | * Run a single command and exit: |
101 | 101 | ```bash |
102 | | - docker run --rm -it digitalghostdev/poke-cli:v1.9.0 <command> [subcommand] [flag] |
| 102 | + docker run --rm -it digitalghostdev/poke-cli:v1.9.1 <command> [subcommand] [flag] |
103 | 103 | ``` |
104 | 104 | * Enter the container and use its shell: |
105 | 105 | ```bash |
106 | | - docker run --rm -it --name poke-cli --entrypoint /bin/sh digitalghostdev/poke-cli:v1.9.0 -c "cd /app && exec sh" |
| 106 | + docker run --rm -it --name poke-cli --entrypoint /bin/sh digitalghostdev/poke-cli:v1.9.1 -c "cd /app && exec sh" |
107 | 107 | # placed into the /app directory, run the program with './poke-cli' |
108 | 108 | # example: ./poke-cli ability swift-swim |
109 | 109 | ``` |
110 | 110 |
|
| 111 | +> [!NOTE] |
| 112 | +> The `card` command renders TCG card images using your terminal's graphics protocol. When running inside Docker, pass your terminal's environment variables so image rendering works correctly: |
| 113 | +> ```bash |
| 114 | +> # Kitty |
| 115 | +> docker run --rm -it -e TERM -e KITTY_WINDOW_ID digitalghostdev/poke-cli:v1.9.1 card |
| 116 | +> |
| 117 | +> # WezTerm, iTerm2, Ghostty, Konsole, Rio, Tabby |
| 118 | +> docker run --rm -it -e TERM -e TERM_PROGRAM digitalghostdev/poke-cli:v1.9.1 card |
| 119 | +> |
| 120 | +> # Windows Terminal (Sixel) |
| 121 | +> docker run --rm -it -e WT_SESSION digitalghostdev/poke-cli:v1.9.1 card |
| 122 | +> ``` |
| 123 | +> If your terminal is not listed above, image rendering is not supported inside Docker. |
| 124 | + |
111 | 125 | ### Binary |
112 | 126 |
|
113 | 127 | 1. Head to the [releases](https://github.com/digitalghost-dev/poke-cli/releases) page of the project. |
|
0 commit comments