HidemaruOwO / pummit

Create good commit message in CLI
MIT License
20 stars 1 forks source link

:1st_place_medal: 対話式でコミット出来るようにする #5

Closed HidemaruOwO closed 1 year ago

HidemaruOwO commented 1 year ago

新機能及び改善など

$ pummit chat

対話型でコミット出来るようにする。

Pull request / Issue 割振番号

No response

詳細

$ pummit chat
🚛 What kind of progress? (Press hjkl or cursor)

✨ New feature : 
🔧 Tooling : <=
🐛 Bug fix :
🐎 Performance : 
👀 Refactoring :
...
📚 Document : 

👻 Other : 
(In this case, please enter your own Emoji alias and prefix)

もしその他を選択した場合

✏ Commit Msg: w モジュールの追加
✅ Thanks for the input !!
Commited to ":wrench: モジュールの追加 (added/file, added/file)"

選択しなかった場合

✏ Commit Msg (Selected Emoji is 🔧) : モジュールの追加
✅ Thanks for the input !!
Commited to ":wrench: モジュールの追加 (added/file, added/file)"
HidemaruOwO commented 1 year ago

そうだ。 config.jsonEmoji Prefix Listを追加しよう 形は以下の通り

{
  ...
  "isSortEmojiPreifxes": true,
  "emojiPrefixes": [
    ["Initial Commit", "🎉"],
    ["Tooling", "🔧"]
  ]
}

isSortEmojiPreifxestrueの場合は emojiPrefixesを取得して一覧を作るときの処理を同期処理にする isSortEmojiPreifxesfalseの場合は emojiPrefixesを取得して一覧を作るときの処理を同期処理にする

HidemaruOwO commented 1 year ago

この機能はv1.2.0でリリースする

HidemaruOwO commented 1 year ago

それ、commitzenで良くない?