replicated icon indicating copy to clipboard operation
replicated copied to clipboard

There should be an easy way to pass multiline markdown notes on command line

Open divolgin opened this issue 4 years ago • 1 comments

replicated release create and promote commands take a --release-notes argument:

--release-notes string   When used with --promote <channel>, sets the **markdown** release notes

However this string must be escaped properly in order to work in bash. There has to be an easier way, for example loading release notes from a file. --release-notes-file parameter could be added.

divolgin avatar Jun 10 '20 22:06 divolgin

It's not optimal but I have been getting away with

  replicated  release create ... --release-notes "$(cat mynotes.md)"

This will fail when the notes get too long. +1 for a --release-notes-file arg.

mnp avatar Dec 09 '21 17:12 mnp