v0.7.0
Changelog from v0.6.0...v0.7.0:
Bug Fixes
- fix: null is no longer confused for an object
- fix(ls): no trailing newline for empty directories (#425)
- fix: error message now printed for fatal failures
- refactor(cp): clean up code and fix #376
- Perf improvement for ls, and fix for Windows
- Improved cd performance and fix error messages
- fix(exec): properly handles paths with spaces and quotes
- fix(verbose): verbose-style logging is consistent
- fix(exec): now actually supports shell option
- fix(exec): temp files are now cleaned up
Features
- feat(cp): -P option, plus better handling of symlinks (#421)
- feat(command): new command: tail()
- feat(command): new command: head()
- feat(command): new command: sort()
- feat(glob): expose config.globOptions.
- feat(cp): add -L/follow symlink option
- feat: adding error codes to ShellJS
- feat(pipe): add support for pipes between commands
- feat(touch): supports multiple files
- feat(set): add -f option to disable shell globbing
- feat(glob): use glob module for globbing
- feat(glob): glob support for (almost) all commands
- feat(grep): add -l option