112 Commits

Author SHA1 Message Date
Nate Fischer
b162a2ffe6 Merge pull request #419 from shelljs/docs-exec-return-value
docs(exec): fix docs about exec return type
2016-04-05 21:23:19 -07:00
Nate Fischer
60d63015cd feat(command): new command: tail() 2016-03-31 21:05:30 -07:00
Nate Fischer
f6952cb781 feat(command): new command: sort() 2016-03-31 21:05:30 -07:00
Charles Verge
61cb383859 issue-407: Add regular files unit tests and fix symlink copy behavior 2016-03-24 22:32:55 -03:00
Nate Fischer
a41950770f feat(glob): expose config.globOptions.
Allow users to customize the settings of `glob.sync()` (if they so-desire). This
doesn't change the default behavior.
2016-03-24 18:06:26 -07:00
Charles Verge
2245536e8b feat(cp): add -L/follow symlink option
Closes #232
2016-03-20 19:11:01 -07:00
Nate Fischer
e282a9be9b docs: wildcards for all commands, other docs cleanups 2016-03-20 14:03:23 -07:00
Nate Fischer
3daa0db7e5 docs: move make tool docs to the wiki 2016-03-20 01:10:19 -07:00
Ari Porad
4078f26a20 WIP: docs(README): give shx a more prominent posision 2016-03-20 01:02:36 -07:00
Nate Fischer
46402ea533 docs: add link to wiki page 2016-03-20 01:02:36 -07:00
Nate Fischer
6739aed69e refactor(string): modify string protoype, but only for shelljs/global
`require('shelljs/global')` extends String.prototype to have the `.to()` and
`.toEnd()` methods again. This also adds tests for the global require.
2016-03-18 17:05:14 -07:00
dc
c8f942f299 Add Cash reference
As per:

https://github.com/dthree/cash/pull/24#

:)
2016-02-25 20:14:01 -08:00
Nate Fischer
04b0472201 Merge pull request #368 from shelljs/drop-v0.10-support
chore: drop node v0.10 support
2016-02-24 12:23:32 -08:00
Ari Porad
e5b9fe7ba7 chore(travis): don't require v0.10 to pass
Also document that we don't support v0.10, and build on iojs. (And don't
send travis emails).
2016-02-24 10:46:03 -08:00
Nate Fischer
98fc7f48ef feat(pipe): add support for pipes between commands 2016-02-20 22:26:31 -08:00
Nate Fischer
6ebc2d3db7 refactor(shellstring): return consistent objects
- fix(string): no longer overrides string prototype
 - exec() now returns a ShellString object
