项目作者: xstevens

项目描述 :
A remote file downloader.
高级语言: Rust
项目地址: git://github.com/xstevens/download.git
创建时间: 2017-03-31T16:20:01Z
项目社区:https://github.com/xstevens/download

开源协议:MIT License

下载


download

A remote file downloader.

Build

  1. cargo build --release

Usage

  1. $ download -h
  2. download 0.1.0
  3. remote file downloader command-line interface
  4. USAGE:
  5. download [FLAGS] [OPTIONS] <url>
  6. FLAGS:
  7. -h, --help Prints help information
  8. -O, --remote-name output to a file using the same name as the remote
  9. -V, --version Prints version information
  10. -v, --verbose enable verbose logging (useful for debugging)
  11. OPTIONS:
  12. -o, --output <OUTPUT> output filename
  13. -A, --user-agent <user-agent> use value as user-agent header
  14. ARGS:
  15. <url>

Examples

  1. $ download -o rustup.sh https://sh.rustup.rs
  1. $ download --user-agent "curl/7.51.0" http://wttr.in

License

All aspects of this software are distributed under the MIT License. See LICENSE file for full license text.