11 Commits

Author SHA1 Message Date
Adam Reis
76fe912ba1 Fix typo 2017-08-25 12:53:16 +12:00
Kodie Grantham
508ad44b09 Added ignore option (#27)
Ability to ignore files, since Glob doesn't take negated globs anymore since version 4 or 5.
2017-08-25 07:28:43 +12:00
Adam Reis
1400e4c4c6 Consistent error logging 2017-03-07 16:11:07 +13:00
Adam Reis
defdeaa52a Tweak to CLI logging 2017-03-07 16:09:21 +13:00
Adam Reis
61a4c54214 Clean up 2017-03-07 16:08:20 +13:00
Dawson Botsford
f99a27310d Move changedFiles logging outside of if (#17)
When the changed file was not found, there was no information from the cli which would let me know this. Because of that, an incorrect file path would be silently responded to with `"Replacing from with to"`.
2017-03-07 16:04:02 +13:00
Ryan Zimmerman
3a3ca2ce59 Add config file support (#16)
* Add config file support
* Allow passing files to config
* Fixes #15
2017-03-07 16:02:36 +13:00
Adam Reis
faf15348ad Exit on regex error 2017-02-21 21:26:01 +13:00
Ryan Graham
fbc7de4772 Added support for passing Regex into CLI (#14)
* Added support for passing Regex into CLI

This will allow for passing the `from`/`to` parameters as regex in the format `\match\g` through the CLI. If pattern does not match a Regex it will fall back to passing through as a `String`.

* - Fixed style inconsistencies
- Added -isRegex parameter to explicitly state ‘from’ parameter is a regex
- Removed regex support from ‘to’ parameter

* Replaced -isRegex with —isRegex and moved to the end of the param list

* Added line and sample syntax for CLI in README
2017-02-21 21:23:34 +13:00
Adam Reis
801f211c8e Fix glob expansion in CLI wrapper 2017-02-14 10:48:14 +13:00
Adam Reis
db4b760d9e CLI functionality 2017-02-13 18:29:46 +13:00