go-grab

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2025 License: MIT Imports: 1 Imported by: 0

README

go-grab 🚀

A fast and powerful CLI file downloader for HTTP/HTTPS, inspired by wget, built in Go with cobra.

Supports parallel downloads, chunk-based downloading, and automatic output directory selection.

Commands

go-grab grab [URL]

As the name suggests grabs the file from the url provided

If the server accepts range requests and provides content-length the chunk can be specified with the -c --chunk-size flag, and chunked parallel download will be possible boosting the download speed. Otherwise file will be streamed, directly from the response body in small buffers to the file

Flags
  • Custom output directory with -o --output Default is:

    • Windows: %USERPROFILE%/Downloads

    • Linux/Unix: $HOME/Downloads

  • Chunk size -c --chunk-size in MB (default to 1MB)

go-grab version

Display the version of go-grab

go-grab help

Provides information on how to use the CLI tool

go-grab completion

Generates the autocompletion script for the specified shell

Open-Source Licensing

This project is licensed under the MIT License. See the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL