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
I want to call git-cliff in my program, so I add the git-cliff crate and call git_cliff::run(), then printed the result to the command line.
Now I want to capture the outputs in my program, like let result: String = git_cliff::run();, but it seems that the crate does not provide such an interface.
I tried using git-cliff-core, but I found that the logic for converting commits into releases is implemented in git-cliff crate and is not export as a public method. Is there any ways to implement it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I want to call
git-cliff
in my program, so I add thegit-cliff
crate and callgit_cliff::run()
, then printed the result to the command line.Now I want to capture the outputs in my program, like
let result: String = git_cliff::run();
, but it seems that the crate does not provide such an interface.I tried using
git-cliff-core
, but I found that the logic for converting commits into releases is implemented ingit-cliff
crate and is not export as a public method. Is there any ways to implement it?Beta Was this translation helpful? Give feedback.
All reactions