Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'delete' or 'todo delete' using title fails or will try to delete the whole notebook #342

Closed
tkapias opened this issue Oct 9, 2024 · 1 comment

Comments

@tkapias
Copy link

tkapias commented Oct 9, 2024

The help for delete and todo delete, like many other commands, indicate that you can provide the item by id, filename or title.

But currently, trying to use the title, with a notebook specified, will try to delete the whole notebook:

nb todo delete notebook:folder/"my todo"

Deleting notebook.

This action cannot be undone. This will permanently delete the
notebook notebook, all notes and files it contains,
and the entire revision history.

Please type home to confirm:

Without the notebook name, it just fails:

nb todo delete folder/"my todo"
! Not found: folder/my todo

With a flename or ID, it works.

@tkapias tkapias changed the title 'delete' or 'todo delete' using title fail or try to delete the whole notebook 'delete' or 'todo delete' using title fails or will try to delete the whole notebook Oct 9, 2024
xwmx added a commit that referenced this issue Oct 10, 2024
xwmx added a commit that referenced this issue Oct 11, 2024
@xwmx
Copy link
Owner

xwmx commented Oct 11, 2024

@tkapias Thank you for letting me know. This should be resolved as of version 7.14.3. Please let me know if you run into any additional issues with it.

@xwmx xwmx closed this as completed Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants