https://github.com/crazygit/simple-download-tool
A demo of golang to create a powerful modern CLI applications
https://github.com/crazygit/simple-download-tool
Last synced: 5 months ago
JSON representation
A demo of golang to create a powerful modern CLI applications
- Host: GitHub
- URL: https://github.com/crazygit/simple-download-tool
- Owner: crazygit
- Created: 2022-05-24T08:28:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-25T09:27:15.000Z (about 4 years ago)
- Last Synced: 2024-06-21T02:09:09.932Z (about 2 years ago)
- Language: Go
- Size: 23.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simple-download-tool
## Purpose
A demo of [Go](https://go.dev/) to create a powerful modern CLI applications.
## Function
A simple download tool.
## Usage
```shell
$ git clone https://github.com/crazygit/simple-download-tool.git
$ cd simple-download-tool
$ go mod download
$ go run .
```
## Used Library
- [cobra](https://github.com/spf13/cobra) is a library for creating powerful modern CLI applications.
- [validator](https://github.com/go-playground/validator/) implements value validations for structs and individual.
fields based on tags.
- [promptui](https://github.com/manifoldco/promptui) Interactive prompt for command-line applications.
- [progressbar](https://github.com/schollz/progressbar/) A very simple thread-safe progress bar which should work on.
every OS without problems.
- [logrus](https://github.com/sirupsen/logrus) is a structured logger for Go (golang), completely API compatible with
the standard library logger.