New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

make-dir-range-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

make-dir-range-cli - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+2
-2
cli.js

@@ -35,3 +35,3 @@ #!/usr/bin/env node

const input = cli.input[0];
const input = cli.input;

@@ -43,2 +43,2 @@ if (input.length === 0) {

makeDirRange(input, cli.flags)
makeDirRange(input[0], cli.flags)
{
"name": "make-dir-range-cli",
"version": "1.0.1",
"version": "1.0.2",
"description": "Make directories from ranges of integers.",

@@ -5,0 +5,0 @@ "bin": {

@@ -5,6 +5,62 @@ # make-dir-range-cli

## Installation
`npm install --global make-dir-range-cli`
## Usage
```
$ make-dir-range --help
Make directories from ranges of integers.
Usage
$ make-dir-range <int>-<int>
Options
--destination, -d Destination for dirs
--prepend, -p Prepend to dir name
--append, -a Append to dir name
Example
$ make-dir-range 1-50,55-60
```
```
$ make-dir-range 1-3,5,9-10
$ tree
.
├── 1
├── 2
├── 3
├── 5
├── 9
├── 10
│ ...
```
With options:
```
$ make-dir-range 11-13,15 --destination out --append a --prepend p
$ tree
.
├── out
│ ├── p11a
│ ├── p12a
│ ├── p13a
│ └── p15a
│ ...
```
Create a shell alias:
```
alias mdr=make-dir-range
```
## Related
- [make-dir-range](https://github.com/hutsoninc/make-dir-range) - API for this module
## Authors

@@ -11,0 +67,0 @@