-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a flag that allows for compact output #7
Comments
This could be taken further by introducing some kind of template where a user can define their own template and formatting (commits.template):
Just an idea :) |
Are you alright with adding structopt for command-line arguments parsing? |
I've worked with both |
I am working on #12, so this could be solved with it. Not sure if I want to add a flag for it or just provide an alternative template inside the repo that people can use, as my main goal is to follow the conventional commits specification. |
While it makes sense for the spec to separate the title, body, and footer, on shorter commit messages it's a pity to have 2 newlines for 3 lines of content. I agree that it's important to follow a specification for the commits, but if only the commits were pretty to look at as well! |
So I have thinking about this for a while and I will probably include a compact version of the current template without the new lines. However, the help screen will have a note that it is not compliant with the specification. |
That sounds great! |
As of now, all commit messages seem to be spaced out:
Allowing the user to generate a more compact message with
-c
/--compact
would be neat:The text was updated successfully, but these errors were encountered: