Closed hemanth closed 8 years ago
Just do bash loop?
Well, echo passy sindresorhus | xargs -n1 dev-time
vs dev-time --user=passy,sindersorhus
and we could also have the output in the form of <user>:<time>
maybe?
I guess it could be useful if you want to have a meeting or something and want to see people's time.
dev-time --user=passy,sindersorhus and we could also have the output in the form of
:
:+1:
Which one do you prefer?
$ dev-time sindresorhus
12:37 - 10 Dec. 2015
$ dev-time sindresorhus hemanth
sindresorhus
12:37 - 10 Dec. 2015
hemanth
17:07 - 10 Dec. 2015
Or for multiple users with a flag (--users,-u
)?
$ dev-time -u=sindresorhus,hemanth
sindresorhus
12:37 - 10 Dec. 2015
hemanth
17:07 - 10 Dec. 2015
$dev-time sindresorhus hemanth
is more intuitive for me.
Output could be like:
sindresorhus: 12:37 - 10 Dec. 2015
hemanth: 17:07 - 10 Dec. 2015
Don't like the output that much. Very unreadable when having a lot of names with different length.
Agree, I was thinking in terms of parseable format.
If someone comes up with a use case to have it parseable, we might think about a --json
flag.
Ok usecase: Lets say we have a webpage that lists all the members of an github org, will their current time ;) [Wired usecase, this is the first thing that came to my mind]
@hemanth create a new issue for that one ;).
Done #7 ;)
What do you think?
Sweet! :+1:
@SamVerschueren Are you bumping the version now?
Fixing the tests first :).
Cool, just noticed.
Released
$ dev-time --version
1.2.0
Isn't notifying me to update to the latest version, you were using update-notifier
right?
Yes I'm using it here cli.js#L47. Not sure why it isn't notifying. Probably it is checking it only once a day (the first time it is used) as it uses configstore
to store the last checked time.
https://github.com/yeoman/update-notifier#updatecheckinterval
It will be useful if this util takes a list of devs.