Categorygithub.com/KushagraIndurkhya/fetch
repositorypackage
1.0.1
Repository: https://github.com/kushagraindurkhya/fetch.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

Fetch

Fetch is a lightweight CLI for fast downloading .It breaks a file in chunks and utilizes multiple goroutines to download these chunks in parallel to disks and later merge them.

Usage:
  fetch [flags]
  fetch [command]

Available Commands:
  clean       Delete Downloaded files
  completion  generate the autocompletion script for the specified shell
  download    Download from url
  help        Help about any command
  history     Fetch your download history

Flags:
  -h, --help   help for fetch

download

Usage:
  fetch download <URL> <filename> [flags]

Flags:
      --config string   config file (default is $HOME/.fetch.yaml)
  -h, --help            help for fetch
      --path string     Specify Download Location of the file
      --seq             Download the file sequentially instead of parallel downloading
      --threads int     Specify Number of threads to be used (default 20)
      --verbose         Specify Verbosity of the output
	Example Usage: 
	fetch download https://saimei.ftp.acc.umu.se/debian-cd/current/amd64/iso-cd/debian-11.0.0-amd64-netinst.iso debian.iso --path="~/iso/debian.iso" --threads=20 --verbose 

help

Get details of the files downloaded using fetch

Usage:
  fetch history [flags]
  fetch history [command]

Available Commands:
  clean       Clear your downloading history

Flags:
  -h, --help       help for history
      --list int   Specify Number of Rows in result (default 10)

Example usage:

fetch history --list=5

Shows 5 recent downloads

Clean

Clean Up all the files downloaded using fetch cli

Example usage:

fetch clean