fetchem

command module
v0.0.0-...-3b974a8 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

README

run-tests Coverage Status

Fetchem

Small command line tool to manipulate URLs on the command line.

  fetchem (<url>) [-t <filetype>... | -r <fileRegExp>]
  fetchem -d <url>
  fetchem -e <url>
  fetchem -h | --help | --version

Options:
  <url>               url to fetch or from where to download, required option.
  -t <filetype>...    Specify which files to fetch, more than one option can be selected.
                          e.g. -t "png" -t "md"
                      If this option is not used, the code of the specified url will be printed
                      onto the screen.
  -r <fileRegExp>     For more fine grained specification of which files to fetch.
  -d <url>            Decode encoded URL, the decoded URL will be printed to the command line.
                      Alternative command line usage.
  -e <url>            Encode plain URL, the encoded URL will be printed to the command line.
                      Alternative command line usage.
  -h  --help          Show this screen.
  --version           Show version.```
  

Documentation

Overview

Package fetchem contains the CLI program and all required functions to handle URL downloads and URL string decoding from the command line.

Jump to

Keyboard shortcuts

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