#!/usr/bin/env bash# pick your options # failover if you do not want to install cookiecuttercommands=("echo mkdocs""echo update the port number in the mkdocs and vscode task""mkdocs new .""rm mkdocs.yml""cp ~/template/mkdocs.yml .""> docs/index.md""echo "[TAGS]" >> docs/index.md""mkdir docs/images""mkdir includes""mkdir .vscode""cp ~/template/.vscode/mkdocs.json .vscode/""echo todocli""cp ~/template/docs/todocli.md docs/""cp -R ~/template/todocli/ .""echo click""$HOME/template/deploy.sh""echo update upload.sh")# Iterate over the list of commandsforcommandin"${commands[@]}";do# Prompt the user if they want to run the commandecho"run '$command'? (y/n)"read-r-n1response
# If the user says yes, run the commandif[[$response=="y"]];thenecho"Running '$command'"eval"$command"fidone