An open API service indexing awesome lists of open source software.

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

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.