Skip to content

Allow --no-output to be used with --bump #304

@mohammadGh

Description

@mohammadGh

Describe the feature

Description

Currently, the CLI supports the --no-output option, which writes the extracted changelog to the console only. However, this option cannot be combined with the --bump flag.

Requested Behavior

Please allow --no-output to be used together with --bump.
When both options are provided, the CLI should:

  • Perform the version bump as usual (based on the changelog).
  • Output the new version (and/or changelog) only to the console, without writing to a file.

Use Case

This feature would be particularly useful for:

  • Integrating the changelog and version bump into CI/CD pipelines.
  • Combining with other shell or CLI tools.
  • Avoiding file writes in temporary or restricted environments.

Example

changelog --bump --no-output

Expected behavior:
Prints the new version (and changelog if applicable) to stdout without generating or modifying any files.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions