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

Feature request: Print habit log for one habit only but with dates #16

Open
2001db8 opened this issue Jun 22, 2019 · 2 comments
Open

Feature request: Print habit log for one habit only but with dates #16

2001db8 opened this issue Jun 22, 2019 · 2 comments

Comments

@2001db8
Copy link

2001db8 commented Jun 22, 2019

Hi,

I'd love to have the option to just view the log for one particular habit so it's easier to track something or even spot a pattern. E.g. something like

# habitctl log -y "Had a headache"
2019-04-14
2019-04-29
2019-05-12

Where -y would print dates where the habit was logged as "yes" and -n for days with "no". Essentially this can also be done with something like awk '/headache\sn/ {print $1}' ~/.habitctl/log but I think a feature like this might be neat.

Regards

Jens

@blinry
Copy link
Owner

blinry commented Jul 15, 2019

I'd really like this feature, as well! Thanks for suggesting it!

@wakatara
Copy link
Contributor

👍

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

3 participants