Skip to content

Emit list of types in "mix project_info" #69

@andyl

Description

@andyl

On different projects, we configure git_ops with different types.

We perform pre-commit checks and github lint checks with custom bash scripts.

It would be super handy if mix git_ops.project-info would emit a list of valid types.

That way, if the valid types are changed in config.exs, the changes could be automatically picked up by our lint scripts.

$ mix git_ops.project_info 
[app]
name = myapp 
version = 0.2.4
types = "build chore ci docs feat fix important improvement perf refactor style test tidbit"

Is there a way to get a type-list in the current system? Maybe I'm missing something...

If not, I can submit a PR if that would be welcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions