Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/batsdk/jokes-cli
A Basic CLI made with Cobra to get random jokes
https://github.com/batsdk/jokes-cli
cobra-cli go golang
Last synced: about 1 month ago
JSON representation
A Basic CLI made with Cobra to get random jokes
- Host: GitHub
- URL: https://github.com/batsdk/jokes-cli
- Owner: batsdk
- License: other
- Created: 2023-08-09T16:17:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-10T03:47:49.000Z (over 1 year ago)
- Last Synced: 2024-10-16T19:59:48.565Z (3 months ago)
- Topics: cobra-cli, go, golang
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Jokes-CLI - A Basic CLI Made with Golang
This application is a simple Command Line Interface (CLI) built with Golang and the Cobra CLI framework. It's designed to retrieve and deliver random jokes from an API containing a collection of jokes.
## PrerequisitesBefore you begin, ensure you have the following installed on your system:
- [Golang](https://golang.org/dl/): The Go programming language.
- [Cobra CLI](https://cobra.dev/): A powerful CLI library for Go.## Clone the Repository
```git clone https://github.com/dewShemil/jokes-cli.git```## Build and Run
- cd jokes-cli
- go build
- ./jokes-cli random### Todo List
- [x] Get jokes from an external API
- [ ] Add more commands