blob: 16c2e9b1126a5b42f87162ec4e162859d5fe686e (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env bash
SCOPE=$(gum input --placeholder "scope")
test -n "$SCOPE" && SCOPE="($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"
|