Giter Club home page Giter Club logo

pokedexcli's Introduction

pokedexcli

Description

This project was an exercise for me to get a deeper understanding of developing a CLI that works with information requested from an API (PokeAPI).

Installation

To install the project on MacOS or Linux be sure to have Go installed. The run the following commands:

git clone https://github.com/langer-net/pokedexcli
cd pokedexcli
go build

Usage

To run the project use:

./pokedexcli

The CLI gives you the ability to view all the different maps of all the Pokemon games. You can use map to retrieve the next 20 cards from the API or cache and mapb to get the previous 20 cards. To see all Pokemon on a particular map, you can explore the map. Use catch with the name of the Pokemon to try to catch the given Pokemon. If you catch a Pokemon, it will be added to your Pokedex. You can see all entries with the command pokedex. When you have caught a Pokemon, you can also inspect it to see various statistics about it. To exit the application, simply use exit. With the command help it is not necessary to remember all these different commands, because it lists all commands with a description for you.

Go Version

This project uses Go version 1.21.6.

Dependencies

There are no external dependencies for this project.

Testing

To execute the tests, just run:

go test

License

This project is licensed under MIT licence.

pokedexcli's People

Contributors

langer-net avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.