feat: Add preview to the commit message format of --init option

This commit is contained in:
tsuyoshiwada 2018-02-19 21:51:52 +09:00
parent aa5cf0913d
commit a7d86469b9

View file

@ -24,9 +24,9 @@ var (
styleNone,
}
fmtTypeScopeSubject = "<type>(<scope>): <subject>"
fmtTypeSubject = "<type>: <subject>"
fmtSubject = "<subject>"
fmtTypeScopeSubject = "<type>(<scope>): <subject> -- feat(core) Add new feature"
fmtTypeSubject = "<type>: <subject> -- feat: Add new feature"
fmtSubject = "<subject> -- Add new feature"
commitMessageFormats = []string{
fmtTypeScopeSubject,
fmtTypeSubject,