2016-02-19 14:54:30 -08:00
Nate Fischer
0da963b51f Merge pull request #357 from jcoreio/master
config.fatal now throws an exception
2016-02-16 14:44:29 -08:00
Ari Porad
bceac928c4 Merge pull request #346 from shelljs/touch-multiple-files
feat(touch): supports multiple files
2016-02-16 12:27:06 -07:00
Nate Fischer
19721fc28e feat(touch): supports multiple files 2016-02-16 09:59:25 -08:00
Nate Fischer
e2f980e29d feat(set): add -f option to disable shell globbing 2016-02-16 09:48:24 -08:00
Jason McLaurin
6bf7d77ecf change config.fatal to throw an exception instead of terminating the node.js process 2016-02-16 11:19:25 -06:00
Ari Porad
86ced7eb91 chore: test documentup hook 2016-02-13 19:39:02 -08:00
Nate Fischer
3ea5e247ee feat(grep): add -l option
`grep -l` will only print filenames of matching files.
2016-02-09 09:23:17 -08:00
Nate Fischer
bc13470f91 Update examples in docs for cp() 2016-02-05 13:48:28 -08:00
Nate Fischer
a35f9dd728 Merge pull request #337 from shelljs/no-coffeescript-in-README
docs(README): remove coffeescript from README
2016-02-04 15:41:16 -08:00
Ari Porad
79343661a9 docs(README): remove coffeescript from README
Other than the CoffeeScript section
2016-02-04 15:31:26 -08:00
Ari Porad
c0d9cf7ba1 Merge pull request #335 from shelljs/more-exec-options
feat(exec): allow all exec options to pass through
2016-02-04 14:56:25 -08:00
Nate Fischer
8377b927bf fix(cp): add -n option, make -f default behavior 2016-02-03 21:13:48 -08:00
Nate Fischer
058bb679b0 feat(exec): allow all exec options to pass through 2016-02-03 20:54:41 -08:00
Nate Fischer
f729896516 Merge pull request #329 from shelljs/feat-set-command
feat(set): add new set() command
2016-01-31 20:26:39 -08:00
Nate Fischer
ca045ea4c5 feat(set): add new set() command
Add new set() command as a wrapper for `config` variables. This takes the `-e`,
`-v`, `+e`, and `+v` flags.
2016-01-31 20:17:37 -08:00
Ari Porad
b764c40e00 docs: add link to issue tracker to README 2016-01-31 20:12:22 -08:00
Ari Porad
5e1747865d docs: remove @arturdib's twitter from the README 2016-01-31 18:41:25 -08:00
Nate Fischer
2d1ee4dae4 fix(mv): add -n option, make -f default behavior 2016-01-31 15:34:01 -08:00
Nate Fischer
d8466a14dd Merge pull request #324 from shelljs/ls-l-option
feat(ls): add -l  option
2016-01-31 11:18:09 -08:00
Nate Fischer
e918c758a2 feat(ls): add -l option
The `-l` option will now cause `ls()` to return an object containing file stats.
These objects will also have a toString() method that formats it into something
analogous to `ls -l`'s output format.
2016-01-31 11:08:03 -08:00
Ari Porad
a96467a6f5 Merge pull request #290 from isiahmeadows/pathext
feat(Windows): search PATHEXT instead of 3 hardcoded values
2016-01-31 09:01:16 -08:00
Nate Fischer
6bdee43ab5 fix appveyor badge to point to master branch only 2016-01-30 18:34:11 -08:00
Isiah Meadows
eaa771033e Search PATHEXT for which, do a lowercase comparison on Windows
Redo of #134

`which` now searches through PATHEXT on Windows, and it also now does a
case-insensitive comparison. This better fits the Windows environment, where
the OS usually ignores case.
2016-01-29 13:34:20 -05:00
Nate Fischer
bccf620787 feat(sed): support multiple file names
fixes #231. Semantics are like unix sed.
2016-01-27 19:08:33 -08:00
Nate Fischer
f9a11ddfd5 chore(appveyor): add badge 2016-01-27 15:33:11 -08:00
Nate Fischer
dfaa78abef feat(cd): cd() (no args) changes to home directory 2016-01-24 13:19:57 -08:00
Nate Fischer
5ea67cf06d Fix ls docs 2016-01-23 17:32:26 -08:00
Nate Fischer
07236a6463 fix inconsistencies in docs 2016-01-20 19:42:35 -08:00
Nate Fischer
9ff07b3ca7 Style updates in docs 2016-01-20 03:11:56 -08:00
Nate Fischer
267799ae96 Docs updates 2016-01-19 16:45:35 -08:00
Nate Fischer
15261f846c Merge pull request #292 from nfischer/fix-readme-style
style: make docs more consistent
2016-01-15 19:50:01 -08:00
Nate Fischer
efc0bbb4ec style: make docs more consistent
I also fixed a URL in the top section of the README.
2016-01-15 19:37:59 -08:00
Martino Visintin
d520a340e8 update exec docs to match implemented behaviour 2016-01-14 12:44:05 +01:00
Nate Fischer
8a7f7ceec4 add exec.stdout
Change `exec.output` to `exec.stdout` and deprecate `output`.
2016-01-12 17:14:13 -08:00