Allow initial document minor publishing

Signed-off-by: Cursor Agent <cursoragent@cursor.com>

Co-authored-by: Bryan FRIMIN <bryan@frimin.fr>
This commit is contained in:
Cursor Agent
2026-05-26 02:13:46 +00:00
committed by Bryan Frimin
parent 6dfdd7ca49
commit b721179974
5 changed files with 108 additions and 11 deletions

View File

@@ -70,7 +70,7 @@ func NewCmdPublish(f *cmdutil.Factory) *cobra.Command {
Long: `Publish the latest draft of a document.
By default, the draft is published as a new major version. Pass --minor to
publish as a minor version (the document must already have a major version).
publish as a minor version.
When --approver is set (one or more profile IDs), an approval is requested
instead of publishing immediately. Approvers are ignored with --minor.`,
Args: cobra.ExactArgs(1),