pokeget
Download packages for offline installation
TLDR
Print a sprite of a given pokemon
Print Mr. Mime (note the use of - instead of spaces)
Print Mega Gengar
Print a random shiny Pokemon
Print Alolan Meowth, without printing the Pokemon's name
Print a random Pokemon with 1/4096 chance to be shiny
SYNOPSIS
pokeget [OPTIONS] [POKEMON_NAME_OR_ID]
pokeget -l [--type TYPE]
PARAMETERS
POKEMON_NAME_OR_ID
The name or National Pokédex ID of the Pokémon to retrieve information for. Case-insensitive for names.
-f, --format
Specify the output format. Supported formats include text (default, human-readable summary), json (raw API response), and brief (concise one-liner).
-v, --verbose
Display more detailed information, potentially including hidden abilities, more move details, or full Pokédex entries.
-l, --list
List all available Pokémon by name and ID. Can be combined with --type to filter.
-t, --type
When used with -l, filters the list to only show Pokémon of the specified type (e.g., "fire", "water").
-s, --stats-only
Output only the base stats of the specified Pokémon.
-a, --abilities-only
Output only the abilities of the specified Pokémon.
-h, --help
Display a help message and exit.
DESCRIPTION
pokeget is a convenient command-line utility designed for Pokémon enthusiasts and developers alike, enabling quick retrieval of comprehensive data for any Pokémon. By leveraging a public API (hypothetical), it provides instant access to vital statistics such as types, abilities, base stats, moves, and even flavor text. Whether you're planning your next team, exploring Pokémon lore, or integrating data into a script, pokeget streamlines the process, eliminating the need to browse external websites. It supports lookup by both Pokémon name and National Pokédex ID, and offers various output formats to suit different needs, from a concise summary to a full JSON representation. This tool aims to bring the vast world of Pokémon data right into your command-line environment, making information access fast and efficient.
CAVEATS
pokeget is a hypothetical command-line tool. It is not a standard Linux command or a widely distributed utility. To use a command like this, it would need to be specifically developed, installed, and configured on your system, likely relying on an external API for Pokémon data (e.g., PokeAPI). Its functionality, options, and data sources would depend entirely on its implementation. Requires an active internet connection to fetch data.
EXAMPLES
Here are some common usage examples for pokeget:
1. Get information for a specific Pokémon (e.g., Pikachu):
pokeget pikachu
2. Get information by National Pokédex ID (e.g., Bulbasaur):
pokeget 001
3. Output data in JSON format for scripting:
pokeget charizard --format json | jq '.abilities'
4. List all Fire-type Pokémon:
pokeget --list --type fire
5. Show only stats for a Pokémon:
pokeget eevee --stats-only
EXIT STATUS
pokeget typically exits with one of the following status codes:
0: Success. The command executed without errors.
1: General error. Could be a network issue, API error, or malformed request.
2: Invalid argument or option. The provided Pokémon name/ID was not found or an option was used incorrectly.
HISTORY
The concept of pokeget likely originates from the desire of Pokémon fans and developers for a quick, command-line interface to access Pokémon data without relying on graphical browsers. Such a tool would typically be a community-driven project, often written in scripting languages like Python or Node.js, making use of freely available Pokémon API services. Its development would be iterative, adding new features like filtering, specific data points, and improved output formatting based on user demand, evolving from simple data retrieval to a more comprehensive Pokédex utility for the terminal.