Files
drawer/plans/phase6.md
T
2026-05-10 19:42:47 -05:00

12 lines
815 B
Markdown

# Phase 6
For phase 6, the app is almost finished but I want to include a couple quality of life features:
- If the user runs `drawer open somedrawer.drawer`, this is currently an error because there is no target path given.
If the file basename of the drawer path would be a valid target path (`./somedrawer` in this case) then use that as the
target path, but also print to stdout that that's what it's using. This should still not open the drawer if the target
path exists and is nonempty, unless the user passes `-f`
- Add a new command, `drawer key <filename>` which will create a new key and store it in the given filename. Before
creating the new key, make sure the filename does not exist and is writable. This will need a good source of entropy to
generate a key, so as part of your plan, recommend one.