Package Exports
- js-dev-assistant
- js-dev-assistant/src/cli.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (js-dev-assistant) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
js-dev-assistant 
CLI refactor code for JavaScript developers
Install
$ npm install --global js-dev-assistantCLI
$ js-dev-assistant --help
Manipulate over source files - refactor, view, etc. not leaving a terminal (dev-assistant v2.0.0)
USAGE dev-assistant [OPTIONS] [COMMAND]
ARGUMENTS
COMMAND An optional command name (refactor, view...), will be prompted interactively if not provided
OPTIONS
--root Root folder to search files on
-f, --file source file name
--hook custom hook to perform over changed file
-p, --prettierHook perform prettier format command over changed file
--viewAfterManipulation Run view file command after manipulation over fileYou can provide a command name and file when issuing a command or by choosing from interactive prompts. Filename also can be choosen from interactive prompt, or you can use --file option to specify source file.
Notes:
You can use the following convenient aliases (instead of js-dev-assistant): dev-assistant, devasis, deva, refactorer.
In view mode you can:
- scroll a content using arrow keys
- press
Ctrl+Corqkey in the keyboard in order to exit from program
Tips:
- to format modified file with prettier you can use
--prettier-hookflag - to run a custom command after job is performed you can use the
--hookflag, (for example,--hook "npm test")
Demo

License
MIT © Rushan Alyautdinov