1.2.0 • Published 3 years ago

add-new v1.2.0

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

ad

A shorthand CLI for directory and file creation

Installation

npm install -g add-new

Usage

ad [options] <path> [morePaths...]

Options:
  -V, --version  output the version number
  -t, --tree     display result tree
  -d, --debug    debug messages on
  -h, --help     output usage information

Examples

Create directory

Make sure to add a / at the end:

ad dir creates a file named "dir"

ad dir/ creates a directory "dir"

Path expansion

$ ad src/components/todo-{list,item}.{ts,scss} -t

result:

src
|____components
| |____todo-item.ts
| |____todo-item.scss
| |____todo-list.scss
| |____todo-list.ts
1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago