0.0.4 • Published 8 years ago

@k-kinzal/each v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 years ago

each

To yield each command.

Get started

npm install --save-dev @k-kinzal/each

Command

$ $(npm bin)/each --help                        
Usage:
  @k-kinzal/each [OPTIONS] [ARGS]

Options: 
  -c, --cwd              You want to specify the path to the current working 
                         directory. 
  -y, --yield STRING     Specifies the command to yield
  -v, --version          Display the current version
  -h, --help             Display help and usage details

Example

$ $(npm bin)/each  -y 'echo $0'
/path/to/each
$ $(npm bin)/each node_modules/* -y 'echo $1'
/path/to/each/node_modules/cli
/path/to/each/node_modules/glob
$ $(npm bin)/each node_modules/* -c -y 'pwd'    
/path/to/each/node_modules/cli
/path/to/each/node_modules/glob
0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago