-
-
Notifications
You must be signed in to change notification settings - Fork 199
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
feat(output): support using stdout via dash (-o -
)
#644
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #644 +/- ##
==========================================
+ Coverage 41.88% 41.90% +0.02%
==========================================
Files 15 15
Lines 1077 1079 +2
==========================================
+ Hits 451 452 +1
- Misses 626 627 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This very nearly works perfectly. The current command I run through F:\favware\git-cliff\target\x86_64-pc-windows-msvc\release\git-cliff.exe --tag @favware/cliff-jumper@3.0.3 --prepend ./CHANGELOG.md --unreleased --config ./cliff.toml --output - --github-repo favware/cliff-jumper --github-token "ghp_NOPE" And when I set execa
This includes the header configured in
(sidenote, ignore that there are breaking changes in a supposedly patch, that's just because I'm debugging and I do have actual breaking changes pending release) |
I'm guessing if using the
I thought of doing the same but I'm not sure. I'm not sure how people are using prepend and it might have some side effects. Can you simply fetch it from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I should be able to do that. I'll work that in then in the coming days. Putting an approval here because as far as git-cliff changes go this LGTM then.
Sounds perfect. Just LMK then! |
Parsing TOML on my side is working perfectly (using |
Description
Using
-
forstdout
is a common convention between CLI tools and this PR simply adds this support togit-cliff
.Motivation and Context
This makes it possible to use
git-cliff
as follows:(instead of
git-cliff -o /dev/stdout
orgit-cliff -o
)Also you can combine it with
-p
as mentioned in #643How Has This Been Tested?
Locally
Types of Changes
Checklist: