Releases: digitalghost-dev/poke-cli
Releases · digitalghost-dev/poke-cli
v0.9.2
v0.9.1
Fixed
- Fixed error message outputs to use a
lipgloss
border, specifically when using an empty flag (poke-cli pokemon -s --
) and when mistyping a Pokemon's name. (#83)
- Commit Change Log: v0.9.0 > v0.9.1
- Associated PRs: #84
v0.9.0
v0.8.0
Added
- Added a new flag
-s | --stats
to thepokemon
command to view a Pokémon's base stats. (#74) - Added a function to print out the header for any flag option under the
pokemon
command, reducing redundancy. (#75) - Added metrics to the
pokemon
command that includes height and weight. (#76)
- Commit Change Log: v0.7.2 > v0.8.0
- Associated PRs: #73
v0.7.2
Changed
- Changed location of
getTypeColor()
function tocmd/styles.go
. (#71)
Removed
- Removed
httpGet
variable fromconnections/connection.go
. (#72)
- Commit Change Log: v0.7.1 > v0.7.2
- Associated PRs: #73
v0.7.1
Added
- Added a helper method that helps reduce redundancy by passing it into each command's argument validator. (#69)
Changed
- Changed the help menus for the current commands by simplifying the text and verbiage. (#67)
- Changed the
pokemon
andtypes
help menu to include the-h, --help
flag. (#65)
Fixed
- Fixed a bug where misspelling a Pokémon's name would error out but still would run the rest of the program with blank data. (#68)
- Fixed a bug when using the help flag on either the
pokemon
ortypes
command; the program defaults to using themainFlagSet.Usage()
menu instead of the help menu for each command. (#64)
- Commit Change Log: v0.7.0 > v0.7.1
- Associated PRs: #70
v0.7.0
Added
- Added a damage chart to
poke-cli types
. It shows a list of the selected type's weaknesses, resistances, immunities, and damage to other types using a BubbleTea list. (#62)
Changed
- Changed the
ApiCallSetup()
function inconnections/connection.go
to returnfmt.Errorf()
instead of variousfmt.Println()
andlog.Fatalf()
uses which made testing the file difficult. Now, testing coverage for theconnections
package has increased to over 85%.
- Commit Change Log: v0.6.5 > v0.7.0
- Associated PRs: #63
v0.6.5
Changed
- Changed
cli.go
to provide test coverage opportunities and better maintainability. Moved logic out ofmain()
and into a separaterunCLI
function. (#58)
Fixed
- Fixed expression always equating to
false
. (#57)
- Commit Change Log: v0.6.4 > v0.6.5
- Associated PRs: #59
v0.6.4
Changed
- Changed output to include color when printing out a type for the
poke-cli types
command. (#55)
- Commit Change Log: v0.6.3 > v0.6.4
- Associated PRs: #56
v0.6.3
Changed
- Changed code in
types.go
for better organization. (#51) - Changed message when using a non-available command. (#52)
- Previously, only a generic
Unknown command
error would show when not using an available commanded.
- Previously, only a generic
- Changed location of
lipgloss
variables to their own file since they are used multiple times throughout thecmd
package. (#53)
- Commit Change Log: v0.6.2 > v0.6.3
- Associated PRs: #54