How talwat/pokeget-rs works
pokeget-rs is a terminal Pokémon sprite renderer. Its workflow parses CLI selections and display options, resolves names or IDs (including random and region choices), loads and formats embedded sprites, combines multiple images, then renders them to terminal output. The README also documents alternate forms, shiny and female variants, and offline embedded assets. Source excerpts establish the main calls; data files are included directly, but the sprite submodule contents were not sampled.
Main entry points: main.rs Command entry · pokemon.rs Selection and Pokémon · lib.rs Embedded sprites · list.rs Name and dex list
Components 9
Input and selection
- Command entry
src/main.rs - CLI arguments
src/cli.rs - Name and dex list
src/list.rs - Selection and Pokémon
src/pokemon.rs
Sprite assets
- Embedded sprites
src/lib.rs - Sprite image files
data/pokesprite
Image rendering
- Sprite combining
src/sprites.rs
Other components
- CLI user
- Terminal output
Connections 9
- CLI user → Command entry: invokes
README.md - Command entry → Name and dex list: loads list
src/main.rs - Command entry → CLI arguments: parses arguments
src/main.rs - Command entry → Selection and Pokémon: creates Pokémon
src/main.rs - Selection and Pokémon → Name and dex list: resolves selection
src/pokemon.rs - Selection and Pokémon → Embedded sprites: loads sprite
src/pokemon.rs - Embedded sprites → Sprite image files: embeds assets
README.md - Command entry → Sprite combining: combines sprites
src/main.rs - Command entry → Terminal output: prints rendered output
src/main.rs