The mkdirp command creates supplied directories and any necessary parent directories. If a directory already exists, it does nothing.
Usage:
mkdirp [DIR1,DIR2..] {OPTIONS}
Options:
-m<mode> or --mode=<mode>: Set the directory mode as an octal permission string if a directory needs to be created.-v or --version: Print the version number.-h or --help: Print the help banner.-p or --print: Print the first directories created for each path provided.--manual: Use the manual implementation even if native is available.
$ mkdirp -h
usage: mkdirp [DIR1,DIR2..] {OPTIONS}
Create each supplied directory including any necessary parent directories
that don't yet exist.
If the directory already exists, do nothing.
OPTIONS are:
-m<mode> If a directory needs to be created, set the mode as an octal
--mode=<mode> permission string.
-v --version Print the mkdirp version number
-h --help Print this helpful banner
-p --print Print the first directories created for each path provided
--manual Use manual implementation, even if native is available