git_ops icon indicating copy to clipboard operation
git_ops copied to clipboard

Emit list of types in "mix project_info"

Open andyl opened this issue 1 year ago • 1 comments

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.

andyl avatar Oct 27 '24 01:10 andyl

There is no way that I know of to do so easily, open to a task for it :)

zachdaniel avatar Oct 27 '24 01:10 zachdaniel