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

todo does not output anything when their are no list. #118

Closed
AnubhaAgrawal opened this issue Feb 22, 2017 · 1 comment
Closed

todo does not output anything when their are no list. #118

AnubhaAgrawal opened this issue Feb 22, 2017 · 1 comment

Comments

@AnubhaAgrawal
Copy link
Contributor

AnubhaAgrawal commented Feb 22, 2017

Actual behavior
When running for the first time or when there are no lists, the todo command outputs nothing. This is very counter-intuitive and may confuse the users.
Expected behavior
When there are no lists, a warning should be displayed saying the same and a suggestion to display help should be shown.
I would like to work on this issue. Can I send a PR?

@untitaker
Copy link
Member

This makes sense, and yes, PR is welcome!

I think all that is necessary is a check whether the path is empty, right here.

Also a command to show all task lists would probably be useful for debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants