clog-tool / clog-cli

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

Add ability to specify changlog file name #34

Closed orclev closed 9 years ago

orclev commented 9 years ago

It would be nice if there was both a command line option, and a config file parameter to specify the name of the changelog file. In particular it seems it's very common to call the file "CHANGELOG.md", where as the filename in clog is hard coded currently to "changelog.md".

kbknapp commented 9 years ago

This should be an easy addition. I'll wait for @cburgdorf to give some guidance on how he'd like this implemented. I see these options as possibilities:

Option 1

Option 2

Option 3

I'd lean towards Option 1.

cburgdorf commented 9 years ago

Yep, I'm also in favor of the first option. Am 04.05.2015 23:31 schrieb "Kevin K." notifications@github.com:

This should be an easy addition. I'll wait for @cburgdorf https://github.com/cburgdorf to give some guidance on how he'd like this implemented. I see these options as possibilities:

Option 1

  • Use changelog.md in the absence of any command line options or .clog.toml field
  • Use a command line option or .clog.toml field to specify a new file

Option 2

  • Use changelog.md in the absence of any command line options or .clog.toml field
  • Use a command line option to specify stdout as the output (which would allos clog > CHANGELOG.md

Option 2

  • Use stdout as the default for no .clog.toml field
  • Use a .clog.toml field to specify a default name

I'd lean towards Option 1.

— Reply to this email directly or view it on GitHub https://github.com/thoughtram/clog/issues/34#issuecomment-98854452.

kbknapp commented 9 years ago

35 adds this

orclev commented 9 years ago

Awesome, great turn around, thanks.