@make-mjs/cli
Command-line function and executable
Usage
make-mjs [options] <directories>
Options:
--version Show version number [boolean]
--knownMjsPackages Names of packages that should support mjs [array]
--help Show help [boolean]
Example
Let's say you have the following files:
.
├── foo.js
├── bar.js
└── baz.js
Run this command:
make-mjs .
You should get this:
.
+├── foo.mjs
├── foo.js
+├── bar.mjs
├── bar.js
+├── baz.mjs
└── baz.js