git-cm icon indicating copy to clipboard operation
git-cm copied to clipboard

[Feature Request] Support config through a unified file

Open SanchithHegde opened this issue 5 years ago • 5 comments

As of now, commit types can be specified in Cargo.toml, which works fine for Rust projects. However, this isn't suitable in non-Rust projects.

I'd like to suggest using a unified config file everywhere, say git-cm.toml or (whatever file type is preferable for parsing) for easy use of git-cm regardless of the project.

SanchithHegde avatar Jul 19 '20 20:07 SanchithHegde

I didn't even consider the possibility to use it outside of a Rust context. But yes, this is actually already implemented. I did a complete re-write to implement #12, #7, #3, #19 and #28. It just needs some clean-up that I will do at the start of next week :)

mainrs avatar Jul 20 '20 22:07 mainrs

Great! And thank you!

SanchithHegde avatar Jul 21 '20 04:07 SanchithHegde

Thank you for such a wonderful project. If we can remove the dependency on the Cargo.toml and have this language agnostic, i can advocate this inside my company.

Thanks.

debuggerpk avatar Dec 01 '21 10:12 debuggerpk

I've started work on it already (again). I hope to finish it at the weekend. It took some time since I re-wrote the parser for better error messages as well.

mainrs avatar Dec 01 '21 23:12 mainrs

Just a quick update: currently in my finals. After that I will finish this up! I tempered around with the parser again to get better error messages and lost track of time back in December :)

mainrs avatar Jan 08 '22 14:01 mainrs