Closed Boruch-Baum closed 6 years ago
Thanks for the suggestion. 🍰
~
will be supported in the future version(not too long, current version is not ready so I use absolute path in the readme).
But interactive selection is not going to supported. Currently tldr.py will check for the repo_path you input
For
tldr init', it would be a polished feature enhancement not to have to manually enter an entire path, and risk a typo error. For example, the program could offer tab-completion of paths, and re-issue a prompt (with scrollable history) if the path entered either doesn't exist or isn't a valid root directory (maybe check for a legitimate
package.json' file or other indication.An alternative would be to explicitly warn the user that expansions are not performed or understood.
Just some user-friendly polish.