#!/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") gum confirm "commit changes?" && yadm commit -m "$SUMMARY" -m "$DESCRIPTION"