1.0.0 • Published 2 years ago

@ericbrown/dirmanager v1.0.0

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

Directory Manager With Typescript

This is a simple CLI for managing directories.

Usage

To install globally from the app directory:

npm install -g

After installation, the app can be run using:

dirmanager [option] <value>

To display a list of valid options

dirmanager OR dirmanager -h

image

To display the current app version:

dirmanager -V OR dirmanager --version

image

To list directory contents:

dirmanager -l <path> OR dirmanager --ls <path>

image

To create a directory:

dirmanager -m <filename> OR dirmanager -mkdir <filename>

image

To create an empty file:

dirmanager -t <value> OR dirmanager -touch <value>

image

Sources

Building a TypeScript CLI with Node.js and Commander, by Stanley Ulili

NOTE: The .gitignore file has been modified so that the dist folder is pushed.