Skip to content

2.0.0#300

Merged
digitalghost-dev merged 140 commits into
mainfrom
2.0.0
Jun 22, 2026
Merged

2.0.0#300
digitalghost-dev merged 140 commits into
mainfrom
2.0.0

Conversation

@digitalghost-dev

@digitalghost-dev digitalghost-dev commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Overview

The Pull Request captures everything for v2.0.0 of the program.

Major Changes

A list of a major changes for version 2

1. Rust Binaries

In wanting to learn more about Rust, I set out to build some small binaries that compliment the program instead of taking over core functions

Aggregation Service

Deferred to post v2

  • This service aggregates all the data from the various flags of the pokemon command and returns them as one.
  • Instead of having to make several calls to PokéAPI when multiple flags are present (i.e., poke-cli pokemon incineroar -s -d -m), the program makes a single call to this service, which fetches everything in one pass and hands back a combined JSON response.

Caching Service

Present in v2

  • This service caches results of API calls made to PokéAPI into local temp .json file for faster repeated look ups.

2. Migration to pflag Library

  • I wanted to enforce POSIX/GNU style flags (-s, --stats) so this library replaces the standard flag library.

3. Configuration Screen

  • A skeleton has been created with two configuration options for users to set preferences.
  • v2.0.0 will ship with two options:
    • The ability to select a theme color between blue, red, or yellow.
    • The ability to turn of the missing poke-cache binary warning message.

4. Command and Flag Updates

  • A new comp command will focus on competitive Pokémon data for the TCG and VGC with additional data for Pokémon Champions. Smogon data is planned for a later version.
  • The tcg command is gone and moved as an option in the new comp command.
  • A new mechanics commands will branch out to several new flags over the course of the project that focuses on specific mechanics of Pokémon (mainly centered around the video games)
  • The natures command is being removed in favor of a flag under a new mechanics command.
  • The --defense flag under the pokemon command is having a slight rename to --defenses for consistency across the other flags in the command.

@digitalghost-dev digitalghost-dev merged commit 2726f2f into main Jun 22, 2026
11 checks passed
@digitalghost-dev digitalghost-dev deleted the 2.0.0 branch June 22, 2026 16:14
@digitalghost-dev

digitalghost-dev commented Jun 22, 2026

Copy link
Copy Markdown
Owner Author

Addresses #302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement pflag library Add comp command Add mechanics command Change --defense flag naming Add caching service

1 participant