mongodb-js-fmt
Version:
Automatically rewrites our code to a shared spec because style is for tailors.
20 lines (15 loc) • 719 B
Plain Text
Usage: mongodb-js-fmt <file>... [--dir=<path/to/module/dir>]
Automatically rewrites our code to a shared spec because style is for tailors.
Usage:
# Format all javascript files in the `./lib` directory:
mongodb-js-fmt ./lib/{*.js,**/*.js}
# Format all javascript files in the `./lib` and `./test` directories:
mongodb-js-fmt ./{lib,test}/{*.js,**/*.js}
Options:
<file>
--dir=<path> The directory your package.json lives in. [Default: `process.cwd()`].
--json Ooutput as JSON for your machine friends [Default: `false`].
--dry Resolve but don't overwrite [Default: `false`].
--debug Enable debug messages.
-h --help Show this screen.
--version Show version.