Joshua Clayton
e34f6951f1
Add optparse-applicative for flags
...
This introduces the optparse-applicative library for parsing out any
subcommands/flags/args. Currently only supports --no-progress (-P).
2016-05-05 17:53:53 -04:00
Joshua Clayton
6781ba1f5b
Move resetScreen out of case statement
2016-05-04 23:01:00 -04:00
Joshua Clayton
dbee79e525
append (++) is not commutative
2016-05-04 22:25:00 -04:00
Joshua Clayton
558c4ed2f4
Remove unnecessary parens
2016-05-04 21:26:01 -04:00
Joshua Clayton
50399ec4b1
Add number of files and number of occurrences
2016-05-04 20:51:41 -04:00
Joshua Clayton
00c239fddb
Don't recalculate metadata on matches when organizing by directory
2016-05-04 06:01:17 -04:00
Joshua Clayton
961585ce6e
Follow naming conventions for record fields
2016-05-03 22:13:01 -04:00
Joshua Clayton
67e52ed017
Initial pass at RemovalLikelihood calculator
2016-05-03 21:41:03 -04:00
Joshua Clayton
02f90fdb7d
Left-align and pad widths for term column
2016-05-03 09:59:06 -04:00
Joshua Clayton
49b7b65b17
Improve output by grouping by directory structure
2016-05-03 05:22:50 -04:00
Joshua Clayton
30b00225f4
TermResults should derive from Show
2016-05-03 05:19:48 -04:00
Joshua Clayton
e64db21f9e
Point-free filter lambdas
2016-05-03 05:17:20 -04:00
Joshua Clayton
f5394e4b36
Clear screen before displaying matches
2016-05-03 05:13:58 -04:00
Joshua Clayton
31a569eef9
Support [] and JavaScript (which uses periods)
2016-05-03 05:05:55 -04:00
Joshua Clayton
3ddf0631a9
Display progress bar when running ag
2016-05-02 06:05:31 -04:00
Joshua Clayton
dcfaa9355e
Refactor in preparation for progress bar
2016-05-02 06:03:26 -04:00
Joshua Clayton
6ee18cf1c9
Extract error printing to separate function
2016-05-01 06:20:47 -04:00
Joshua Clayton
8f5446a414
Move parsing response entirely to Parser
2016-05-01 05:40:30 -04:00
Joshua Clayton
d0fcb42535
Ignore tmp
2016-05-01 05:25:50 -04:00
Joshua Clayton
c9b4f4cf37
Update README with how to install binary
2016-05-01 04:48:35 -04:00
Joshua Clayton
447943f401
Extract aggregate data structure
2016-04-30 09:57:46 -04:00
Joshua Clayton
9f006ffd3c
Filter results to matches with one file and one occurrence
2016-04-30 05:49:04 -04:00
Joshua Clayton
fa0e34c843
Add a bit more to the README
2016-04-29 05:55:09 -04:00
Joshua Clayton
2d4939cb47
Reorganize data structure to handle parsing errors
...
This extracts the previous data structure from groupBy into an actual
Data.Map.Strict String [TermMatch], as well as another type
(ParseResponse) capturing invalid and valid responses.
2016-04-29 05:28:03 -04:00
Joshua Clayton
ed72d2405a
Initial pass at adding color to output
2016-04-29 04:46:31 -04:00
Joshua Clayton
a5230f163e
Parse results into matches
2016-04-28 22:21:18 -04:00
Joshua Clayton
1249a0e823
Search for terms from a tags file
...
This returns a list of each match, files, and counts based on the
current directory.
2016-04-28 17:42:58 -04:00
Joshua Clayton
8931c08f93
Initial
2016-04-28 05:37:06 -04:00