clog-tool / clog-cli

Generate beautiful changelogs from your Git commit history
MIT License
858 stars 43 forks source link

ui/ux(cli): create and update message #55

Closed 0x-r4bbit closed 9 years ago

0x-r4bbit commented 9 years ago

This is really just for better UX:

Whenever I create or update a changelog with clog the output I get is always:

$ changelog updated (took xx ms)

I think it'd be nicer if the tools states that it created a changelog, if that's the case and only updates if that's the case.

kbknapp commented 9 years ago

This is an easy fix, but with #58 I don't know if they're compatible. For example, if I do

$ clog > some_file.md

I may not want that file to contain "Updated/Created 15ms" ( now if we don't implement #58 this is a moot point and very simple to fix :P )

0x-r4bbit commented 9 years ago

@kbknapp you're totally right. Does it make sense to generate that output only if a writer is applied? Not sure what's the standard way in UNIX commands to handle this..

kbknapp commented 9 years ago

@PascalPrecht Yes, that's good idea, only write this message when not writing to stdout.

0x-r4bbit commented 9 years ago

@kbknapp I'd like to keep as UNIX-y as possible. If that's how all UNIX commands handle these cases, I'm voting for that.