96 Commits

Author SHA1 Message Date
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
Nate Fischer
74f1ff8748 Commands that have multiple errors now produce cleaner log output. Errors are
echoed to stderr. exec() supports a new stderr field.
2016-01-12 17:02:19 -08:00
Artur Adib
ace162ae84 better gitter badge 2016-01-11 21:52:45 -05:00
Artur Adib
7c0649df74 gitter badge 2016-01-11 21:39:16 -05:00
Brett Jones
08b4212b15 add touch(1) 2016-01-11 19:47:09 -06:00
Artur Adib
e3f3ab87cd readme update 2016-01-08 14:37:17 -05:00
Artur Adib
708be98aa7 dummy commit to trigger CI 2016-01-08 14:33:37 -05:00
Artur Adib
3fef9673c1 Merge pull request #99 from maxnordlund/patch-1
Fixed coffeescript syntax in top example
2015-08-29 15:48:43 -04:00
Giorgio Premi
1a33dd0b61 Update README.md
Minor typo
2015-08-05 17:27:53 +02:00
Artur Adib
fcab75613f Update README.md 2015-06-09 09:50:08 -04:00
Artur Adib
fdf633003e Bump version, update README for new make args 2015-05-19 10:51:03 -04:00
Artur Adib
4605f927fe Update README.md 2015-02-10 19:32:58 -05:00
Stéphane Gully
b8e1507b8d Update README.md 2014-08-10 11:13:42 +02:00
utensil
3968dc41e7 make sed() support replacement function, fixes #115 2014-04-19 21:05:47 +08:00
Max Nordlund
a10eee9b40 Fixed coffeescript syntax in top example
The `cat 'macro.js'` needs parentesis to not include `file`.

```javascript
sed('-i', /.*REPLACE_LINE_WITH_MACRO.*\n/, cat('macro.js', file));
```
2013-12-18 09:46:08 +01:00
Michael Schoonmaker
b715c2c240 Add ln support, including both -s and -f options. 2013-10-10 18:03:09 -07:00
Artur Adib
c2f3cb3384 minor docs change 2013-09-01 12:20:14 -04:00