Skip to content

Introduce a Validate cli command #840

@thompson-tomo

Description

@thompson-tomo

Is your feature request related to a problem? Please describe.
I want to be able to validate my changelog file as part of ci pipeline.

Describe the solution you'd like
Introduce a new cli command Validate which has the following options:

  -h, --help               help for validate
  -f, --file string        Specify which file we are interested in
  -c, --config string      Specify which config file we are interested in

If validation problems exist an error code should be returned enabling the CI pipeline to be failed.

Describe alternatives you've considered
Using the batch command with dry run but that wouldn't necessarily show all failures and results in unnecessary processing.

Additional context
This validation should be implicitly be run as part of the batch command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions