In the pokemon command, chaining flags causes the same data to be re-fetched. Each flag calls /pokemon independently, on top of the base command's own /pokemon + /pokemon-species calls. Flags that fan out to related endpoints (-d → /type/{name}, -m → /move/{name}) don't dedupe those either.
An aggregation service can collapse this to one fetch per unique resource per invocation, saving network trips and setting up a clean place to plug in persistent caching later.
In the
pokemoncommand, chaining flags causes the same data to be re-fetched. Each flag calls/pokemonindependently, on top of the base command's own/pokemon+/pokemon-speciescalls. Flags that fan out to related endpoints (-d→/type/{name},-m→/move/{name}) don't dedupe those either.An aggregation service can collapse this to one fetch per unique resource per invocation, saving network trips and setting up a clean place to plug in persistent caching later.