<commit_before>#!/usr/bin/env node
'use strict';

var Download = require('./');
var meow = require('meow');
var progress = require('download-status');
var stdin = require('get-stdin');

var cli = meow({
	help: [
		'Usage',
		'  download <url>',
		'  download <url> > <file>',
		'  download --out <directory> <url>',
		'  cat <file> | download --out <directory>',
		'',
		'Example',
		'  download http://foo.com/file.zip',
		'  download http://foo.com/cat.png > dog.png',
		'  download --extract --strip 1 --out dest http://foo.com/file.zip',
		'  cat urls.txt | download --out dest',
		'',
		'Options',
		'  -e, --extract           Try decompressing the file',
		'  -o, --out               Where to place the downloaded files',
		'  -s, --strip <number>    Strip leading paths from file names on extraction'
	].join('\n')
}, {
	boolean: [
		'extract'<commit_msg>Remove `download-status` from CLI<commit_after>#!/usr/bin/env node
'use strict';

var Download = require('./');
var meow = require('meow');
var stdin = require('get-stdin');

var cli = meow({
	help: [
		'Usage',
		'  download <url>',
		'  download <url> > <file>',
		'  download --out <directory> <url>',
		'  cat <file> | download --out <directory>',
		'',
		'Example',
		'  download http://foo.com/file.zip',
		'  download http://foo.com/cat.png > dog.png',
		'  download --extract --strip 1 --out dest http://foo.com/file.zip',
		'  cat urls.txt | download --out dest',
		'',
		'Options',
		'  -e, --extract           Try decompressing the file',
		'  -o, --out               Where to place the downloaded files',
		'  -s, --strip <number>    Strip leading paths from file names on extraction'
	].join('\n')
}, {
	boolean: [
		'extract'
{'fraction_non_alphanumeric': 0.19635508524397413, 'fraction_numerical': 0.0011757789535567313, 'mean_word_length': 2.683982683982684, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 22, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3879770', 'n_tokens_mistral': 631, 'n_tokens_neox': 595, 'n_words': 163}