- Dependency changes:
dirs
crate for home dirclap
for argument parsing
- Upgrade all deps.
- Make into a CLI framework.
- All functions take a Cli context which handles output, global object storage etc.
- Use proc macros to derive the interface from function signature.
- Commands return a result that the CLI framework prints and exits with exit code approp.
- Command registration is done in main()
- Move command implementation into cli.rs.
- Create separate integration tests.
- Print format of log file at the top.
- archive command to save the current file?
- Better error messages for invalid format.