You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-d, --directory <path> A directory where unpublished changelog entries will be written to / read from as Markdown files. (default: changelogs/unreleased/)
44
44
-e, --editor <editor> A terminal-based text editor executable in your $PATH used to write your changelog entry with more precision than the default bulleted list of changes. (default: vim)
45
45
-h, --help Show help information.
46
46
```
47
47
48
48
### Publish a Release
49
-
```sh
49
+
```
50
50
$ changelog publish 1.0.1
51
51
52
52
## [1.0.1] - 02-26-2021
@@ -59,19 +59,18 @@ Nice! CHANGELOG.md was updated. Congrats on the release! 🥳🍻
59
59
```
60
60
61
61
#### Arguments
62
-
```sh
62
+
```
63
63
<version> The version number associated with the changelog entries to be published.
64
-
<release-date> A string representing the date the version was published. Format MM-dd-YYYY. (default: 02-26-2021)
65
-
64
+
<release-date> A string representing the date the version was published. Format MM-dd-YYYY. (default: <today>)
66
65
```
67
66
68
67
#### Options
69
-
```sh
70
-
-d, --directory <path> A directory where unpublished changelog entries will be written to / read from as Markdown files. (default: changelogs/unreleased/ -- file:///Users/patrickgatewood/Documents/changelog-generator/)
68
+
```
69
+
-d, --directory <path> A directory where unpublished changelog entries will be written to / read from as Markdown files. (default: changelogs/unreleased/)
71
70
--dry-run Prints the changelog entries that would have been appended to the CHANGELOG and doesn't delete any files in changelogs/unreleased.
72
71
--changelog-filename <changelog-filename>
73
72
The CHANGELOG file to which the unreleased changelog entries will be prepended. (default: CHANGELOG.md)
74
-
-h, --header <path> A Markdown file containing optional header text that will be prepended to your changelog. (default: changelogs/header.md -- file:///Users/patrickgatewood/Documents/changelog-generator/)
73
+
-h, --header <path> A Markdown file containing optional header text that will be prepended to your changelog. (default: changelogs/header.md)
75
74
If the supplied file does not exist or is not readable, no text will be prepended to the changelog.
0 commit comments