Skip to content

Support changeset add by adding the --msg option to receive external changelog messages #1833

@leochiu-a

Description

@leochiu-a

Requirements & Background

I want to add a --msg command line option to the changeset add command. This would allow users to directly pass auto-generated changelog text (such as text generated by AI tools) into the changeset’s changelog message.

Currently, changeset add requires interactive step-by-step message input. However, when integrating with automated workflows (e.g., AI-written commit messages/changelogs), there is a lack of a method to pipe the message in directly.

Main Requirements

  • Support a --msg or --message flag for changeset add, allowing the change description to be provided as a parameter instead of via interactive input.
  • Example: changeset add --msg "Added a feature to a certain package"
    • If --msg is provided, use that content directly as the changelog message and bypass the interactive mode for that step.

Use Cases

  • When developing automation tools, feed AI-generated changelogs/messages directly into changesets.
  • Improve script pipeline efficiency.

Additional Notes

  • The existing interactive selection for Packages and Major/Minor/Patch levels should remain unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions