https://github.com/ricoledan/pokedex-cli-demo
An example CLI application powered by PokeAPI
https://github.com/ricoledan/pokedex-cli-demo
Last synced: 7 days ago
JSON representation
An example CLI application powered by PokeAPI
- Host: GitHub
- URL: https://github.com/ricoledan/pokedex-cli-demo
- Owner: Ricoledan
- License: apache-2.0
- Created: 2021-10-04T02:36:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-16T23:44:55.000Z (over 4 years ago)
- Last Synced: 2025-02-27T19:58:02.345Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pokedex-cli-demo

An example CLI application powered by PokeAPI
## Instructions
Initialize the module
```Bash
go mod init pokedex-cli-demo
```
Install cobra library
```Bash
go get -u github.com/spf13/cobra/cobra
```
Initialize the cli scaffolding
```Bash
cobra init --pkg-name pokedex-cli-demo
```
Install CLI tool
```Bash
go install pokedex-cli-demo
```
## References
[PokeAPI](https://github.com/PokeAPI/pokeapi/) - A RESTful API for Pokémon
[Cobra](https://github.com/spf13/cobra) - A Commander for modern Go CLI interactions