Skip to content

Allow passing document and release-notes flags#95

Merged
RomainCscn merged 1 commit into
mainfrom
romain/lin-71393-allow-specifying-document-and-release-notes-from-cli
May 22, 2026
Merged

Allow passing document and release-notes flags#95
RomainCscn merged 1 commit into
mainfrom
romain/lin-71393-allow-specifying-document-and-release-notes-from-cli

Conversation

@RomainCscn
Copy link
Copy Markdown
Collaborator

@RomainCscn RomainCscn commented May 21, 2026

Similar to #92, this time both for documents and release notes.

  • documents can be chained, same as links, either via an inline flag --document or --document-file
  • release notes can only be passed once (passing multiple times will just be last-one-win), and can also be set as --release-notes or release-notes-file

Follows convention that can be find used in gh, kubectl or terraform.


⚠️ Should only be merged after the API PR: https://github.com/linear/linear-app/pull/75514

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 21, 2026

LIN-71393

@RomainCscn RomainCscn force-pushed the romain/lin-71393-allow-specifying-document-and-release-notes-from-cli branch 2 times, most recently from cbc5a40 to 3391a34 Compare May 21, 2026 16:04
@RomainCscn RomainCscn force-pushed the romain/lin-71393-allow-specifying-document-and-release-notes-from-cli branch from 3391a34 to cdf76c2 Compare May 22, 2026 07:45
@RomainCscn RomainCscn marked this pull request as ready for review May 22, 2026 07:45
@RomainCscn RomainCscn requested a review from axelniklasson May 22, 2026 08:04
Copy link
Copy Markdown
Collaborator

@axelniklasson axelniklasson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need two flags per entity type? Seems like we could infer whether we point it towards a file or pass in raw content. Not a big deal but feels a little noisy to have all these arguments we can pass in.

Copy link
Copy Markdown
Collaborator Author

I preferred to align with how the most major CLI do it.

--notes <string>
    Release notes
--notes-file <file>
    Read release notes from file (use "-" to read from standard input)

for example for gh

(preferred to keep the full name release-notes)

@RomainCscn RomainCscn merged commit 45bde8c into main May 22, 2026
10 checks passed
@RomainCscn RomainCscn deleted the romain/lin-71393-allow-specifying-document-and-release-notes-from-cli branch May 22, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants