Christopher Allen Lane
77f9c3fdd0
fix(Sheets): cheatsheets in hidden directories ( #690 )
...
Fix an issue whereby cheatsheets that were contained within hidden
directories were prevented from being loaded.
2022-08-08 19:17:59 -04:00
Chris Allen Lane
484b447391
perf(Sheets): do not walk hidden directories
...
Modify `Sheets.Load` to not walk hidden directories like `.git`. This
optimization can potentially prevent thousands of system calls from
being made, because `.git` directories can contain many files.
2022-08-04 20:43:42 -04:00
Chris Lane
233a9de1aa
feat: implement --all
flag
...
Implement an `--all` flag that can be used to view cheatsheets on all
chaetpaths. (Resolves #548 )
2020-11-27 16:39:34 -05:00
Chris Lane
bddbee4158
fix(logging): improve sheets load logging
...
Improve logging in `sheets.Load`:
- Make error verbage consistant with verbiage elsewhere
- Add more information to logging statements
2020-03-11 18:51:06 -04:00
Stefan Cosma
a8e6fdb18a
Properly trim path separators on Windows
2019-11-20 01:10:19 +01:00
Chris Lane
f7c093bec0
fix: resolves #474
...
Resolves #474 , whereby `cheat` failed to resolve symlinks. The root
cause was that `path/filepath#Walk` simply does not resolve symlinks:
https://golang.org/pkg/path/filepath/#Walk
2019-11-05 19:08:40 -05:00
Chris Lane
1dda796e7c
fix: resolves #492
...
Fixes an issue whereby hidden files (like `.DS_Store`) may be wrongly
loaded as cheatsheets.
2019-11-05 18:44:47 -05:00
Chris Lane
e5114a3e76
Re-wrote from scratch in Golang
...
- Re-implemented the project in Golang, and deprecated Python entirely
- Implemented several new, long-requested features
- Refactored cheatsheets into a separate repository
2019-10-20 10:02:28 -04:00