Skip to content

Rethink how add and rm args should work #140

@alichtman

Description

@alichtman

The user experience isn't great at the moment, and I think there is a lot of room for improvement here. Revisit this before working on #129.

One of the weak points is that the path/entry format isn't standard for any of the sections. There's no instant feedback for whether or not you've entered a valid path, only if a FileNotFound error is thrown later.

Another difficulty is selecting which folder to insert the path into.

This problem has to be solved for both CLI args and the interactive program.


Improvements that Should Be Made

  • Path checking. Throw an error if the path doesn't exist and don't add it.
  • Interactive entry should print an example format table, or clearly show the user how to enter the path.
  • Differentiate the sections much more clearly.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions