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

Add "tick" option to provide continuous output #29

Closed
rikkertkoppes opened this issue Apr 29, 2015 · 2 comments
Closed

Add "tick" option to provide continuous output #29

rikkertkoppes opened this issue Apr 29, 2015 · 2 comments

Comments

@rikkertkoppes
Copy link

I am interested in having a ticking clock command line utility, to be able to pipe it into other things.

Would you be interested in having it added to node-dateformat? If so, I am willing to contribute a pull request. Otherwise, I'll probably create a new package based on node-dateformat.

I was thinking along the lines of

dateformat "HH:MM:ss" -t 
dateformat "HH:MM:ss" -t 5s
dateformat "HH:MM:ss" -t 1m

to tick every second, 5 seconds and minute.

@ctavan
Copy link
Collaborator

ctavan commented Apr 29, 2015

Hi @rikkertkoppes . I think this is out of scope for node-dateformat and should be supplied as a stand-alone module. However of course feel free to use node-dateformat internally!

@ctavan ctavan closed this as completed Apr 29, 2015
@rikkertkoppes
Copy link
Author

For reference: https://github.com/FirstLegoLeague/cli-time

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