Add a template to the README if it does not already have data.

This commit is contained in:
2026-05-05 10:29:16 -07:00
parent 16aa8b17cd
commit 4b0f0cbbcd

View File

@@ -258,9 +258,23 @@ function init-video-contents {
cd "$1" cd "$1"
fi fi
touch README.md touch README.md
#touch title.md if [[ ! -s README.md ]]; then
#touch desc.md cat >> README.md <<- EOF
#touch tags.md # title
# desc
# tags
EOF
fi
mkdir -pv raw mkdir -pv raw
} }
alias init-video="init-video-contents" alias init-video="init-video-contents"