Nick Krichevsky
663f199efc
Pin publish action to SHA
2021-11-13 15:35:40 -05:00
Nick Krichevsky
2fa9b780d1
Bump release version
2021-11-13 14:54:29 -05:00
Nick Krichevsky
6355d175e2
Name workflows
2021-11-13 14:54:18 -05:00
Nick Krichevsky
d8d396f839
Add release action
2021-11-13 14:53:27 -05:00
Nick Krichevsky
ca5e842caf
Use LightRed instead of Red
2021-11-13 14:13:20 -05:00
Nick Krichevsky
d4b491f7b4
Add changelog
2021-11-13 14:10:55 -05:00
Nick Krichevsky
19594afbb0
Specify license instead of license-file
2021-11-13 14:10:55 -05:00
Nick Krichevsky
6f09f4b109
Remove duplicate impl block for ContextPrintingSink
2021-11-13 14:10:55 -05:00
Nick Krichevsky
09fb97ffb4
Improve error message output
2021-11-13 14:10:55 -05:00
Nick Krichevsky
823bd712f3
Make error around attempting to scan directories more friendly
2021-11-13 13:36:33 -05:00
Nick Krichevsky
795f8bd6fb
Add clippy to actions workflow
2021-11-08 23:44:10 -05:00
Nick Krichevsky
de03e46020
Fix docs error to satisfy clippy
2021-11-08 23:40:36 -05:00
Nick Krichevsky
0855dff495
Add unit tests github action
2021-11-08 23:37:13 -05:00
Nick Krichevsky
2fa9829c11
Fix bug where a broken pipe while being colored would color the terminal below it
...
`hline . foo.txt |head`, for instance, would make the terminal below it
red because the reset char wasn't trasmitted until after the newline
that followed the bit that head cut off
2021-11-08 23:23:41 -05:00
Nick Krichevsky
f511e56f17
Add macro assert_slices_eq for convenience in tests
2021-11-08 19:49:12 -05:00
Nick Krichevsky
b0c2624bf7
Fix mixed indentation
2021-11-08 19:29:49 -05:00
Nick Krichevsky
92b96de593
Add README
2021-11-07 23:21:52 -05:00
Nick Krichevsky
e2432eb3bf
Add LICENSE
2021-11-07 22:41:58 -05:00
Nick Krichevsky
c1d0036e31
Add case-insensitive matching
2021-11-07 22:32:01 -05:00
Nick Krichevsky
1db3e24b79
Refactor argument parsing to use clap
2021-11-07 22:32:01 -05:00
Nick Krichevsky
5738036ab6
Rename to hline
2021-11-07 22:32:01 -05:00
Nick Krichevsky
d98ab5877d
Refactor tests to put match tests in lib.rs
...
Also replaces Lipsum with something a bit more readable
2021-11-07 22:32:01 -05:00
Nick Krichevsky
121d7f215f
Don't take mut references unnecessarily in scan functions
2021-11-07 19:19:37 -05:00
Nick Krichevsky
c4ecc7f85d
Fix typo
2021-11-07 19:01:09 -05:00
Nick Krichevsky
4b1747cb48
Reset colors after colored_print
2021-11-07 18:36:46 -05:00
Nick Krichevsky
47df092315
minor refactor to expose print module
2021-11-07 18:31:32 -05:00
Nick Krichevsky
eb20901835
Refactor error handling
2021-11-07 17:56:10 -05:00
Nick Krichevsky
addc864e0a
Satisfy clippy
2021-11-07 16:24:47 -05:00
Nick Krichevsky
dfa063e0fd
Change Printer to handle pipe failures
2021-11-07 01:05:41 -04:00
Nick Krichevsky
a2d3e93a35
Add initial iteration of hl
2021-11-06 22:33:40 -04:00