-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest
Description
When running a delete
command, the user will be asked for confirmation:
timetrace delete record 2021-06-08-12-56
+---------+-------+-----------+------------+
| START | END | PROJECT | BILLABLE |
+---------+-------+-----------+------------+
| 12:56 | 16:38 | web-store | no |
+---------+-------+-----------+------------+
Please confirm (Y/N):
...
The input has to be exactly n
or y
. This is done using askForConfirmation()
.
However, it would make sense to default to no
.
- The message should look as follows.
Please confirm [y/N]:
- The function should just check for
input == "y"
and ignore anything else.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershacktoberfest