-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
44 lines (36 loc) · 1.57 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[ ] input json for pre-populated selection in interactive session
[ ] and accept pathlist input?
pathlist to nested dict -> recurse tree with Path / leaf -> filter tree with leaf.exists()
[ ] how to handle absolute vs relative json output? And input?
- is_relative_to()
[ ] config file defaults
[ ] convert between json and pathlist outputs
[ ] README about+examples
[ ] Allow ascending up from initial root
[ ] Keybind to return to initial root -> ctrl-0
[ ] Configurable keymap
[ ] Automated version number:
[ ] --version
[ ] __version__
[ ] git tag/release + Actions
-----------------------------------------------------------------------
[x] README install
[x] json only outputs true leaves
[x] Makefile
[x] makefile to install as pip or stand alone executable (zip with a hashbang)
[x] ctrl-H to toggle showing hidden directories
[!] LS_COLORS
[x] compare file path lengths before applying ANSI to avoid ANSI-stripping to compare lengths
[x] empty directories don't break everything
[x] ctrl-R to refresh directory
[x] dirs don't check '/' but instead use is_dir
[x] dirs are different colors
[x] opening "empty" dirs crashes
[x] only keep selection leaves marked as "True"
[x] selecting dirs crashes
[x] draw_row and draw_header instead of updating entire page
[x] selection toggle should trigger draw_row
[x] selection bullet color-reset gets truncated if file is too long, colorizing the rest of the page
[x] change subselection appropriately on ascend/descend
[x] return selection JSON on filesystem paths
[x] Pass pathlib.Paths around instead of strings of paths