blob: 3acfbcb9b6a1db75325076d68c7944849e6b7fbe (
plain)
1
2
3
4
5
6
7
8
|
#!/usr/bin/env bash
SCOPE=$(gum input --placeholder "scope")
SUMMARY=$(gum input --value "$SCOPE: " --placeholder "summary of this change")
DESCRIPTION=$(gum write --placeholder "details of this change (<C-d> to finish)")
gum confirm "commit changes?" && yadm commit -m "$SUMMARY" -m "$DESCRIPTION"
|