https://github.com/scottmckendry/pokemon-go-colorscripts
Phoney Badger's pokemon colorscripts wrapped with Go into a standalone, cross-platform binary
https://github.com/scottmckendry/pokemon-go-colorscripts
cli colorscripts golang pokemon
Last synced: about 2 months ago
JSON representation
Phoney Badger's pokemon colorscripts wrapped with Go into a standalone, cross-platform binary
- Host: GitHub
- URL: https://github.com/scottmckendry/pokemon-go-colorscripts
- Owner: scottmckendry
- License: mit
- Created: 2024-11-20T18:10:36.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T23:37:34.000Z (6 months ago)
- Last Synced: 2025-04-05T13:44:28.011Z (about 2 months ago)
- Topics: cli, colorscripts, golang, pokemon
- Language: Go
- Homepage: https://gitlab.com/phoneybadger/pokemon-colorscripts
- Size: 14.6 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Pokemon (Go) Colorscripts
Phoney Badger's Pokemon colorscripts wrapped with Go into a standalone, cross-platform binary.
All credit goes to Phoney Badger for the original pokemon-colorscripts project. You can find it [here](https://gitlab.com/phoneybadger/pokemon-colorscripts).
## 🤔 Why?
Why use this over the original?
- **Performance**: Go is compiled, so it doesn't rely on an interpreter like the original Python script. This generally results in faster execution times.
- **Single binary**: Making full use of Go's [`embed`](https://golang.org/pkg/embed/) package, scripts and other assets are embedded directly into the binary. Resulting in a truly portable executable.
- **Cross-platform**: This is a standalone binary that works on Windows, macOS, and Linux.
- **No dependencies**: You don't need to install Python or any other dependencies to run this. Just drop the binary in your PATH and you're good to go.## 📦 Installation
**Pre-built binaries**
You can download pre-built binaries from the [releases page](https://github.com/scottmckendry/pokemon-go-colorscripts/releases).
**Build from source**
```sh
git clone https://github.com/scottmckendry/pokemon-go-colorscripts --recurse-submodules && cd pokemon-go-colorscripts
go install .
```## 🚀 Usage
```sh
Usage:
pokemon-go-colorscripts [flags]Flags:
-b, --big Show a larger version of the sprite
-f, --form string Show an alternate form of a pokemon
-h, --help help for pokemon-go-colorscripts
-l, --list list all available pokemon
-n, --name string Select a pokemon by name. Generally spelled like in the games. A few exceptions are nidoran-f, nidoran-m, mr-mime, farfetchd, flabebe type-null etc. Perhaps grep the output of --list if in doubt.
--no-title Do not display pokemon name
-r, --random display a random pokemon
-s, --shiny Show the shiny version of a pokemon instead
```