Confirm directory creation when using user command
- Dominant language
- APL
- Stars
- 26
- Forks
- 11
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 1
Description
Currently when one enters:
` ]create # /some/directory/name`
Link goes off and creates the directory if it doesn't exist (Link notifies you that the directory was created).
If you've mistyped/misremembered the folder name, you then need to:
- break the link
- delete the newly created folder
WIBNI by default Link confirmed that it should create the directory when used from a user command, using the Link API would not prompt by default. There could be a new switch or setting "confirm=1|0" or something like that so one could disable the prompt (or enable it when using the API). I think this is a sensible feature because you're almost always you're going to be Link'ing to an existing directory so if the directory doesn't exist, it's far more likely that you've mistyped the name than you actually want to create a new directory. A simple confirmation prompt 'Directory "/some/directory/name" does not exist, create it (Y/n)? ' is minimally intrusive and saves the frustration of having to clean up when you've mistyped the name.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.