0.2.0 • Published 4 months ago

dill-cli v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

dill - download and decompress gzipped tar files with a CLI and API

An anthropomorphic dill pickle in a doorman's uniform

dill is a CLI app to download gzipped files and optionally decompress their contents. It also provides a simple programmatic API.

Implementation-wise, dill uses the Fetch API via node-fetch-native to download files, which means it is reasonably cross-platform and will use native Fetch implementations where available.

Why?

dill is intended for use in CI/CD systems for TypeScript/JavaScript projects. It fills a similar need to curl or wget -- a straightforward way to download a file given its URL.

In TypeScript/JavaScript projects, dependencies are typically specified using package.json, and thus it's most convenient to use only things that can be specified and installed using package.json. Moreover, dill is written in TypeScript and doesn't have any direct native dependencies. Thus, dill enables you to run the same build process locally as in CI/CD.

Usage

dill URL

Downloads a file from a URL and optionally extracts its contents.

USAGE
  $ dill  URL [-v | --quiet] [-o <value>] [--filename <value> | -e]

ARGUMENTS
  URL  URL of the file to download.

FLAGS
  -e, --extract           Decompress the file and, if it's a tarball, extract its contents.
  -o, --out=<value>       Directory in which to place the downloaded files.
      --filename=<value>  Name to use for the downloaded file. Cannot be used with --extract.

LOGGING FLAGS
  -v, --verbose  Enable verbose logging.
      --quiet    Disable all logging.

DESCRIPTION
  Downloads a file from a URL and optionally extracts its contents.
0.2.0

4 months ago

0.1.5

5 months ago

0.1.4

6 months ago

0.1.2

9 months ago

0.1.3

8 months ago

0.1.1

10 months ago

0.1.0

10 months ago