Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bad

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bad

A CLI tool to execute a command concurrently for a given number of subjects.

  • 0.8.7
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

bad

Build Status

bad is a command line tool that allows you to execute a command multiple times concurrently for a given number of subjects.

It is general enough for just about anything that requires parallel execution, and it's bad enough to accomplish it with ease!

##Usage

Usage: bad --exec curl --for "google.com github.com" --argv "-s"

Options:

  -h, --help          output usage information
  -V, --version       output the version number
  --verbose           show the output verbosley.
  -s, --silent        show as little as possible.
  --exec <command>    the command to run.  This is passed directly to spawn.
  --for <subjects>    a whitespace separated list of subjects.
                      Each subject is appended to argv except when --to-env is given.
  --argv [args]       a whitespace separated list of arguments to pass to the command.
  --to-env [varname]  an env var representing the subject for the command.

##Example This would silently curl the given urls concurrently:

bad --exec curl --argv '-s' --for "google.com linkedin.com npmjs.org"

Keywords

FAQs

Package last updated on 26 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc